Weather forecast and alerts
weather_forecastGet the weather forecast for any latitude/longitude in the world, or a US street address: the next 7 days in day and night periods (temperature, rain, wind, summary). US locations use the National Weather Service and include any active watches, warnings or advisories; elsewhere the forecast is from MET Norway (in °C and km/h).
$0.002 USDC per call over x402. Failed calls cost nothing. Call without payment to get a quote. The first 3 calls a day through this tool server are free (no wallet needed).
When to use: You need the forecast for a place. Use instead: airport_delays for flight delays; geocode_address when you need coordinates for something else. Parameters: Give lat and lon (anywhere in the world) or address (US street addresses only). periods: 1-14 twelve-hour periods, default 14 (7 days). Returns: forecast[] with name, start and end, temperature, rain, wind and a summary; in the US, active NWS alerts too.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude, e.g. 38.90 (anywhere in the world). Give lat and lon, or a US address. | |
| lon | No | Longitude, e.g. -77.04 | |
| address | No | US street address instead of lat/lon, e.g. "1600 Pennsylvania Ave NW, Washington, DC". | |
| payment | No | Base64 x402 payment payload. Omit it to receive a quote; sign that and call again. | |
| periods | No | How many 12-hour periods, 1-14 (default 14, i.e. 7 days). |