nws-claude-mcp
learning-focused project that connects the Claude desktop app to the US NWS API using a custom protocol, injecting real-time weather data into Claude’s context.
Documentation
Context Weather
A Model Context Protocol (MCP) server that integrates the US National Weather Service API with Claude Desktop, providing real-time weather data and forecasts directly within your Claude conversations.
Features
- Real-time weather conditions and forecasts
- Location-based weather queries using coordinates or place names
- Seamless integration with Claude Desktop via MCP
- Live data from the official US National Weather Service API
- Detailed weather metrics including temperature, humidity, wind, and precipitation
Prerequisites
- Claude Desktop App
- Python (v3.12 or higher)
- uv package manager
- Internet connection for API access
Installation
1. Clone this repository:
git clone https://github.com/yourusername/claude-nws-protocol-bridge.git
cd claude-nws-protocol-bridge2. Install dependencies:
uv sync3. Configure the MCP server in your Claude Desktop settings:
{
"mcpServers": {
"nws-weather": {
"command": "uv",
"args": ["run", "python", "weather.py"]
}
}
}Usage
Once configured, you can ask Claude weather-related questions such as:
- "What's the current weather in San Francisco?"
- "Give me a 7-day forecast for New York City"
- "What's the temperature and humidity right now?"
- "Is it going to rain today in Seattle?"
API Reference
The bridge provides the following MCP tools:
`get-current-weather`
Retrieves current weather conditions for a specified location.
Parameters:
- `location` (string): City name, coordinates, or ZIP code
`get-weather-forecast`
Gets weather forecast data for a specified location.
Parameters:
- `location` (string): City name, coordinates, or ZIP code
- `days` (number, optional): Number of forecast days (default: 7)
Frequently asked questions
What is nws-claude-mcp?
nws-claude-mcp is learning-focused project that connects the Claude desktop app to the US NWS API using a custom protocol, injecting real-time weather data into Claude’s context.
How do I install nws-claude-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is nws-claude-mcp open source?
Yes — it is hosted on GitHub at https://github.com/shreyyzsh/nws-claude-mcp.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP