PitCanary is available from January 2027. Subscribe to the newsletter and we email you the day ordering opens. Subscribe

PitCanary

An air quality sensor for Home Assistant and AI

PitCanary is an indoor climate monitor for offices and home offices, and an air quality sensor that Home Assistant adds by itself. Every reading reaches you six ways: the dashboard, exports, the API, your AI assistant through MCP, MQTT for Home Assistant and building systems, and a local API on your own network.


Works with

  • Anthropic
  • OpenAI
  • Google Gemini
  • Mistral AI
  • Meta Llama
  • Perplexity
  • GitHub Copilot
  • Cursor
  • Home Assistant
  • MCP
  • MQTT
  • Node-RED
  • openHAB
  • ioBroker
  • n8n
  • Grafana
  • InfluxDB
  • Prometheus
  • Homebridge
  • HiveMQ
  • REST API

How do you get the data out of a PitCanary?

A PitCanary's readings leave by six routes: the dashboard, export, the API, MCP, MQTT and the local API. Pick the route that fits the system on the other end. Only MQTT pushes, straight from each device to your own broker, without passing our servers. Every other route waits until it is asked. One API sits behind them all: the dashboard, the MCP server and the exports use the same API you get.

Dashboard

For people

Every room, its Room score, the timeline, trends and alerts by email.

API

For code and BI tools

Current readings and full history over HTTPS and JSON, with your own key.

MCP

For AI assistants

The same data as tools for Claude, ChatGPT or a coding agent. Four tools are free.

Export

For spreadsheets and reports

CSV export of any period, and scheduled reports by email.

MQTT

For Home Assistant and building systems

A JSON reading every minute, straight from the device to your broker.

Local API

For your own network, without us

The current reading from the device itself, with no internet in between.


A Home Assistant air quality sensor that adds itself.

PitCanary works with Home Assistant today: through MQTT discovery, Home Assistant adds every PitCanary as a device with all its sensors. You enter your MQTT broker once per building, and each PitCanary sends its readings there once a minute, as plain JSON. Those messages go straight to your broker and never pass our servers. A single CO2 sensor gives Home Assistant one number; a PitCanary gives it the air, the climate, the light, the sound and whether the room is in use. Ventilation can follow CO2, blinds can follow the light, and the heating can follow the meeting room's booking.

Adds itselfThrough MQTT discovery

Home Assistant and current versions of openHAB add every PitCanary by themselves. Each device arrives with its Room score, CO2, temperature, humidity, VOC index, NOx index, air pressure, sound, light and presence, ready for automations.

Every minuteThe device pushes

A new reading arrives every 60 seconds by default. The dashboard keeps the history beside it, so Home Assistant handles the automations and PitCanary explains the CO2, humidity and temperature over weeks.

Subscribe oncePick the fields you want

Node-RED, n8n, ioBroker, Homey, Domoticz, FHEM and Jeedom read one topic per device. Telegraf with InfluxDB or TimescaleDB, Grafana and Prometheus store and chart the readings. ThingsBoard and Losant take them in as IoT devices.

Through a pluginOr a gateway

Loxone from Config 15.3, Niagara, KNX, Hubitat and Apple Home through Homebridge. Splunk and Logstash collect the readings for logging and analysis.

Brokers

Mosquitto, EMQX, HiveMQ, VerneMQ and NanoMQ, on your own network or in the cloud. The device signs in with a username and password, and uses TLS when you switch it on.


An indoor air quality API with your own key.

The PitCanary API is a REST API that returns each room's CO2, temperature, humidity, light, sound, Room score, timeline and alerts as JSON over HTTPS. It serves everything the dashboard shows, and it is the same API our dashboard and MCP server use. Each team member has an API key, optionally limited to one location. Ask /room/{id}/latest/ for now, /room/{id}/history/ for any period.

Read the PitCanary API documentation: how to start, every endpoint, limits and examples.

GET https://api.pitcanary.com/room/12/history/
    ?from=2026-11-05&to=2026-11-05
X-API-Key: <your key>

{
  "room_id": 12,
  "resolution": "tenmin",
  "buckets": [
    { "bucket": "2026-11-05 10:00:00", "co2": { "avg": 720 }, "temp": { "avg": 21.4 },
      "hum": { "avg": 47.0 }, "lux": { "avg": 420 }, "dba": { "avg": 58 }, "occ": { "avg": 100 } },
    …
  ]
}

Ask Claude or ChatGPT about a room.

Office climate today PitCanary MCP · connected
How is the climate in the office right now?
Used list_roomsPitCanary
Request{ }
Response{ "rooms": [ { "id": 21, "name": "Open office", "location": "Headquarters" }, { "id": 22, "name": "Focus room north" }, { "id": 23, "name": "Focus room south" }, { "id": 24, "name": "Library" }, … 6 more ] }
Used compare_roomsPitCanary
Request{ "from": "2026-11-05", "to": "2026-11-05" }
Response{ "at": "09:42", "rooms": [ { "id": 21, "score": 81, "co2_ppm": 720, "temp_c": 21.4, "rh": 44, "sound_dba": 52, "presence": true }, { "id": 22, "score": 62, "temp_c": 19.1 }, { "id": 23, "score": 93, "temp_c": 21.2 }, … 7 more ] }

Good overall. Eight of the ten rooms are green, with an average Room score of 86. CO₂ is still low everywhere, between 480 and 720 ppm.

Two rooms to watch. Focus room north is cold at 19.1 °C, the heating came on late there. The open office is already busy: voices, 52 dBA.

I want to work quietly today, no distractions. Which room should I pick?
Used get_location_timelinePitCanary
Request{ "location_id": 3, "date": "2026-11-05" }
Response{ "free_all_day": [ "Focus room north", "Focus room south", "Library" ] }
Used compare_roomsPitCanary
Request{ "from": "2026-10-23", "to": "2026-11-04" }
Response{ "Focus room south": { "sound_dba_p50": 34, "co2_ppm_p95": 880, "temp_c": 21.4 }, "Focus room north": { "sound_dba_p50": 33, "temp_c_now": 19.1 }, "Library": { "sound_dba_p50": 41, "co2_ppm_p95": 1160 } }
Used get_timelinePitCanary
Request{ "room_id": 23, "date": "2026-11-05" }
Response{ "temp_c": [ 21.2, 22.1 ], "direct_sun_from": "15:30" }

Take Focus room south. It has been empty since 14:00, and it is the quietest room that is also warm: about 34 dBA on a normal day, and CO₂ stays under 900 ppm while it is in use.

Focus room north is just as quiet, but still 19 °C. The library is empty too, but people talk there, and CO₂ passes 1,100 ppm by the afternoon.

One thing: the sun gets in from about 15:30. Lower the blind then.

John sits by the window in the open office. He gets a headache almost every day around 15:00 to 16:00. Could it be the CO₂?
Used get_historyPitCanary
Request{ "room_id": 21, "from": "2026-10-23", "to": "2026-11-05", "metrics": [ "co2" ] }
Response{ "unit": "ppm", "by_hour": { "10:00": 740, "13:00": 980, "15:00": 1340, "16:00": 1410, "17:00": 1050 }, "days_over_1200": 9, "of_days": 10 }
Used get_trendsPitCanary
Request{ "room_id": 21, "from": "2026-10-23", "to": "2026-11-05" }
Response{ "shares": { "air": { "metric": "co2", "share_pct": 58, "occupied": { "share_pct": 31 }, "empty": { "share_pct": 100 }, "diagnosis": { "verdict": "use_load", "owner": "ventilation" } } } }
Used get_historyPitCanary
Request{ "room_id": 25, "from": "2026-10-23", "to": "2026-11-05", "metrics": [ "temp" ] }
Response{ "unit": "°C", "15:00": 24.6, "direct_sun": "14:30–16:30" }
Used get_standardsPitCanary
Request{ "room_id": 21 }
Response{ "standard": "NEN-EN 16798-1", "category": "II", "co2_warn_ppm": 1220, "source": "https://…/16798-1" }

Quite possibly, and it is not just him. The open office went over 1,200 ppm on nine of the last ten working days, every time between about 14:40 and 16:30, with a peak around 1,410 ppm at 16:00. That is above category II, the level where headaches and tiredness are common.

Two things stand out. The air is fine while the room is empty and falls short while it is busy, so the ventilation does not keep up with a full afternoon. And the window side gets direct sun from 14:30, up to 24.6 °C, which makes it feel worse.

I only see the room, not John. The quickest test: turn the ventilation up from 14:00 for a week. I will compare the CO₂ and the Room score with these ten days.

Ask about any room…

Three questions, answered from the same data as the dashboard. Open any tool call to see what was fetched.


An MCP server and connector for Claude and ChatGPT.

The PitCanary MCP server gives Claude, ChatGPT, Claude Code, Cursor or any other MCP client the data of your rooms as tools. MCP, the Model Context Protocol, is the open standard that lets an AI use tools. With one URL and your key, the client gets that key's rights: a read key reads, a read-and-change key also changes. Every reading carries its unit, room, minute and standard, and every timeline event its cause. So an AI can say why meeting room 2 was stale without guessing.

Four tools are free and need no account: check_values, find_regulations, get_regulation and get_reference. They answer questions about indoor climate rules in 76 countries.

Read about the PitCanary MCP server: what you can ask, the tools, and how to add it as a Claude or ChatGPT connector.

Read

  • Rooms and locations
  • The Room score per room, over time
  • Every measurement, with its good band
  • The timeline, with events and causes
  • Each room’s standard and thresholds
  • Alerts, and what tripped them
  • Whether a room is in use, never who
  • Sensors, and the radios they overheard

Change

  • Name and arrange rooms and locations
  • Set the room type, which sets the standard
  • Tune thresholds and the Room score
  • Create alert rules and acknowledge alerts
  • Claim, pair, rename and configure sensors
  • Switch sound classification on or off

The dashboard, a hallway screen and CSV export.

The PitCanary dashboard shows every room, its Room score and its timeline in a browser, and exports any room and period as CSV. Open it on a phone, a laptop, or a screen on the office wall. When someone needs the numbers rather than the screen, export them.

DashboardYou open it

Every room and its Room score, the timeline with what happened and why, trends over weeks and months, and alerts by email.

Hallway modeAny screen

Turns a screen on the office wall into a live overview that rotates through your rooms all day.

ExportYou download

Any room, any period, as CSV, with the Room score and events alongside. Or a scheduled report by email. Yours to keep, also after you leave.


A local API, with no cloud at all.

Every PitCanary answers a local API on your own network, without the internet in between. Our servers see nothing. There is nothing to set up and nothing to pay: a PitCanary in local mode never counts toward a plan.

Local APIYou pull, on site

http://pitcanary-xxxxxx.local/api/v1/current

The current reading, the Room score the device worked out itself, and its colour. One request, plain JSON.

MQTTThe device pushes

Or let it push to your own broker once a minute.

What you give upLocal mode

No history, no timeline, no reports, no AI. The device keeps nothing and the cloud never sees it. If you want the day written down, that is what the subscription is for.

Updates

Security updates still arrive, with or without a subscription.


What can each route see?

Each route sees what you can see, and nothing else. The API, MCP and exports return what the dashboard shows, and no more. MQTT and the local API stay on your own network.

  • Nothing is recorded.

    Sound is classified on the device; only labels leave it, and you can switch that off.

  • It is about the room, never a person.

    Whether a room is in use, never who is in it. Every route gets the same.

  • Your key, your scope, your data.

    A key only sees its own locations and rights, for code and AI alike. Data stays in the EU (Finland), and you can download or delete it.

  • MQTT stays on your network.

    The device talks to your broker directly. Our servers never see those messages.


Does PitCanary have an MCP server?

Yes. It serves the PitCanary API as tools for any MCP client, with read and write rights matching your key. Claude, ChatGPT, Claude Code, Codex and others connect with one URL and one key.

Can I use the MCP without a PitCanary?

Yes. Four tools need no account: they check readings from any sensor against the rules of 76 countries. Your own rooms need a PitCanary account. More about the MCP server.

Does PitCanary have an API?

Yes. Every reading of every room every minute, plus rooms, locations, standards, timeline, alerts and exports, over HTTPS and JSON. Every team member has their own key, optionally limited to one location.

Can PitCanary be a Home Assistant air quality sensor?

Yes, through MQTT discovery. Home Assistant adds every PitCanary by itself, with its CO2, temperature, humidity, VOC index, NOx index, air pressure, sound, light and presence sensors. Enter your broker once per building, and a reading arrives every minute.

Does the data go through your servers with MQTT?

No. Each PitCanary publishes straight to your own broker. Our servers are not in between.

Can an AI change my settings?

Only with a key that has write rights, and only within that key's locations. A viewer key can read and nothing else. Every change shows on the dashboard like any other.

Is there an extra cost for any of these routes?

No. The API, MCP, MQTT and the local API are part of every plan, including the free dashboard for one PitCanary.

What can the AI not see?

Audio, images, individuals. The device records none of them. The AI reads the same data you see on the dashboard.

Where is the data stored?

In the EU, on servers in Finland run by a German company. It is yours: download it, pull it through the API, or delete it.

Your data, in your systems. Start with one room.

The dashboard, API, MCP, MQTT and the local API come free with it.