Purpose: This project is a local-first, auditable small MCP server in the honest-mcp series. Its goal is to connect the public air quality API of GIOŚ (the Polish Chief Inspectorate of Environmental Protection) to AI assistants, so that users can ask about air quality conditions in Polish cities in natural language.
Main capabilities: It provides four MCP tools. list_stations searches the monitoring station network by city or province; get_station_sensors lists the sensors installed at a station; get_sensor_readings returns recent measurements from a single sensor over about 24 hours; get_air_index returns the station overall air quality index (levels include very good, good, moderate, poor, very poor, dangerous, with category names returned in Polish) as well as key pollutant codes. The data source is the public JSON-LD API at api.gios.gov.pl/pjp-api/v1, refreshed hourly for each sensor.
Field mapping: All fields of list_stations and get_sensor_readings use English keys; all fields of get_station_sensors use English keys (including indicator_id); in get_air_index, only station_id, index_calculated_at, index_source_data_at, index_category and critical_pollutant_code use English keys, while the remaining fields (such as the overall index value, individual pollutant fields and status flags) retain Polish keys. Text values are not translated and remain in Polish, for example index_category is "Bardzo dobry" (very good) and indicator_name is "tlenek węgla" (carbon monoxide).
Usage: It must be installed locally and registered as an MCP server with an MCP-capable client. The documentation gives an example of registering it in Claude Code, as well as how to configure it in Claude Desktop's claude_desktop_config.json; on Windows, the venv/bin/... paths must be replaced with venv\Scripts\pip and venv\Scripts\python.exe. A typical query takes two steps: first list_stations(city="Kraków", limit=5) to obtain the station ID, then get_air_index(station_id=...) to obtain the level and key pollutants; to query a station's PM2.5 readings over the last 24 hours, first use get_station_sensors(station_id=400) to find the PM2.5 sensor ID, then get_sensor_readings(sensor_id=...).
Use cases: Suitable for users living in Polish cities, especially in winter when they need to distinguish "moderate" from "very poor" air quality to decide on indoor training or opening windows; it is also suitable for developers or everyday users who need to query official Polish air quality monitoring data through AI conversation.
Limitations: It covers only GIOŚ's Polish air quality data; some fields and text values remain in Polish and are not translated; the data depends on the availability of the upstream public API and its hourly refresh cadence; the project runs locally, with no cloud relay and no telemetry. The project uses the MIT license.