What is MCP Weather: Hyperlocal Real-Time Forecasts & Seamless AI Integration?
MCP Weather is a Python-based tool built using the Model Control Protocol (MCP) framework, designed to deliver hyperlocal weather data directly from the National Weather Service (NWS) API. It acts as a bridge between AI assistants and real-time weather information, offering two core capabilities: retrieving active weather alerts by state and providing detailed forecasts based on precise coordinates.
How to Use MCP Weather: Hyperlocal Real-Time Forecasts & Seamless AI Integration?
To get started:
- Clone the repository and install dependencies using
uv
: - Run the service with:
- Access tools via MCP commands. For example, to get California’s alerts:
mcp call mcp-weather.get_weather_alerts --params '{"state": "CA"}'
git clone https://github.com/jpan8866/mcp-weather.git cd mcp-weather
uv run weather.py