Weather forecast
weatherCurrent weather, hourly (48h) and daily (9-day) forecast for any city name, US ZIP code or lat/lon worldwide, plus active US NWS alerts. Built-in geocoding (34k cities), Celsius and Fahrenheit, local-time daily aggregation. Data: MET Norway. (Free via MCP, 50 calls/day; unlimited pay-per-call over x402 at $0.002: /api/weather)
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | City name, optionally with region and/or country: 'Paris', 'Paris, FR', 'Springfield, IL, US'. Use q OR lat+lon. | |
| lat | No | Latitude -90..90 (use with lon instead of q) | |
| lon | No | Longitude -180..180 | |
| zip | No | US ZIP code (alternative to q), e.g. 10001 | |
| days | No | Daily forecast days 1-9 (default 7) | |
| hours | No | Hourly entries 0-48 (default 24) |