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 what's the forecast for 37.7749, -122.4194?"
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 server that exposes US weather data from the National Weather Service as tools for Cursor (or any MCP client).
Tools
Tool | Arguments | Description |
|
| Active weather alerts for a US state |
|
| Next five forecast periods for a US location |
NWS coverage is US-only. Use a two-letter state code for alerts and US coordinates for forecasts.
Related MCP server: Weather MCP Server
Requirements
Python 3.14+ (this project pins
>=3.14)
Setup
git clone <your-repo-url>
cd weather
uv syncRun
The server speaks MCP over stdio:
uv run weather.pyUse with Cursor
Copy
.cursor/mcp.json.exampleto.cursor/mcp.json.Replace the
uvpath and--directorypath with absolute paths on your machine.Open Cursor Settings → MCP, enable the
weatherserver, and reload the window if it does not connect.
Example prompts after it is connected:
Get weather alerts for CA
What’s the forecast for 37.7749, -122.4194?
On Windows, uv is often not on Cursor’s PATH, so use the full path from where.exe uv. Keep --directory as an absolute project path.
Project layout
weather.py # MCP server (tools + NWS client)
src/weather/ # Package entrypoint used by `uv run weather`
pyproject.toml # Dependencies (`mcp[cli]`)
.cursor/ # Cursor MCP config (local `mcp.json` is gitignored)Available Tools
2 toolsget_alertsA
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
get_alerts and get_forecast have clearly distinct purposes: one returns alerts for a US state, the other returns a forecast for coordinates. There is no ambiguity between the two.
Both tools follow the same get_ noun pattern, making the naming predictable and consistent. The singular/plural difference (forecast vs. alerts) is semantically appropriate.
With only two tools, the server feels thin for a weather domain, but it is still within a borderline range. Each tool provides a distinct core weather function, so the count is not unreasonable.
The weather domain typically includes current conditions, forecasts, and alerts. This server lacks current weather data and only handles forecasts and alerts, which is a significant gap for general weather use.
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
NOAA and ECMWF weather forecast MCP for discovery, validation, and GribStream OAuth queries.
Get US weather forecasts, active and recent alerts, and current observations.
Smarter Weather MCP: forecasts, alerts, outlooks, observations, AQI, grids, and map imagery.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides weather forecasts and alerts for US locations using the National Weather Service API. Enables users to retrieve active alerts by state and detailed forecasts by coordinates via MCP tools.122ISC
- AlicenseNot gradedqualityDmaintenanceProvides active weather alerts for U.S. states and 7-day forecasts for a given latitude and longitude.ISC
- FlicenseBqualityDmaintenanceProvides weather alerts for US states and forecasts for given coordinates via MCP tools.2-
- FlicenseAqualityCmaintenanceEnables MCP clients to retrieve live National Weather Service alerts for any US state and verify connectivity via an echo resource.1-