
Connect Airthings to the freddy CLI
Airthings monitors your indoor air quality: radon, CO2, humidity, temperature, VOCs, and particulate matter.
What you can do with Airthings data in the freddy CLI
- Query your Airthings humidity from a terminal with `freddy query`
- Pipe your Airthings temperature into a script for a headless agent
- Query your Airthings VOCs from a terminal with `freddy query`
- Pipe your Airthings PM2.5 into a script for a headless agent
- Query your Airthings radon from a terminal with `freddy query`
Set up in a few steps
- Install the freddy CLI: run npm i -g @freddy-coach/cli (or use npx @freddy-coach/cli).
- Sign in with the connection scope: freddy login --scope "mcp account:read connections:write".
- Connect Airthings: run freddy connect with its slug (freddy providers lists them), then approve in the browser.
- Read your data: run freddy metrics to see what is available, then freddy query --metrics hrv,sleep_duration --days 7.
- From a headless agent, run the same commands with --json for machine-readable output.