EPA AirNow
liveEnvironmentHealthGovernmentOfficial US real-time + forecast AQI. >2,000 monitoring sites.
Tools
current_by_ziprequired: zip_codeLatest observed air quality index (AQI) for the EPA AirNow reporting area nearest a US ZIP code: one row per pollutant (ozone, PM2.5, PM10) with the AQI value, category (Good / Moderate / Unhealthy …)
zip_codereqstringUS ZIPdistance_milesoptnumberSearch radius (default 25)Try it
current_by_locationrequired: latitude, longitudeLatest observed air quality index (AQI) for the EPA AirNow reporting area nearest a latitude/longitude in the US: one row per pollutant with AQI value, category, observation hour, agency and yesterday
latitudereqnumberLatitudelongitudereqnumberLongitudedistance_milesoptnumberSearch radiusTry it
forecast_by_ziprequired: zip_codeEPA AirNow air quality (AQI) forecast for a US ZIP code — today and up to three days ahead, per pollutant, with the forecast category, Action Day flag and the forecaster's discussion text. Pass a date
zip_codereqstringUS ZIPdateoptstringYYYY-MM-DDdistance_milesoptnumberSearch radiusTry it
observations_in_bboxrequired: bbox, start_date, end_dateHourly EPA AirNow monitoring-site observations inside a bounding box for a span of UTC hours (max 24 hours per call): per site and hour, the AQI for ozone, PM2.5, PM10 and NO2 and the measured concent
bboxreqstringminLon,minLat,maxLon,maxLatstart_datereqstringYYYY-MM-DDT00end_datereqstringYYYY-MM-DDT23parametersoptstringComma-sep pollutantsdata_typeoptstringA | C | BverboseoptbooleanInclude site/county fieldsTry it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/airnow/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/airnow/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"current_by_zip","arguments":{"zip_code": "example"}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("current_by_zip", {"zip_code":"example"});// Or ask in plain English:
const answer = await px.ask("official us real-time + forecast aqi");