Back to Home
zademy icon

weather-mcp-server

Verified Safe

by zademy

Overview

Provides current and daily weather forecasts for specified locations or geographic coordinates using the Open-Meteo API.

Installation

Run Command
java -Dspring.ai.mcp.server.stdio=true -jar target/weather-0.0.1-SNAPSHOT.jar

Security Notes

The server uses standard Spring Boot and RestClient for external API calls to a public, free weather API (Open-Meteo). No hardcoded secrets, 'eval' functions, obfuscation, or obvious malicious patterns were found in the provided source code. URL construction for API calls appears robust for its purpose. The manual JSON string construction in `formatWeatherResponse` and custom `escapeJson` method are functional for the current data but generally less robust than using an `ObjectMapper` for full object serialization, though this isn't a direct security vulnerability in this context.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens200
Stars0
Forks0
Last Update2026-01-19

Tags

WeatherForecastAPI IntegrationSpring AILocation