Skip to content

Site climate risk report

$0.04 per callUSDC via x402GET /api/climate-risk-report

Site climate risk report, written by code: the past 12 months against the 1991-2020 normal with degree days, the 30-day river flood outlook against return levels, and the 2041-2050 climate projection.

Category: Live public dataTags: climate-risk climate flood projection degree-days anomaly report weather

Try in playground →

Details

Site climate risk report, written by code: the past 12 months against the 1991-2020 normal with degree days, the 30-day river flood outlook against return levels, and the 2041-2050 climate projection. ?place=Cologne. Weather data by Open-Meteo.com (CC BY 4.0). Contains modified Copernicus Climate Change Service information. Neither the European Commission nor ECMWF is responsible for any use that may be made of the Copernicus information or data it contains.

Parameters

NameTypeRequiredDescription
latnumbernoLatitude, -90 to 90 (with lon; wins over place) The example sends 50.94.
lonnumbernoLongitude, -180 to 180 (with lat) The example sends 6.96.
placestringnoA city, town or region name instead of lat/lon, for example "Paris" or "Austin, TX" (not a street address); the answer echoes the place it resolved to Up to 100 characters.

Example request

curl -i "https://agent402.tools/api/climate-risk-report?lat=50.94&lon=6.96"

Watch a call get paid

RequestGET /api/climate-risk-report
402$0.04 USDC
SignPAYMENT-SIGNATURE
Settleon 14 chains
Answer200 OK
ReceiptAgent402-ReceiptEd25519

Example response

{
  "lat": 50.94,
  "lon": 6.96,
  "report": "# Site climate risk: 50.94, 6.96\n\nPoint 50.94, 6.96. Computed 2026-12-03 from reanalysis, GloFAS river forecasts and CMIP6 climate model output.\n\n## At a glance\n\n- **Past 12 months (2025-11 to 2026-10):** +1.9 °C against the 1991-2020 normal (11 warmer and 1 colder months); precipitation 83% of normal.\n- **Degree days (base 18 °C):** 2367 heating and 425 cooling over the 12 months.\n- **River flood outlook (next 30 days):** normal, peak median 1357.3 m³/s on 2026-12-29.\n- **2041-2050 against 2001-2010 (model median):** daily high +1.1 °C, hot days a year 5.4 to 13.3, heavy-rain days a year 2.8 to 3.4.\n\n## The past 12 months against the normal ...",
  "pastYear": {
    "start": "2025-11-01",
    "end": "2026-10-31",
    "months": [
      {
        "month": "2025-11",
        "days": 30,
        "meanTempC": 7.7,
        "normalTempC": 6.8,
        "anomalyC": 0.9,
        "precipitationMm": 52.9,
        "normalPrecipitationMm": 84.6,
        "precipitationPercentOfNormal": 63,
        "hdd": 310,
        "cdd": 0
      },
      {
        "month": "2026-10",
        "days": 31,
        "meanTempC": 12.4,
        "normalTempC": 11.2,
        "anomalyC": 1.2,
        "precipitationMm": 106.7,
        "normalPrecipitationMm": 79.5,
        "precipitationPercentOfNormal": 134,
        "hdd": 173,
        "cdd": 0
      }
    ],
    "summary": {
      "anomalyC": 1.9,
      "warmerMonths": 11,
      "colderMonths": 1,
      "precipitationMm": 761,
      "precipitationPercentOfNormal": 83,
      "hdd": 2367,
      "cdd": 425
    }
  },
  "flood": {
    "outlook": "normal",
    "river": {
      "cell": {
        "lat": 50.975,
        "lon": 6.925
      },
      "distanceKm": 4.6,
      "snapped": true,
      "dischargeNow": 1090.4,
      "unit": "m³/s"
    },
    "returnLevels": {
      "2": 6006,
      "5": 7683,
      "10": 8792,
      "20": 9857,
      "50": 11235,
      "years": 25,
      "firstYear": 1997,
      "lastYear": 2021
    },
    "peak": {
      "date": "2026-12-29",
      "median": 1357.3,
      "max": 4101,
      "returnPeriodYears": 1,
      "returnPeriodYearsHighestMember": 1.1
    }
  },
  "projection": {
    "meanHighC": {
      "baseline": 14.4,
      "future": 15.5,
      "change": 1.1,
      "futureRange": [
        15,
        16.2
      ]
    },
    "hotDays": {
      "baseline": 5.4,
      "future": 13.3,
      "change": 7.9,
      "futureRange": [
        9.1,
        22.6
      ]
    },
    "precipitationMm": {
      "baseline": 902,
      "future": 916.4,
      "change": 14.4,
      "futureRange": [
        830.4,
        1072.1
      ]
    },
    "heavyRainDays": {
      "baseline": 2.8,
      "future": 3.4,
      "change": 0.6,
      "futureRange": [
        2.3,
        6.7
      ]
    },
    "baseline": "2001-2010",
    "future": "2041-2050"
  },
  "tables": [
    {
      "name": "past-12-months",
      "label": "The past 12 months against the 1991-2020 normal",
      "columns": [
        "Month",
        "Mean °C",
        "Normal °C",
        "Anomaly °C",
        "Precipitation mm",
        "% of normal",
        "HDD",
        "CDD"
      ],
      "rows": [
        [
          "2025-11",
          7.7,
          6.8,
          0.9,
          52.9,
          63,
          310,
          0
        ],
        [
          "2026-10",
          12.4,
          11.2,
          1.2,
          106.7,
          134,
          173,
          0
        ]
      ]
    }
  ],
  "sources": [
    {
      "title": "Open-Meteo historical weather (ERA5 reanalysis)",
      "url": "https://open-meteo.com/en/docs/historical-weather-api"
    },
    {
      "title": "Open-Meteo flood API (GloFAS)",
      "url": "https://open-meteo.com/en/docs/flood-api"
    },
    {
      "title": "Open-Meteo climate change API (CMIP6)",
      "url": "https://open-meteo.com/en/docs/climate-api"
    }
  ],
  "meta": {
    "disclaimer": "Computed by code from Open-Meteo data: reanalysis, GloFAS flood forecasts and CMIP6 climate model output on a high-emissions pathway. Information only, not an engineering, insurance or investment assessment.",
    "writtenBy": "code"
  },
  "source": "computed from Open-Meteo archive, flood and climate data (CC BY 4.0)",
  "credit": "Contains modified Copernicus Climate Change Service information. Neither the European Commission nor ECMWF is responsible for any use that may be made of the Copernicus information or data it contains. Contains modified Copernicus Emergency Management Service information (GloFAS). Neither the European Commission nor ECMWF is responsible for any use that may be made of the Copernicus information or data it contains. Climate model data from the CMIP6 program of the World Climate Research Programme (HighResMIP runs by the modeling groups named in this answer, CC BY 4.0), downscaled by Open-Meteo and aggregated by year for this answer. The modeling groups and data providers make no warranty, express or implied.",
  "attributionText": "Weather data by Open-Meteo.com (CC BY 4.0).",
  "sourceUrl": "https://open-meteo.com/",
  "licenseUrl": "https://creativecommons.org/licenses/by/4.0/"
}
FieldTypeAlways presentIn the example
latnumberyes50.94
lonnumberyes6.96
reportstringyes# Site climate risk: 50.94, 6.96 Point 50.94, 6.96. Computed 2026-12-03 from...
pastYearobjectyes4 fields: start, end, months, summary
floodobjectyes4 fields: outlook, river, returnLevels, peak
projectionobjectyes6 fields: meanHighC, hotDays, precipitationMm, heavyRainDays and 2 more
tablesarray of objectsyes1 item in the example
sourcesarray of objectsyes3 items in the example
metaobjectyes2 fields: disclaimer, writtenBy
sourcestringyescomputed from Open-Meteo archive, flood and climate data (CC BY 4.0)
creditstringyesContains modified Copernicus Climate Change Service information. Neither the ...
attributionTextstringyesWeather data by Open-Meteo.com (CC BY 4.0).
sourceUrlstringyeshttps://open-meteo.com/
licenseUrlstringyeshttps://creativecommons.org/licenses/by/4.0/

From an MCP client

catalog.call {
  "slug": "climate-risk-report",
  "params": {
    "lat": 50.94,
    "lon": 6.96
  }
}

Hosted connector (https://agent402.tools/mcp): paid in the call. Stdio package (npx -y agent402-mcp@0.19.2): pays from a wallet or AGENT402_CREDITS_KEY.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.({ maxAmountPerPayment: "$0.04" }); // refuse any quote above this tool's price
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.AGENT_KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/climate-risk-report?lat=50.94&lon=6.96");

Get a wallet or run npx -y agent402-mcp@0.19.2 wallet new.

The quote (Python)

import base64, json, urllib.error, urllib.request

req = urllib.request.Request("https://agent402.tools/api/climate-risk-report?lat=50.94&lon=6.96", method="GET", headers={})
try:
    urllib.request.urlopen(req)
except urllib.error.HTTPError as e:
    quote = json.loads(base64.b64decode(e.headers["PAYMENT-REQUIRED"]))
    print(e.code, [(a["network"], a["amount"]) for a in quote["accepts"]])  # the price, per chain, in base units

Guides that use this tool

Related tools