Current AQI by US ZIP Code
weather.airnow.current_zipGet current Air Quality Index (AQI) observations for any US ZIP code. Returns PM2.5, ozone, AQI value and category.
Instructions
Current Air Quality Index (AQI) observations from EPA AirNow for any US ZIP code. Returns PM2.5, ozone, AQI value + category (Good/Moderate/Unhealthy/...). US Gov free
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": {
"zip": "<zip>"
},
"name": "weather.airnow.current_zip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | Yes | US ZIP code — 5 digits (e.g. "10001" Manhattan, "90210" Beverly Hills, "60601" Chicago). | |
| distance | No | Search radius in miles around the ZIP centroid (default 25). If no monitor within radius, returns empty array. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |