MCP Weather Server logo

MCP Weather Server

by shiragannavar

This project implements an MCP server designed to serve as a Claude tool, connecting to the U.S. National Weather Service (NWS) API. It provides real-time weather alerts and forecasts.

View on GitHub

Last updated: N/A

What is MCP Weather Server?

This is an MCP server that acts as a Claude tool, utilizing the U.S. National Weather Service (NWS) API to provide weather alerts and forecasts.

How to use MCP Weather Server?

The server is designed to be used with Claude via the MCP protocol using stdio transport. You can use the get_alerts tool with a U.S. state code (e.g., "CA") to retrieve weather alerts, or use the get_forecast tool with latitude and longitude coordinates to get a detailed forecast.

Key features of MCP Weather Server

  • Get Active Alerts by U.S. state

  • Get Forecast by latitude and longitude

  • Asynchronous & Fast operations

  • Claude-compatible external tool via MCP protocol

Use cases of MCP Weather Server

  • Providing Claude with real-time weather information

  • Integrating weather data into Claude-based applications

  • Alerting users to severe weather conditions

  • Generating location-specific weather forecasts

FAQ from MCP Weather Server

What is MCP?

MCP stands for Model Control Protocol, used for communication between Claude and external tools.

What API does this server use?

This server uses the U.S. National Weather Service (NWS) API.

How do I get weather alerts?

Use the get_alerts tool with a U.S. state code.

How do I get a forecast?

Use the get_forecast tool with latitude and longitude coordinates.

Is this server free to use?

The server is licensed under the MIT License, allowing for free use, modification, and distribution.