# Weather MCP Server An MCP (Model Context Protocol) server that provides weather information through a connection to the National Weather Service API. ## Features - Get active weather alerts for any US state - Get detailed weather forecasts for specific geographic coordinates ## Setup 1. Clone this repository 2. Install dependencies: ``` pip install mcp httpx ``` or with uv: ``` uv pip install mcp httpx ``` ## Usage ### Running the server directly ``` python weather_server.py ``` ### Using with Claude for Desktop Add this to your Claude for Desktop configuration at `~/Library/Application Support/Claude/claude_desktop_config.json`: ```json { "mcpServers": { "weather_mcp_server": { "command": "/path/to/uv", "args": [ "--directory", "/absolute/path/to/weather_mcp_server", "run", "weather_server.py" ] } } } ``` Replace `/path/to/uv` with the actual path to your uv executable (find it with `which uv`). Replace `/absolute/path/to/weather_mcp_server` with the absolute path to this directory.