weather-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@weather-mcp-server are there any weather alerts in Florida?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Weather MCP Server
An MCP (Model Context Protocol) server that gives Claude real-time weather data from the US National Weather Service API — no API key needed.
What it does
get_alerts— fetches active weather alerts for any US stateget_forecast— fetches a 5-period forecast for any lat/long location
Related MCP server: Weather MCP Server
Requirements
Python 3.12+
uv
Setup
Clone the repo and install dependencies:
git clone https://github.com/YOUR_USERNAME/weather-mcp-server
cd weather-mcp-server
uv venv --python 3.12
source .venv/bin/activate
uv add "mcp[cli]" httpxConnect to Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"weather": {
"command": "uv",
"args": ["--directory", "/path/to/weather-mcp-server", "run", "weather.py"]
}
}
}Restart Claude Desktop. Look for the hammer icon in the chat input.
Built with
MCP Python SDK (https://github.com/modelcontextprotocol/python-sdk)
National Weather Service API (https://api.weather.gov)
Available Tools
2 toolsget_alertsB
Get weather alerts for a US state.
Args:
state: Two-letter US state code (e.g. CA, NY)
Inputs: state (required). Returns: result
get_forecastC
Get weather forecast for a location.
Args:
latitude: Latitude of the location
longitude: Longitude of the location
Inputs: latitude (required), longitude (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one for weather alerts by state, another for forecast by coordinates. No overlap in functionality.
Both tools follow a consistent verb_noun pattern (get_alerts, get_forecast), making the naming predictable and easy to understand.
With only two tools, the server feels minimal for a weather domain. While it covers two core functions, 2 tools is on the lower end of reasonable scope.
The server provides alerts and forecast but lacks current conditions, radar, or marine data, leaving notable gaps for a typical weather information service.
Maintenance
Related MCP Connectors
US NWS weather alerts and 5-day forecasts for AI agents. $0.01 per call.
Get US weather forecasts, active and recent alerts, and current observations.
Provide real-time and forecast weather information for locations in the United States using natura…
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Related MCP Servers
- FlicenseBqualityDmaintenanceProvides weather forecast and alert information for US locations using the National Weather Service API. Enables users to get detailed weather forecasts by coordinates and retrieve active weather alerts by state.2-
- AlicenseBqualityDmaintenanceProvides weather information and alerts from the National Weather Service, including active weather alerts for US states and location-based forecasts using latitude/longitude coordinates.2MIT
- FlicenseBqualityDmaintenanceProvides real-time weather forecasts and alerts for US locations using the National Weather Service API. Supports querying forecasts by coordinates and retrieving active weather alerts by state.2-
- AlicenseNot gradedqualityDmaintenanceProvides weather information using the US National Weather Service API, including active weather alerts for US states and location-specific forecasts based on latitude and longitude coordinates.90 npmMIT