weather-mcp-server
If you are the rightful owner of weather-mcp-server 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.
A Model Context Protocol (MCP) server that provides weather information and alerts using the National Weather Service (NWS) API.
The Weather MCP Server is designed to deliver real-time weather information and alerts by interfacing with the National Weather Service (NWS) API. It offers a user-friendly MCP interface that allows users to obtain weather alerts for any US state and detailed forecasts for specific locations using latitude and longitude. The server is built using Python's MCP framework and supports asynchronous HTTP requests through the httpx library. It is containerized with Docker, making it easy to deploy and manage. The server is designed with robust error handling and request timeouts to ensure reliability. Additionally, it supports Docker volumes for development, allowing code changes to be reflected without the need to rebuild the container.
Features
- Get weather alerts for any US state
- Get detailed weather forecasts for any location using latitude and longitude
- Easy-to-use MCP interface
- Docker support for easy deployment
Tools
get_alerts
Get active weather alerts for a US state. Parameters: state - Two-letter US state code (e.g., 'CA' for California, 'NY' for New York)
get_forecast
Get detailed weather forecast for a specific location. Parameters: latitude - Latitude of the location, longitude - Longitude of the location