Weather for AI agents
A weather API answers "what is the temperature". An agent usually needs something narrower: will it frost on Tuesday, how much heating load is coming, is there a four-hour window to sail, is the river near the warehouse rising. Each tool below answers one of those questions in one call, from Open-Meteo's models, paid per call in USDC over x402 or MPP. Every tool takes coordinates or a place name, and every answer names its source and credits it.
Forecasts and the windows inside them
weather-daily($0.002) andweather-hourly($0.002): the forecast itself, anywhere on Earth.weather-window($0.004): the stretches of hours that meet your limits for rain, wind and temperature, longest first.weather-thresholds($0.003): frost, heat, wind and rain rules checked against the hourly forecast, with the first and last hour each is met.forecast-accuracy($0.004): how close the day-ahead forecast has come at that place, so an agent knows how far to trust it.
Probabilities, not single numbers
weather-probability ($0.01) counts up to 82 ensemble
members and returns the share past your threshold or inside your bracket: the
chance of frost, of 20 mm of rain, of a high above a market's strike.
forecast-skill ($0.005) shows how the forecast for one date
moved across the last seven runs, which says how settled it is.
Energy
degree-days($0.004): heating, cooling and growing degree days, past and forecast, each day labeled.seasonal-outlook($0.005): weekly or monthly anomalies for about six weeks or six months.solar-forecast($0.004) andwind-power-forecast($0.004): expected energy for your system, by day.solar-history($0.005): satellite-measured yield by month, for siting.- The
skill-energy-weatherpack ($0.016) runs degree days, the outlook and both power forecasts in one call.
Marine and air
marine-forecast($0.004): each day's waves, swell, Douglas sea state, sea temperature and wind in knots, plus every window inside your wave and wind limits. For planning, not navigation.- The
skill-marine-weatherpack ($0.007) adds the land forecast and daylight at the same point. air-quality-forecast($0.003): five days of US and European AQI with the worst hour, and pollen in Europe.
Flood and climate risk
flood-outlook($0.005): GloFAS river discharge for the next 30 days at the main river near a point, rated against that river's own 2 to 50-year return levels, with one outlook word. It is model output, not an official warning.weather-anomaly($0.005): how a past stretch compared with the 1991-2020 normal.climate-projection($0.005): seven CMIP6 models' median and range for a measure, to 2050.climate-risk-report($0.04): the past year against the normal with degree days, the flood outlook and the 2041-2050 projection, as one report written by code from the data. Information only, not an engineering, insurance or investment assessment.elevation-profile($0.002): terrain height for up to 100 points, with climb, descent and the steepest leg.
Calling one
curl -i "https://agent402.tools/api/weather-probability?place=Chicago&variable=temperature_min&op=lte&value=0"
The first answer is a 402 naming the price; any x402 or MPP client pays it and
retries. On the hosted MCP connector, catalog.find with "frost forecast" or
"flood forecast" returns the tool with its input schema, and catalog.call
runs it. Weather data by Open-Meteo.com (CC BY 4.0).