Skip to main content
Glama
jermatic1
by jermatic1

mcp-weather

An MCP server for current conditions and forecasts from the US National Weather Service at a fixed home location.

Setup

Copy .env.example to .env and set your latitude, longitude, and contact details, which the National Weather Service asks clients to send.

Related MCP server: Weather MCP Server

Run

Requires uv and Task.

task setup
task serve

The server listens at http://localhost:8000/mcp.

Docker

docker compose up -d

Tools

All tools use the configured location and return US units.

  • current_conditions(): the latest observation: temperature, feels-like, humidity, wind, pressure, visibility, recent precipitation, and a short description.

  • forecast(days=3): half-day forecast periods for the next 1 to 7 days with temperature, chance of precipitation, wind, and a detailed description.

  • hourly_forecast(hours=12): hour-by-hour forecast for the next 1 to 48 hours.

Development

task check    # tests, lint, formatting

License

MIT

Related MCP Connectors

Related MCP Servers