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

NameTypeRequiredDescription
latitudenumbernoLatitude for a radius search (use with longitude).
longitudenumbernoLongitude for a radius search (use with latitude).
radius_kmnumbernoRadius in km for a coordinate search (default 12, max 25).
countrystringnoISO 3166-1 alpha-2 country code (e.g. “US”, “IN”, “GB”).
bboxstringnoBounding box “minLon,minLat,maxLon,maxLat” to search within.
limitnumbernoMax stations to return (1-100, default 20).
_apiKeystringnoOpenAQ 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.

Regenerated from source · build June 25, 2026