Claude-NWS Protocol Bridge
Integrates the US National Weather Service API to provide real-time weather data and forecasts.
Claude-NWS Protocol Bridge
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
-
Clone this repository:
git clone https://github.com/yourusername/claude-nws-protocol-bridge.git cd claude-nws-protocol-bridge -
Install dependencies:
uv sync -
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 codedays(number, optional): Number of forecast days (default: 7)
Related Servers
CML MCP Server
An MCP server for interacting with Cloudera Machine Learning (CML).
Terrakube MCP Server
Manage Terrakube workspaces, variables, modules, and organizations.
China Weather
Query weather information and meteorological warnings for Chinese cities using the QWeather API.
Dynatrace
An MCP server for the Dynatrace observability platform.
Cloudflare Remote MCP Server (Authless)
An example for deploying a remote, authentication-free MCP server on Cloudflare Workers.
Singapore LTA MCP Server
Access real-time transportation data from Singapore's LTA DataMall API, including bus arrivals and traffic conditions.
Remote MCP Server on Cloudflare
A remote MCP server deployable on Cloudflare Workers with OAuth login support.
Foreman
Integrate with Foreman to manage hosts and other infrastructure resources.
Kubernetes MCP Server
A versatile MCP server for Kubernetes and OpenShift, distributed as a native binary, npm/Python package, or Docker image.
Crypto MCP Server
Fetches real-time cryptocurrency prices from the CoinGecko API.