# Worldbank Climate [Health: Active]

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

## Description
World Bank Climate Change Knowledge Portal (CCKP) MCP.

## Tools
Capabilities this server exposes over MCP:

- **get_climate_data** — World Bank CCKP climate data for any country: historical observations and CMIP6 climate-model projections. Returns mean temperature, max/min temperature, or precipitation, by emissions scenario. Pass the components as separate args — this tool assembles the brittle composite "indicator code" for you. Values are returned keyed by ISO3 country code; the inner key is "<startYear>-07" (annual/period) or per-season months.

WORKED EXAMPLES (all verified live):
1. Historical annual mean temperature for the USA (defaults): {"geography":"USA"} => tas climatology over 1995-2014, ~10.2°C.
2. Projected warming (anomaly) for the USA mid-century under a high scenario: {"geography":"USA","scenario":"ssp585","period":"2040-2059","product":"anomaly"} => ~2.4°C above baseline.
3. Historical annual precipitation for all countries: {"geography":"all_countries","variable":"pr","product":"climatology","period":"1995-2014","scenario":"historical"} => mm/year per country.

If assembly ever fails for an exotic combination, pass the full composite string via indicator_code instead.
- **list_options** — Return a static reference object documenting all verified CCKP indicator-code components: valid variables (tas/tasmax/tasmin/pr), scenarios (historical + SSP119–585), periods, products (climatology/anomaly), aggregations (annual/seasonal), and the 11-token composite code order. Takes no arguments; call before get_climate_data to choose valid parameter combinations.Call this to learn valid variables, scenarios, periods, products, and aggregations before building a get_climate_data request. Takes no arguments.

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

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

## Documentation

## What Worldbank Climate does

Worldbank Climate exposes selected World Bank Climate Change Knowledge Portal data through MCP. The `get_climate_data` tool supports four variables: mean temperature (`tas`), maximum temperature (`tasmax`), minimum temperature (`tasmin`), and precipitation (`pr`). It can return historical climatology, model projections, or anomalies for a specified country or for all countries.

Results are keyed by ISO3 country code. The nested time key uses a `<startYear>-07` form for annual or period-based results, while seasonal requests use month-based keys. Temperature examples are expressed in degrees Celsius, and precipitation climatology can be returned in millimetres per year.

The integration is independent and unofficial; it is not affiliated with, endorsed by, or published by the World Bank.

## How it works

The hosted MCP endpoint is available at `https://gateway.pipeworx.io/worldbank-climate/mcp`. A client connects to that URL and invokes the exposed tools. The package can also run locally as a stdio bridge, forwarding requests to the same gateway rather than providing an offline data service.

`get_climate_data` accepts separate arguments such as geography, variable, scenario, period, product, and aggregation. It assembles the composite CCKP indicator code internally, avoiding the need to construct that code for ordinary requests. If an unusual combination cannot be assembled, the complete composite value can be supplied through `indicator_code` instead.

The gateway also provides shared Pipeworx meta-tools on the hosted pack endpoint. These may appear in addition to the climate tools, and `ask_pipeworx` can route natural-language questions across the broader catalog. The local npm bridge lists only the climate pack by default; setting `PIPEWORX_META_TOOLS=1` adds the gateway-wide tools.

## Setup and configuration

Add the hosted endpoint to an MCP client with a server entry such as:

```json
{
  "mcpServers": {
    "worldbank-climate": {
      "url": "https://gateway.pipeworx.io/worldbank-climate/mcp"
    }
  }
}
```

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

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

The bridge requires network access. Anonymous use is capped at 50 calls per day, while a free Pipeworx account increases the allowance to 200 calls per day. Add `PIPEWORX_API_KEY` to the client environment to authenticate with an account. Direct HTTP callers can invoke `get_climate_data` at `https://gateway.pipeworx.io/v1/tools/get_climate_data` using a JSON POST request.

## Tools and capabilities

- `list_options` returns the verified variables, scenarios, periods, products, aggregations, and the 11-token composite-code order. It takes no arguments and is useful before constructing a data request.
- `get_climate_data` retrieves historical or projected climate values by geography.
- Historical requests can use the `historical` scenario and the 1995–2014 baseline period.
- Projection requests support SSP scenarios from SSP119 through SSP585, including periods such as 2040–2059.
- Products include `climatology` and `anomaly`; aggregations include annual and seasonal results.
- `geography: "all_countries"` returns country-keyed results across the available countries.

## Limitations and notes

The service depends on the Pipeworx gateway and has no offline mode. Hosted pack connections include shared gateway tools alongside the climate-specific tools, so the visible tool count can exceed the two tools described here. The gateway's initialization response defines the exact scope for a connection.

The composite indicator format is sensitive to its component combination. Use `list_options` to select supported values, and provide `indicator_code` directly when automatic assembly is unsuitable. Requests are subject to the anonymous or authenticated daily call limits described above. When using an HTTPS proxy with the npm bridge, Node's built-in `fetch` may require `NODE_USE_ENV_PROXY=1` on Node versions that support that setting.

_Full upstream README: https://allmcps.com/mcp/worldbank-climate/readme_

