Back to Home
pivotal-ben-chacko icon

mcp-weather-server

Verified Safe

by 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

Run Command
java -jar target/mcp-0.0.1-SNAPSHOT.jar

Security 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

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens150
Stars0
Forks0
Last Update2025-12-15

Tags

Spring BootSpring AIMCPWeatherJava