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.
The Weather MCP Server provides weather information using the National Weather Service (NWS) API.
The Weather MCP Server is a Model Context Protocol (MCP) server designed to deliver weather information by interfacing with the National Weather Service (NWS) API. It allows users to obtain weather alerts for any US state and weather forecasts for specific locations using latitude and longitude coordinates. The server is built using Python and requires FastMCP and httpx for operation. It is configured through a `config.py` file, which allows customization of API base URL, user agent, logging level, and request timeout settings. The server can be run standalone or integrated with Cline, a command-line interface for MCP tools, to provide weather data as a tool named 'weather'.
Features
- Get weather alerts for a US state
- Get weather forecast for a specific location using latitude and longitude
- Configurable settings for API base URL, user agent, logging, and request timeout
- Standalone server operation or integration with Cline
- Improved error handling and logging
Tools
get_alerts
Get weather alerts for designated U.S. states (using a two-letter state code such as "CA" for California)
get_forecast
Get weather forecasts for designated locations