weather_forecast
Weather forecast by city name, lat/lon or US ZIP: current conditions plus a 1 to 7 day forecast with highs, lows, rain chance and wind. NOAA in the U.S., MET Norway elsewhere. Paid via x402 ($0.002 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment. Free trial: 3 unpaid calls/day per IP on this tool (HTTP: header X-Free-Trial: 1; MCP: automatic when no payment is sent).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "weather_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude in decimal degrees (with lon). | |
| lon | No | Longitude in decimal degrees (with lat). | |
| zip | No | US ZIP code instead of lat/lon. | |
| city | No | City name, optionally with state or country, e.g. "Austin, TX", "Lyon, France" or "Tokyo" (34,000 cities). Use instead of lat/lon. | |
| days | No | Forecast days (default 3). | |
| hours | No | Also return this many hourly steps (default 0). | |
| state | No | Optional state or region to disambiguate city, e.g. TX. | |
| country | No | Optional country (ISO code or name) to disambiguate city, e.g. FR. | |
| timezone | No | IANA timezone for day boundaries outside the U.S. (default UTC). |