EPA AirNow

liveEnvironmentHealthGovernment

Official US real-time + forecast AQI. >2,000 monitoring sites.

4tools
0msauth
free tier50 calls/day

Tools

current_by_ziprequired: zip_code

Latest AQI by US ZIP code.

Parameters
NameTypeDescription
zip_codereqstringUS ZIP
distance_milesoptnumberSearch radius (default 25)
Try it
current_by_locationrequired: latitude, longitude

Latest AQI nearest a lat/lon.

Parameters
NameTypeDescription
latitudereqnumberLatitude
longitudereqnumberLongitude
distance_milesoptnumberSearch radius
Try it
forecast_by_ziprequired: zip_code

AQI forecast for a ZIP code.

Parameters
NameTypeDescription
zip_codereqstringUS ZIP
dateoptstringYYYY-MM-DD
distance_milesoptnumberSearch radius
Try it
observations_in_bboxrequired: bbox, start_date, end_date

Historical AQI observations in a bounding box.

Parameters
NameTypeDescription
bboxreqstringminLon,minLat,maxLon,maxLat
start_datereqstringYYYY-MM-DDT00
end_datereqstringYYYY-MM-DDT23
parametersoptstringComma-sep pollutants
data_typeoptstringA | C | B
verboseoptbooleanInclude site/county fields
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/airnow/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("current_by_zip", {"zip_code":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("official us real-time + forecast aqi");