MCP Weather Server
by Samarth2001
A weather information tool that provides weather forecasts, alerts, and observations using the National Weather Service (NWS) API. It's built with FastMCP.
View on GitHub
Last updated: N/A
MCP Weather Server
A weather information tool that provides weather forecasts, alerts, and observations using the National Weather Service (NWS) API. Built with FastMCP.
Installation
# Install dependencies
pip install httpx mcp-server
Features
This weather module provides the following tools:
- Get Weather Alerts: Fetch active weather alerts for any US state
- Get Forecast: Retrieve daily weather forecasts for any location
- Get Hourly Forecast: Get hour-by-hour forecast data
- Find Weather Stations: Locate observation stations near a specified location
- Get Observations: Fetch current weather conditions from specific stations
- Get Point Metadata: Retrieve detailed location information
- Get Fire Weather: Access specialized fire weather forecasts
API Reference
This module uses the National Weather Service (NWS) API. No API key is required, but proper request attribution via User-Agent is implemented.