get_climate_data
Pack: worldbank-climate · Endpoint: https://gateway.pipeworx.io/worldbank-climate/mcp
World Bank CCKP climate data for any country: historical observations and CMIP6 climate-model projections.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
geography | string | no | ISO3 country code (e.g. “USA”, “BRA”), or “all_countries” for every country. Default “all_countries”. |
variable | string | no | Climate variable. Verified: “tas” (mean temp °C), “tasmax” (max temp), “tasmin” (min temp), “pr” (precipitation mm/year). Default “tas”. |
scenario | string | no | Emissions/scenario. “historical” for observed past, or a projection SSP: “ssp119”,“ssp126”,“ssp245”,“ssp370”,“ssp585” (low→high emissions). Default “historical”. |
period | string | no | Time period. For historical use “1995-2014” (the default when scenario=historical). For projections use a 20-year window e.g. “2020-2039”,“2040-2059”,“2060-2079”,“2080-2099”. Defaults to 1995-2014 (historical) or 2040-2059 (projection). |
product | string | no | What to return: “climatology” (absolute values, verified) or “anomaly” (change vs reference period — use with a projection scenario, verified). Default “climatology”. |
aggregation | string | no | ”annual” (single value) or “seasonal” (four season values), verified. Default “annual”. |
collection | string | no | Dataset collection. Default and only fully API-verified value is “cmip6-x0.25” (model-derived, covers historical + projections). The portal lists “era5-x0.25”/“cru-x0.5” observation collections but those did not return data through this JSON API in testing — prefer cmip6-x0.25. |
indicator_code | string | no | Optional raw 11-token composite code to pass through verbatim, bypassing assembly. Order: collection_type_variable_product_aggregation_period_percentile_scenario_model_modelCalculation_statistic. Example: “cmip6-x0.25_climatology_tas_climatology_annual_1995-2014_median_historical_ensemble_all_mean”. |
Example call
curl -X POST https://gateway.pipeworx.io/worldbank-climate/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_climate_data","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"worldbank-climate": {
"url": "https://gateway.pipeworx.io/worldbank-climate/mcp"
}
}
}
See Getting Started for client-specific install steps.