# weather-mcp [Health: Active]

**Category:** 🌳 Environment & Nature  
**Repository:** https://github.com/weather-mcp/weather-mcp  
**GitHub Stars:** 59  
**npm Downloads (last month):** 20201  
**Views:** 22  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/weather-mcp-2

## Description
Free, open-source MCP server giving AI assistants 17 weather tools — a one-call weather summary plus forecasts, alerts, air quality, marine, radar, lightning, rivers, wildfires, and historical data back to 1940. Ask by city name or coordinates. Built on free public APIs (NOAA, Open-Meteo). No API keys, no signup.

## Tools
Capabilities this server exposes over MCP:

- **get_weather_summary** — Get a combined weather overview for a location in a SINGLE call — current conditions, forecast and alerts, optionally air quality and lightning. Best for broad questions like "What's the weather like in Seattle?", "Is it safe to hike today?", or "Give me a weather rundown". For a single specific data product (just the forecast, just alerts, etc.), call that specialized tool directly. Sections that are unavailable for a location (e.g. alerts in a country not yet covered) are noted rather than failing the whole summary.
- **get_forecast** — Get future weather forecast for a location. Use this for upcoming weather predictions (e.g., "tomorrow", "this week", "next 7 days", "hourly forecast"). Automatically selects the best data source: NOAA for US locations (more detailed), Open-Meteo for international locations. For current weather, use get_current_conditions. For past weather, use get_historical_weather.
- **get_current_conditions** — Get the most recent weather observation for a location. Use this for current weather or when asking about "today's weather", "right now", or recent conditions without a specific historical date range. Returns NOAA station observations for US locations and Open-Meteo model data for international locations. Automatically includes frostbite-risk and heat-stress (WBGT) context when conditions are extreme. For specific past dates or date ranges, use get_historical_weather instead.
- **get_alerts** — Get active weather alerts, watches, warnings, and advisories for a location. Coverage: the United States (NOAA), Canada (Environment and Climate Change Canada), European MeteoAlarm member countries, Japan (JMA), and the official national CAP feeds of India (NDMA SACHET), the Philippines (PAGASA) and Indonesia (BMKG). All of the above are keyless. With an optional `GOOGLE_WEATHER_API_KEY`, official alerts are also available for ~45+ more territories (Australia, Brazil, Mexico, and others) via the Google Weather API. Use this for safety-critical weather information when asked about "any alerts?", "weather warnings?", "is it safe?", "dangerous weather?", or "weather watches?". For forecast data, use get_forecast instead.
- **search_location** — Search for locations by name and get their coordinates. Uses Nominatim (OpenStreetMap) for coverage of cities, towns, villages and hamlets worldwide. The weather tools geocode city_name themselves, so use this to disambiguate an ambiguous place name or to show the candidate matches (e.g., "Springfield", "San Francisco, CA", "Small Village, County") — not as a required first step before a weather call.
- **check_service_status** — Check whether the upstream weather APIs (NOAA, Open-Meteo) are reachable. Call this after any weather tool returns an error, or before a batch of requests. Returns per-service status and links to the official status pages.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "weather-mcp": {
    "command": "npx",
    "args": ["-y","@dangahagan/weather-mcp@latest"]
  }
}
```

## Documentation

## What weather-mcp does

weather-mcp gives MCP-compatible AI assistants access to weather and environmental data through 18 tools. It combines forecasts, current observations, official alerts, historical records, air quality, marine conditions, radar and satellite imagery, lightning activity, river conditions, wildfire information, and aviation weather.

Locations can be identified by city name, coordinates, airport identifier, or a saved alias such as “home” or “cabin.” Historical weather reaches from 1940 to the present. The server also provides a combined weather summary that brings current conditions, forecasts, and alerts into one response, with optional air-quality and lightning information.

## How it works

The package runs as a local MCP server and communicates with an AI client through standard input and output. A typical installation starts it with `npx -y @dangahagan/weather-mcp@latest`. Weather requests are sent from the user’s machine to public upstream services rather than through a hosted intermediary.

Data sources include NOAA and its aviation, storm, climate, tide, buoy, drought, and snow-monitoring services; Open-Meteo; MET Norway; USGS; NIFC; NASA FIRMS; RainViewer; and Blitzortung.org. Coverage depends on the source and location. NOAA generally supplies richer US observations and warnings, while Open-Meteo provides broader international model coverage. The service-status tool checks NOAA and Open-Meteo reachability and reports cache statistics.

## Setup and configuration

For Claude Code, install the server with:

```bash
claude mcp add weather -- npx -y @dangahagan/weather-mcp@latest
```

Other MCP clients can use an equivalent server entry:

```json
{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["-y", "@dangahagan/weather-mcp@latest"]
    }
  }
}
```

Node.js 18 or newer is supported. The default setup needs no API key, account, or signup. Four optional keys can unlock additional capabilities, including broader pollen coverage, but they are not required by the tools.

## Tools and capabilities

- `get_forecast` provides daily and hourly forecasts, precipitation nowcasts in supported regions, UV data, sunrise and sunset, optional climate comparisons, moon and twilight details, and seasonal outlook information.
- `get_current_conditions` returns temperature, wind, humidity, pressure, observation age, and location-specific details such as heat index, wind chill, snow depth, or fire-weather indices.
- `get_alerts` retrieves official warnings, watches, and advisories for supported national warning systems across North America, Europe, and parts of Asia.
- `get_historical_weather` retrieves hourly or daily records from 1940 onward.
- `get_weather_summary` combines current conditions, forecasts, and alerts in one call.
- `search_location` geocodes place names; the saved-location tools create, list, inspect, and remove aliases.
- `get_air_quality` reports AQI, pollutants, UV, health guidance, pollen, and optional forecasts.
- `get_marine_conditions` covers waves, swell, currents, sea state, tides, and coastal observations where available.
- `get_weather_imagery` returns radar, animated precipitation loops, GOES imagery, and optional composite maps.
- `get_lightning_activity`, `get_river_conditions`, and `get_wildfire_info` cover nearby hazards and environmental conditions.
- `get_aviation_weather` provides METAR, TAF, SIGMET, G-AIRMET, and recent pilot reports using aviation units and UTC.

## Limitations and notes

Coverage varies by geography and tool. Some capabilities are US-specific, while international results may use modeled data or different national warning providers. Forecast ranges and observation availability are determined by the upstream source; NOAA may return shorter ranges than the requested maximum in the United States.

Free public APIs can impose fair-use rate limits. Radar, lightning, wildfire, river, marine, and station data may also differ in freshness or geographic detail. The absence of a surfaced warning should not be treated as an all-clear; use `get_alerts` for the authoritative alert query.

_Full upstream README: https://allmcps.com/mcp/weather-mcp-2/readme_

