mcp-ai-weather-server
Verified Safeby ravi-edutech
Overview
Provides current weather alerts and detailed forecasts by integrating with the National Weather Service (NWS) API, designed to extend the capabilities of an AI agent through the Model Context Protocol (MCP).
Installation
node ./build/index.jsSecurity Notes
The server securely interfaces with the official National Weather Service (NWS) API using standard HTTP requests and a specific User-Agent. Input parameters for tools (state, latitude, longitude) are strictly validated using Zod, effectively preventing common injection attacks and ensuring data integrity. There are no hardcoded secrets, 'eval' statements, or other obvious malicious patterns found in the source code. Error handling for NWS API requests is implemented with try-catch blocks, and informative messages are returned on failure. The scope is limited to a well-known public API, reducing the external attack surface.
Similar Servers
Lab-7-Weather-MCP-Server
Provides real-time weather forecasts and alerts by integrating with the National Weather Service (NWS) API, primarily intended as a tool for an LLM.
Weather_MCP_Server
Provides real-time weather data, forecasts, and weather comparison between cities to AI assistants via an MCP server.
weather-mcp
Provides real-time and historical US weather data, forecasts, and generates weather reports using MCP (Model Context Protocol) for consumption by AI/LLMs.
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.