air_quality_near
Pack: openaq · Endpoint: https://gateway.pipeworx.io/openaq/mcp
Get the latest air-quality readings (PM2.5, PM10, O3, NO2, SO2, CO, etc.) at the monitoring station NEAREST to a latitude/longitude. PREFER for “air quality near me”, “what is the air quality at
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | yes | Latitude in decimal degrees (e.g., 40.785). |
longitude | number | yes | Longitude in decimal degrees (e.g., -73.968). |
radius_km | number | no | Search radius in km (default 12, max 25 — OpenAQ limit). |
_apiKey | string | no | OpenAQ API key (optional; the gateway supplies one). |
Example call
curl -X POST https://gateway.pipeworx.io/openaq/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"air_quality_near","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"openaq": {
"url": "https://gateway.pipeworx.io/openaq/mcp"
}
}
}
See Getting Started for client-specific install steps.