MCP-Server---Weather
If you are the rightful owner of MCP-Server---Weather and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP Weather Server for Claude is a fastmcp-based server that connects to the U.S. National Weather Service API to provide real-time weather alerts and forecasts.
The MCP Weather Server for Claude is designed to function as a Claude-compatible external tool using the Model Context Protocol (MCP). It leverages the fastmcp interface to connect with the U.S. National Weather Service (NWS) API, providing users with real-time weather alerts and detailed forecasts. The server is built for high performance, utilizing asynchronous operations through httpx and fastmcp. It is specifically tailored to serve as a tool for Claude, a language model, by using stdio transport for communication. The server's main components include the FastMCP initializer, a helper function for making API requests to the NWS, and two primary functions that allow users to retrieve weather alerts and forecasts based on geographic parameters.
Features
- Get Active Alerts: Retrieve current weather alerts by U.S. state.
- Get Forecast: Fetch detailed forecasts by latitude and longitude.
- Asynchronous & Fast: Built with httpx and fastmcp for high-performance async operations.