Weather Nws
weather_nwsUS weather from the National Weather Service for a latitude/longitude: 7-day (or hourly) forecast periods with temperature, precipitation chance, wind and text forecast, plus all active NWS watches, warnings and advisories for that point. US states, territories and coastal waters only. Returns JSON with: location, forecast, alertCount, alerts. Price: $0.01 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/weather-nws
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": "weather_nws"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude (-90..90), US location | |
| lon | Yes | Longitude (-180..180), US location | |
| units | No | us (F, mph; default) or si (C, km/h) | |
| hourly | No | true for the next 48 hourly periods instead of 14 day/night periods |