x420_weather_forecast
Retrieve official 7-day U.S. National Weather Service forecasts for a coordinate, including temperature, precipitation chance, wind, and detailed text.
Instructions
NWS forecast: Official 7-day forecast periods for a US coordinate from the National Weather Service API (free, no key): temperature, precipitation chance, wind, short and detailed text. Source: NOAA/NWS api.weather.gov. Not professional, legal, insurance, engineering, medical, financial or tax advice. PAID: $0.03 USDC per call, settled on Base via x402 from the wallet in X420_MCP_WALLET_PRIVATE_KEY (real money). Returns: JSON: place, office, grid, periods[{name, start, end, temperature, precip_chance_pct, wind, short, detailed}] - the deliverable plus X420's signed receipt and the settlement transaction. Example input: {"lat":"32.7357","lon":"-97.1081","periods":"2"}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "x420_weather_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | latitude | |
| lon | Yes | longitude | |
| periods | No | 1–14 half-day periods (default 14) |