# Openweather [Health: Active]

**Category:** 🌳 Environment & Nature  
**Repository:** https://github.com/pipeworx-io/mcp-openweather  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1140  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/openweather

## Description
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)

## Tools
Capabilities this server exposes over MCP:

- **current_weather** — Get the current weather for a city or coordinates: temperature, "feels like", conditions, humidity, wind speed, and cloud cover. Example: current_weather({ city: "London", units: "metric" })
- **openweather_forecast** — Get a multi-step weather forecast (3-hour intervals) for a city or coordinates: temperature, conditions, wind speed, and precipitation probability over time. Example: forecast({ city: "Tokyo", count: 8 })
- **openweather_air_quality** — Get the current air quality for a set of coordinates: an air quality index (AQI, 1=Good to 5=Very Poor) plus pollutant component concentrations (CO, NO2, O3, PM2.5, PM10, etc.). Example: air_quality({ lat: 51.5, lon: -0.12 })
- **openweather_geocode** — Resolve a place name (city, optionally with state/country) to geographic coordinates (latitude/longitude). Useful before calling air_quality, which needs lat/lon. Example: geocode({ query: "Paris", limit: 5 })

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

```json
"mcpServers": {
  "openweather": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-openweather"]
  }
}
```

## Documentation

## What Openweather does

Openweather exposes selected OpenWeatherMap data through MCP. Its four primary tools cover current weather, forecast data, air quality, and geocoding. The server is an independent integration and is not affiliated with, endorsed by, or published by OpenWeatherMap.

`current_weather` accepts a city or coordinates and returns temperature, perceived temperature, conditions, humidity, wind speed, and cloud cover. `forecast` returns a sequence of forecast entries at three-hour intervals, including temperature, conditions, wind speed, and precipitation probability.

`air_quality` operates on latitude and longitude. It returns an air quality index from 1, meaning Good, to 5, meaning Very Poor, together with pollutant concentrations such as CO, NO2, O3, PM2.5, and PM10. `geocode` converts a place query into latitude and longitude and can accept a city with optional state or country information.

## How it works

The hosted MCP endpoint is `https://gateway.pipeworx.io/openweather/mcp`. Add that URL to an MCP client to connect over HTTP. The same gateway also exposes a full endpoint at `https://gateway.pipeworx.io/mcp`; the Openweather endpoint lists the weather pack directly while both endpoints can reach the broader gateway through Pipeworx routing tools.

The hosted connection includes the four Openweather tools plus shared Pipeworx meta-tools. These may include `ask_pipeworx`, `discover_tools`, `search_within`, and memory-related tools. The exact shared-tool scope is returned during MCP initialization.

For local MCP client configuration, the npm package `@pipeworx/mcp-openweather` provides a stdio bridge. It forwards calls to the hosted endpoint, so it still needs network access and has no offline mode. The gateway can also be called directly over HTTP, including with a POST request to a tool endpoint such as `/v1/tools/current_weather`.

## Setup and configuration

A hosted client configuration can use the following endpoint:

```json
{
  "mcpServers": {
    "openweather": {
      "url": "https://gateway.pipeworx.io/openweather/mcp"
    }
  }
}
```

For a local stdio connection, start the package with `npx`:

```json
{
  "mcpServers": {
    "openweather": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-openweather"]
    }
  }
}
```

Anonymous use is available for the first calls and is limited to 50 calls per day. A free Pipeworx account and `PIPEWORX_API_KEY` increase the allowance to 200 calls per day. Set `PIPEWORX_META_TOOLS=1` when the local bridge should also list the shared gateway tools. Behind an HTTPS proxy, newer Node.js releases can use the proxy when `NODE_USE_ENV_PROXY=1` is set.

## Tools and capabilities

- Retrieve current weather by city or coordinates.
- Request three-hour interval forecasts with a selected count.
- Check AQI values and pollutant concentrations by coordinates.
- Resolve place names into latitude and longitude.
- Ask the gateway to select a suitable tool using `ask_pipeworx`.
- Call individual tools through the gateway's HTTP API.

## Limitations and notes

The bridge depends on network access and does not provide an offline mode. Air-quality requests require coordinates, so a geocoding call may be needed first. Hosted and local calls use the Pipeworx gateway, where authenticated requests are metered and billed in the same way as hosted connections. The package is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/openweather/readme_

