Waqi

v0.2.1
io.github.pipeworx-io/waqi Checked 1 day ago Published 27 days ago

WAQI MCP — World Air Quality Index (free key)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_aqi_by_city

Latest AQI for a city from the World Air Quality Index Project station network. Accepts "city" or "city, country" (e.g. "Rome, Italy"). The matched station is checked against the requested place: a station that is not plausibly in it (the upstream resolves "Venice" to Dayton, Ohio) is never served; the call errors naming what it matched and listing candidates, and the response carries a place block stating requested vs matched. Every reading carries measured_at, station identity, data_age_hours and freshness. A reading older than 24h is never returned as current: a reporting station within 100…

ParameterTypeDescription
city *stringCity name, optionally qualified by country or region after a comma (e.g., "beijing", "los-angeles", "Rome, Italy", "Paris, Texas")

get_aqi_by_location

Latest AQI for the WAQI station nearest a lat/lon. Carries measured_at, data_age_hours and freshness; a station silent for over 24h is replaced by a reporting one within 100 km or the call errors.

ParameterTypeDescription
latitude *numberLatitude
longitude *numberLongitude

get_aqi_by_station

Latest AQI for a specific WAQI station by UID (numeric). Returned as asked even if the station has gone quiet, so check freshness and data_age_hours (stale = over 24h).

ParameterTypeDescription
station_id *numberWAQI station UID (returned by search_stations)

search_stations

Search stations by keyword (city/region name). Returns station UID, name, current AQI, and location.

ParameterTypeDescription
keyword *stringSearch keyword