aigent-mcp-server
Verified Safeby iZhenius
Overview
Provides weather forecast and alert tools via a Model Context Protocol (MCP) server, integrating with the National Weather Service API.
Installation
java -cp build/libs/weather-stdio-server-0.1.0-all.jar io.modelcontextprotocol.sample.server.HttpMainKt --port 8080Security Notes
The server's HTTP endpoint enables CORS for 'anyHost()', which is common for public APIs but should be noted. User-provided `latitude`, `longitude`, and `state` parameters are directly interpolated into API URLs; however, the Ktor HTTP client is expected to handle URL encoding for path segments, and input parsing (`doubleOrNull`, `jsonPrimitive?.content`) helps mitigate simple injection risks. No hardcoded secrets or 'eval' statements were found.
Similar Servers
Weather-MCP-Server
Provides comprehensive weather information and tools via a Model Context Protocol (MCP) server using FastMCP and WeatherAPI.com.
WeatherMCP
A simple Model Context Protocol (MCP) server for fetching live weather alerts and forecasts from the U.S. National Weather Service (NWS) API.
weather-mcp-server
Provides weather forecast and alert information by integrating with the National Weather Service (NWS) API, enabling external agents to query weather data for specific locations or states.
mcp-sample-server
Provides current weather alerts and detailed forecasts by leveraging the National Weather Service (NWS) API.