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 get the forecast for San Francisco"
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
A Model Context Protocol (MCP) server that provides weather forecast and alert information for US locations. Referenced these docs.
Features
Weather Forecasts: Get detailed weather forecasts for any location using latitude/longitude coordinates
Weather Alerts: Retrieve active weather alerts for US states
Real-time data from the National Weather Service
Related MCP server: Weather MCP Server
Installation
Prerequisites
Python 3.10 or higher
Setup
Clone this repository:
git clone https://github.com/penguyen72/python-mcp
cd python-mcpUsage
Configuration
Add the server to your MCP client configuration. For Claude Desktop, add this to your config file:
MacOS:
code ~/Library/Application\ Support/Claude/claude_desktop_config.jsonWindows:
code $env:AppData\Claude\claude_desktop_config.jsonConfig:
{
"mcpServers": {
"weather": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather",
"run",
"weather.py"
]
}
}
}Available Tools
weather:get_forecast
Get weather forecast for a specific location.
Parameters:
latitude(number, required): Latitude of the locationlongitude(number, required): Longitude of the location
Example:
{
"latitude": 38.5816,
"longitude": -121.4944
}weather:get_alerts
Get active weather alerts for a US state.
Parameters:
state(string, required): Two-letter US state code (e.g., "CA", "NY", "TX")
Example:
{
"state": "CA"
}API Data Source
This server uses the National Weather Service API to retrieve weather data for US locations.
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: get_alerts retrieves weather alerts for US states, while get_forecast provides forecasts for geographic coordinates. There is no overlap in functionality or ambiguity about which tool to use for each task.
Both tools follow a consistent verb_noun pattern with 'get_' prefix and descriptive nouns (alerts, forecast). The naming is perfectly uniform and predictable across the tool set.
With only 2 tools, the server feels underpowered for a weather domain. While alerts and forecasts are core functions, there are obvious gaps like current conditions, historical data, or radar imagery that would be expected in a weather API. The minimal tool count limits the server's usefulness.
The tool surface is severely incomplete for a weather server. It lacks current conditions, historical weather data, radar/satellite imagery, air quality information, and marine forecasts. The two provided tools cover only narrow aspects of weather data, leaving significant gaps that will hinder agent workflows.
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.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides weather forecast and alert data for US locations through the National Weather Service API, enabling access to real-time weather alerts by state and detailed forecasts by coordinates.ISC
- AlicenseNot gradedqualityDmaintenanceProvides weather forecasts and alerts for US locations using the National Weather Service API. Supports getting detailed forecasts by coordinates and active weather alerts by state code.ISC
- FlicenseBqualityCmaintenanceProvides weather forecast and alert information from the National Weather Service API, allowing users to query weather forecasts by coordinates and check weather alerts by state.2-
- 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-