Back to Home
Mircheaaa icon

spring-ai-weather-tool

Verified Safe

by Mircheaaa

Overview

Provides AI-assisted weather forecasts for Korea using Spring AI and the Groq API, serving as a backend for a Korea Travel Guide service.

Installation

Run Command
./gradlew bootRun

Environment Variables

  • OPENROUTER_API_KEY
  • OPENROUTER_MODEL
  • WEATHER_API_KEY
  • REDIS_HOST
  • REDIS_PORT
  • REDIS_PASSWORD
  • SPRING_DATASOURCE_URL
  • SPRING_DATASOURCE_USERNAME
  • SPRING_DATASOURCE_PASSWORD

Security Notes

The application's `SecurityConfig.kt` explicitly permits all HTTP requests (`anyRequest().permitAll()`) and disables CSRF protection (`csrf().disable()`). While noted as 'development-only' settings in comments, this makes the default configuration highly insecure for production environments. The H2 database console is also enabled (`h2-console`) and accessible to others (`web-allow-others: true`), which is a significant risk if exposed publicly. Hardcoded secrets are avoided by using environment variables.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2026-01-19

Tags

Spring AIWeather ForecastKotlinGroq APIChatbotKorea Travel