Back to Home
Mircheaaa icon

spring-ai-weather-tool

Verified Safe

by Mircheaaa

Overview

An AI-powered Korean travel guide providing weather forecasts using Spring AI and Groq.

Installation

Run Command
./gradlew bootRun

Environment Variables

  • OPENROUTER_API_KEY
  • OPENROUTER_MODEL
  • WEATHER_API_KEY
  • REDIS_HOST
  • REDIS_PORT
  • REDIS_PASSWORD

Security Notes

The `SecurityConfig` explicitly disables CSRF protection and allows all requests (`permitAll()`), stating it's for development. This is a critical vulnerability if deployed to production without proper security hardening. Error responses in development (`application.yml` with `include-stacktrace: always`) also include stack traces and detailed request information, which should be disabled in production to prevent information leakage. All API keys are loaded from environment variables, which is good practice.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens350
Stars0
Forks0
Last Update2025-12-11

Tags

Spring AIKotlinWeather APIChatbotKorean TravelGroq APIReactive Programming