mcp-weather-server
Verified Safeby pivotal-ben-chacko
Overview
Provides weather forecast and alert tools via the Model Context Protocol (MCP) for AI clients like Claude Desktop and Claude Code CLI.
Installation
java -jar target/mcp-0.0.1-SNAPSHOT.jarSecurity Notes
The server interacts with the public `api.weather.gov` using `RestClient`. No 'eval' or similar dangerous functions are used. URL construction for the 'getAlerts' tool uses direct string concatenation for the 'state' parameter; while 'state' is expected to be a two-letter code, this pattern could introduce minor URL injection risks if input validation were less strict or if special characters were allowed by the MCP client. No hardcoded sensitive secrets or API keys are present in the provided source.
Similar Servers
Weather_MCP_Server
Provides current weather, forecast, and severe weather alerts for supported cities to Claude Desktop via the Model Context Protocol (MCP).
hello-mcp-server-kotlin
This server exposes a simple weather tool for consumption by an Artificial Intelligence model using the Spring AI Multimodal Conversation Protocol (MCP).
openweather-mcp-server
Provides current weather data via an SSE endpoint for MCP clients and acts as an AI tool for fetching weather information.
weather
This server provides weather information by integrating with an external LLM (like Claude) as a tool within the Model Context Protocol (MCP).