Skip to content

Rank your sites by weather risk

One call to weather-risk-brief reads the week ahead and the air quality now for up to 50 sites, scores each 0 to 100 from the signals present (frost, heat, gusts, rain, snow, poor air) and ranks them, at $0.018 a site. Other weather tools answer one question at a time, from $0.001. Pay per call over x402 or MPP, with no API key.

Rank your sitesSee the tools

Weather data by Open-Meteo.com (CC BY 4.0)

Jobs an agent can run today

Delivery planner

$0.056

“Which depot has the roughest week ahead, and when can the Denver crew load without rain?”

  • weather-risk-brief scores each depot 0 to 100 from the signals present in the week ahead, names them, and ranks the depots.
  • weather-window lists the daylight stretches of four hours or more with a rain chance of 20% or less.
curl -i -X POST https://agent402.tools/api/weather-risk-brief \
  -H "Content-Type: application/json" \
  -d '{"sites":[{"place":"Denver"},{"place":"Chicago"},{"place":"Houston"}]}'

curl -i "https://agent402.tools/api/weather-window?place=Denver&days=7&minHours=4&maxPrecipProbability=20"

Farm or event check

$0.013

“Will the orchard in Fresno freeze in the next three days, and how likely is a soaking tomorrow?”

  • weather-thresholds gives the first and last hour at or below freezing, and the lowest temperature reached.
  • weather-probability gives the share of forecast runs with 10 mm of rain or more.
curl -i -X POST https://agent402.tools/api/weather-thresholds \
  -H "Content-Type: application/json" \
  -d '{"place":"Fresno","hours":72,"rules":[{"variable":"temperature","op":"<=","value":0}]}'

curl -i "https://agent402.tools/api/weather-probability?place=Fresno&variable=precipitation_sum&op=gte&value=10"

Property check

$0.042

“What was the weather at this property in the first week of June 2025, and what are its flood and climate figures?”

  • weather-history gives each day's high, low, rain and wind at the point.
  • climate-risk-report sets the past year against the 1991-2020 normal, with the river flood outlook and the climate projection.
curl -i "https://agent402.tools/api/weather-history?lat=29.76&lon=-95.37&start=2025-06-01&end=2025-06-07"

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

Call them

Claude

Add the hosted connector, then ask in your own words. Paid tools are paid from prepaid credits after an email sign-in: connect your app.

claude mcp add --transport http -s user agent402 https://agent402.tools/mcp/credits

curl

An unpaid call to a paid tool answers 402 with its price. A paying client signs that and sends the call again.

curl -i "https://agent402.tools/api/weather-daily?place=Denver&days=7"

JavaScript

payFetch is a fetch that pays from your wallet: how to make one.

import { Agent402 } from "agent402-client";

const a = new Agent402({ fetch: payFetch });
const week = await a.call(
  "weather-daily",
  {"place":"Denver","days":7},
);

A paid call that ends in any status of 400 or above is not charged over x402: settlement runs after the tool and only on a successful response. Some calls are paid before they run; a failed one can be retried free with the same payment, or is refunded.

The weather tools

Site risk and climate

weather-risk-brieffrom $0.018

One 7-day weather risk read for up to 50 sites in one call.

climate-risk-report$0.04

Site climate risk report: past year, flood outlook and 2050 projection.

climate-projection$0.005

Climate model projections of yearly temperature or rainfall at a place, to 2050.

elevation-profile$0.002

Terrain elevation for points, with path climb, descent and grade.

Now and next

weather-current$0.002

Current weather conditions for any location on Earth.

weather-hourly$0.002

Hourly weather forecast for any location, up to 168 hours.

weather-daily$0.002

Weather forecast by day for any location, up to 16 days.

weather-forecast$0.001

Multi-period weather forecast for a US location from api.weather.gov (NWS, public domain).

weather-alerts$0.002

Active National Weather Service alerts for a US state as clean JSON.

seasonal-outlook$0.005

Seasonal outlook for any place, weekly or monthly, with anomalies.

Check a plan

weather-window$0.004

Find hours in the coming days that meet your limits for an outdoor plan.

weather-thresholds$0.003

Check the hourly forecast against your own rules.

weather-probability$0.01

The chance a day's weather passes a threshold, from ensemble forecasts.

forecast-skill$0.005

How the forecast for one date moved across the last seven daily runs.

forecast-accuracy$0.004

How accurate the day-ahead forecast has been at any place.

Past weather

weather-history$0.002

Historical weather by day for any location and date range.

weather-anomaly$0.005

How a past stretch of days compared with the 1991-2020 normal at a place.

degree-days$0.004

Heating, cooling and growing degree days for any place and date range.

Air, sea and rivers

weather-air-quality$0.002

Air quality index and current pollutant concentrations for any location.

air-quality-forecast$0.003

Five-day air quality and pollen forecast with the worst hour.

marine-forecast$0.004

Marine forecast with sea state, sea temperature and safe-to-sail windows.

flood-outlook$0.005

River flood forecast rated against the river's own return levels.

Solar and wind

solar-forecast$0.004

Solar PV forecast for any place: irradiation and expected energy for your system.

solar-history$0.005

Satellite-measured solar resource and PV yield for a past range at a place.

wind-power-forecast$0.004

Wind power forecast for any place: hub-height wind, energy and capacity factor.

Several tools in one call

skill-weather-brief$0.006

Current conditions, 7-day forecast and air quality for a location in one call.

skill-energy-weather$0.016

Degree days, seasonal outlook, solar and wind output for a location in one call.

skill-marine-weather$0.007

Sea state, sea windows, land forecast and daylight for a point at sea.

Places and calculators

place-lookup$0.001

Resolve a city, region or postal-code name to coordinates worldwide.

sun-timesfree

Sunrise, sunset, solar noon, day length and twilights for any point and date.

heat-index-calcfree

Heat index, wind chill, humidex, dew point and wet-bulb temperature from your inputs.

aqi-calcfree

US EPA Air Quality Index from the pollutant concentrations you supply.

degree-days-calcfree

Heating, cooling and growing degree days from a temperature series you supply.

wmo-weather-codefree

Turn a WMO weather code into its text label and category.

What it does not do

Data credit

Weather data by Open-Meteo.com (CC BY 4.0). Place data from GeoNames (CC BY 4.0). Contains modified Copernicus CAMS and C3S 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 Climate Change Service information. Climate model data from the CMIP6 program (CC BY 4.0). Elevation from the Copernicus DEM GLO-90 (European Union and ESA). Based on ECMWF data (www.ecmwf.int). Contains modified Copernicus Atmosphere Monitoring Service information (CAMS ENSEMBLE data provider). Wave data from Meteo-France (E.U. Copernicus Marine Service Information), ECMWF, NOAA NCEP and DWD. Contains modified Copernicus Emergency Management Service information (GloFAS). US alerts and weather-forecast read the National Weather Service. Each answer carries its own credit.