Weather MCP Server
Click on "Install 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 ServerWhat's the weather forecast for Denver?"
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 built with FastMCP that provides US weather forecasts and active alerts using the National Weather Service (NWS) API.
Features (Tools Provided)
When connected to an AI assistant, it provides the following tools:
get_alerts(state: str): Fetches active weather alerts for a US state (e.g. "CA", "NY").get_forecast(latitude: float, longitude: float): Fetches detailed weather forecasts for a specific geographic coordinate.
Related MCP server: MCP Weather Server
Project Structure
weather.py: The main FastMCP server containing the API calls and tool definitions..venv/: The Python virtual environment for isolated dependencies.pyproject.toml/main.py: Other configuration and entry point scripts.
Installation & Setup
Make sure you are using the virtual environment:
source .venv/bin/activateRequired packages are likely already installed, but if not:
pip install "mcp[cli]" httpx
Testing Locally
You can test the MCP tools locally through a web interface using the MCP Inspector:
npx @modelcontextprotocol/inspector "/Users/name/mcp servers/.venv/bin/python" "/Users/name/mcp servers/weather.py"Connecting to AI Clients (e.g., Claude Desktop)
To use this server with Claude Desktop, add the following to your claude_desktop_config.json file:
{
"mcpServers": {
"weather": {
"command": "/Users/name/mcp servers/.venv/bin/python",
"args": [
"/Users/name/mcp servers/weather.py"
]
}
}
}Restart Claude and it will now have access to live formatting and tracking for US weather!
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Flicense-qualityDmaintenanceThis is a Model Context Protocol (MCP) server that provides weather information using the National Weather Service (NWS) API. Features Get weather alerts for a US state Get weather forecast for a specific location (using latitude and longitude)Last updated
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides tools to fetch weather alerts for US states and forecasts based on latitude/longitude coordinates using the US National Weather Service API.Last updated21031MIT
- FlicenseBqualityDmaintenanceA Model Context Protocol server that provides current weather forecasts for specific locations and active weather alerts for US states.Last updated2
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server that provides real-time weather alerts and forecasts from the US National Weather Service.Last updated
Related MCP Connectors
Get US weather forecasts, active alerts, and current observations.
Hosted weather data MCP for discovery, validation, and OAuth-protected GribStream queries.
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ChinmayBhattt/mcp-server-python'
If you have feedback or need assistance with the MCP directory API, please join our Discord server