MCP Weather Server
@SarveshChandak
About MCP Weather Server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"MCP-Server-Weather-Alerts": {
"command": "python",
"args": [
"weather.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Weather Server?
MCP Weather Server is a weather server built on the Model Context Protocol (MCP) framework. It provides tools to retrieve weather alerts and forecasts for specific locations in the United States using the National Weather Service (NWS) API. It is intended for developers integrating real-time weather data into LLM-powered applications.
How to use MCP Weather Server?
After cloning the repository and installing dependencies with pip install -r requirements.txt, start the server by running python weather.py or, if server and client are on the same machine, uv run weather.py. The server exposes two tools—get_alerts (requires a two-letter US state code) and get_forecast (requires latitude and longitude)—that can be automatically invoked by an LLM through an MCP client.
Key features of MCP Weather Server
- Fetches active weather alerts for a given US state.
- Retrieves detailed weather forecasts for a specific latitude/longitude.
- Built on the MCP framework for seamless LLM integration.
- Uses the National Weather Service (NWS) public API data.
Use cases of MCP Weather Server
- Enable an LLM assistant to answer “Are there any weather alerts in California?”
- Provide a detailed weather forecast for a user-specified location.
- Power a conversational weather bot for the United States with minimal setup.
FAQ from MCP Weather Server
What API does the server use?
It uses the National Weather Service (NWS) API for both alerts and forecasts.
How do I run the server locally?
Run python weather.py from the weather directory. If the client is on the same machine, you can also use uv run weather.py with the stdio transport.
What arguments does the get_forecast tool require?
It requires latitude and longitude (both numeric, e.g., 34.0522 and -118.2437 for Los Angeles).
Are there any geographic restrictions?
Data is only available for locations within the United States because the server relies on the National Weather Service API.
Frequently asked questions
What API does the server use?
It uses the National Weather Service (NWS) API for both alerts and forecasts.
How do I run the server locally?
Run `python weather.py` from the `weather` directory. If the client is on the same machine, you can also use `uv run weather.py` with the `stdio` transport.
What arguments does the `get_forecast` tool require?
It requires `latitude` and `longitude` (both numeric, e.g., 34.0522 and -118.2437 for Los Angeles).
Are there any geographic restrictions?
Data is only available for locations within the United States because the server relies on the National Weather Service API.
Basic information
More Media & Design MCP servers

diggercamp
Tommaso Savorana (ti es)diggercamp finds independent music by how it sounds. Paste any Bandcamp, YouTube or SoundCloud link and get the closest sonic matches from 4M+ independent tracks — matched by rhythm, timbre, key and energy, not genre tag
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.

uxgen
uxgenA library of conversion components for e-commerce, built on A/B tested mechanics and handed straight to your coding agent. 65 pieces drawn from mechanics that have been A/B tested in real stores: cart drawer with the ups

Uwear.ai
Uwear.aiRun complete AI fashion photoshoots from ChatGPT, Claude, or Codex. Turn flat-lay, packshot, and mannequin product images into catalog-ready on-model photos and video with saved art direction, automatic QA, and catalog-s
百度地图 MCP Server
baidu-mapsBaidu Map MCP Server
Comments