EPA AirNow

live EnvironmentHealthGovernment

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

4 tools
0ms auth
free tier 50 calls/day

Tools

current_by_zip required: zip_code

Latest AQI by US ZIP code.

Parameters
Name Type Description
zip_code req string US ZIP
distance_miles opt number Search radius (default 25)
Try it
current_by_location required: latitude, longitude

Latest AQI nearest a lat/lon.

Parameters
Name Type Description
latitude req number Latitude
longitude req number Longitude
distance_miles opt number Search radius
Try it
forecast_by_zip required: zip_code

AQI forecast for a ZIP code.

Parameters
Name Type Description
zip_code req string US ZIP
date opt string YYYY-MM-DD
distance_miles opt number Search radius
Try it
observations_in_bbox required: bbox, start_date, end_date

Historical AQI observations in a bounding box.

Parameters
Name Type Description
bbox req string minLon,minLat,maxLon,maxLat
start_date req string YYYY-MM-DDT00
end_date req string YYYY-MM-DDT23
parameters opt string Comma-sep pollutants
data_type opt string A | C | B
verbose opt boolean Include 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");