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 simple application to fetch weather alerts and forecasts from the National Weather Service API using Model Context Protocol (MCP).
The Weather CLI App is designed to provide users with real-time weather alerts and forecasts by leveraging the National Weather Service API. It utilizes the Model Context Protocol (MCP) to facilitate seamless integration with AI assistants, allowing for efficient data retrieval and processing. The application is built with Python and requires version 3.11 or higher. It offers a straightforward installation process and provides two primary functionalities: fetching active weather alerts for any US state and obtaining weather forecasts for specific geographic coordinates. The app is designed to be lightweight and efficient, making use of asynchronous HTTP requests through the httpx library. It is important to note that while the MCP framework is employed, the 'uv' tool is not required, despite any indications in the lock file. Users are encouraged to respect the rate limits of the NWS API, as no API key is necessary for access.
Features
- Fetch active weather alerts for any US state using two-letter state codes.
- Retrieve weather forecasts for specific locations using latitude and longitude coordinates.
- Integrate with AI assistants through MCP server implementation.
- Utilize asynchronous HTTP requests for efficient data handling.
- Structured data management using MCP server tools.