NWS Weather MCP Sample
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., "@NWS Weather MCP SampleWhat's the forecast in 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.
NWS Weather MCP Sample
Python MCP server that pulls forecasts and alerts from the National Weather Service API, plus a small demo CLI client. The same server works with Claude Desktop.
Layout
src/weather_mcp/ # MCP server + NWS helpers
src/weather_mcp_client/ # Demo stdio MCP client
config/ # Claude Desktop example configRelated MCP server: MCP Weather Server
Setup
cd C:\Work\Projects\McpWeatherSample
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e .Demo CLI (no LLM)
Spawns the MCP server over stdio and lets you call tools directly:
weather-mcp-cli
# or: python -m weather_mcp_cli.clientExample session:
weather> tools
weather> forecast 40.7128 -74.0060
weather> alerts NY
weather> quitClaude Desktop
Install the package into a venv (see Setup).
Copy config/claude_desktop_config.example.json into
%APPDATA%\Claude\claude_desktop_config.json.Confirm the
commandpath points at your venv Python, e.g.C:\\Work\\Projects\\McpWeatherSample\\.venv\\Scripts\\python.exe.Restart Claude Desktop.
Confirm the
nws-weathertools appear (hammer / MCP tools UI).
Example prompts:
What's the forecast for 38.89, -77.03?
How is the weather in NYC?
Any weather alerts in CA?
Tools
Tool | Arguments | Description |
|
| NWS 7-day / 12-hour periods for a US point |
|
| Active alerts for a two-letter US state |
NWS requires a User-Agent on every request; the server sets one automatically. No API key is required.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/tumuml28/McpWeatherSample'
If you have feedback or need assistance with the MCP directory API, please join our Discord server