Climate Extreme Indices
world-bank-cckp.climate.extremesGet a derived extreme-climate index for a country: hot days over 35C/40C (hd35/hd40), frost days (fd), max consecutive dry/wet days (cdd/cwd), heavy precipitation days over 20mm (r20mm), or tropical nights (tr23). Defaults to the 1995-2014 observed baseline (scenario "historical"), or pass an SSP scenario + future period for a projection. Data: World Bank Climate Change Knowledge Portal (CMIP6 model ensemble), no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Extreme-climate index: "hd35"/"hd40" (annual count of days with max temp > 35°C/40°C), "fd" (frost days, min temp < 0°C), "cdd" (max consecutive dry days, precip < 1mm), "cwd" (max consecutive wet days, precip >= 1mm), "r20mm" (days with precip > 20mm), "tr23" (tropical nights, min temp > 23°C). | |
| period | No | Future 20-year projection window, only used when scenario is not "historical". Defaults to "2040-2059". | |
| country | Yes | Geography code: ISO3166 alpha-3 country code (e.g. "BRA", "USA", "IND"), or a special aggregate code such as "all_countries" (every country in one call) or "region_SAS" (South Asia region, admin1-level breakdown included — replace SAS with any World Bank region code). | |
| scenario | No | "historical" (default) returns the 1995-2014 observed baseline. A CMIP6 SSP scenario ("ssp126"/"ssp245"/"ssp370"/"ssp585") returns a future projection for the period below. | |
| aggregation | No | Time aggregation of the returned values. "annual" returns one value per year, "monthly" returns 12 values per year, "seasonal" returns 4 values per year (DJF/MAM/JJA/SON). Defaults to "annual". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |