find_stations
Pack: openaq · Endpoint: https://gateway.pipeworx.io/openaq/mcp
Find OpenAQ air-quality monitoring stations by location: coordinates+radius (nearest first), a country (ISO 3166-1 alpha-2 code), or a bounding box. Returns station id, name, country, coordinates, and the pollutants each measures (with sensor ids). Use get_latest with a station id, or get_measurements with a sensor id.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | no | Latitude for a radius search (use with longitude). |
longitude | number | no | Longitude for a radius search (use with latitude). |
radius_km | number | no | Radius in km for a coordinate search (default 12, max 25). |
country | string | no | ISO 3166-1 alpha-2 country code (e.g. “US”, “IN”, “GB”). |
bbox | string | no | Bounding box “minLon,minLat,maxLon,maxLat” to search within. |
limit | number | no | Max stations to return (1-100, default 20). |
_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":"find_stations","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.