weather_history
Historical daily weather from the nearest NOAA station to a city, lat/lon or ZIP: temperature, precipitation, snow and wind for up to 62 days. Paid via x402 ($0.003 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_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Last day YYYY-MM-DD (default today). | |
| 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. | |
| start | No | First day YYYY-MM-DD (default: 13 days before end). | |
| 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. | |
| station | No | GHCN-Daily station id, e.g. USW00094728, instead of a location. |