weather-mcp

Phionx/weather-mcp

3.2

If you are the rightful owner of weather-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

A Simple MCP Weather Server written in Python that provides weather data from the National Weather Service API, including forecasts and alerts for US locations.

Tools
2
Resources
0
Prompts
0

A Simple MCP Weather Server written in Python

An MCP server that provides weather data from the National Weather Service API, including forecasts and alerts for US locations.

Features

  • Get weather alerts for US states
  • Get detailed weather forecasts for any US location
  • Uses the free National Weather Service API (no API key required)

Installation

pip install weather

Usage

This server provides two tools:

get_alerts(state: str)

Get weather alerts for a US state using a two-letter state code (e.g., "CA", "NY").

get_forecast(latitude: float, longitude: float)

Get weather forecast for a specific location using latitude and longitude coordinates.

See the Quickstart tutorial for more information.