Overview
What is MCP Weather Server?
MCP Weather Server is a weather information tool that provides forecasts, alerts, and observations using the National Weather Service (NWS) API. Built with FastMCP, it is designed for developers who need programmatic access to US weather data.
How to use MCP Weather Server?
Install dependencies with pip install httpx mcp-server, then invoke the server via a FastMCP-compatible host. The server exposes seven tools (e.g., Get Weather Alerts, Get Forecast) that accept location parameters such as US state codes or latitude/longitude coordinates.
Key features of MCP Weather Server
- Fetches active weather alerts for any US state
- Retrieves daily and hourly weather forecasts
- Locates observation stations near a given location
- Provides current observations from specific stations
- Returns detailed point metadata for locations
- Offers specialized fire weather forecasts
- No API key required for the NWS API
Use cases of MCP Weather Server
- Embedding real-time US weather alerts in a dashboard
- Fetching daily or hourly forecasts for location‑based apps
- Collecting current conditions from nearby observation stations
- Serving fire weather data to emergency‑management tools
FAQ from MCP Weather Server
Does this server require an API key?
No. The National Weather Service API used by this server does not require an API key, though proper request attribution via a User‑Agent header is expected.
What geographic area does the server cover?
The server uses the National Weather Service API, which covers the United States and its territories. Tools accept US state codes for alerts and latitude/longitude for forecasts and observations.
What are the runtime dependencies?
The server requires Python with the httpx and mcp-server packages installed. It is built on the FastMCP framework.