# air-Q [Health: Active]

**Category:** 🏭 Industrial & IoT  
**Repository:** https://github.com/CorantGmbH/mcp-airq  
**GitHub Stars:** 0  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/air-q

## Description
MCP server for direct HTTP communication with air-Q air quality sensor devices

## Tools
Capabilities this server exposes over MCP:

- **list_devices** — List all configured air-Q devices (with location/group if set)
- **get_air_quality** — Get sensor readings — by `device`, `location`, or `group
- **get_air_quality_history** — Get historical sensor data as column-oriented JSON
- **plot_air_quality_history** — Render one historical chart per sensor across all matching devices
- **export_air_quality_history** — Export one historical sensor as one `csv`/`xlsx` across matching devices
- **get_device_info** — Get device metadata (name, model, firmware version)
- **get_config** — Get full device configuration
- **get_logs** — Get device log entries
- **identify_device** — Make device blink its LEDs for visual identification
- **get_led_theme** — Get current LED visualization theme
- **get_possible_led_themes** — List all available LED visualization themes
- **get_night_mode** — Get current night mode configuration
- **get_brightness_config** — Get current LED brightness configuration
- **set_device_name** — Rename a device
- **set_led_theme** — Change LED visualization (CO₂, VOC, Humidity, PM2.5, …)
- **set_night_mode** — Configure night mode schedule and settings
- **set_brightness** — Adjust LED brightness (day/night)
- **configure_network** — Set static IP or switch to DHCP
- **restart_device** — Restart the device (~30s downtime)
- **shutdown_device** — Shut down the device (manual restart required)

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "air-q": {
    "command": "uvx",
    "args": ["mcp-airq"],
    "env": {
      "AIRQ_CONFIG_FILE": "",
      "AIRQ_DEVICES": ""
    }
  }
}
```

**Requires environment variables:** `AIRQ_CONFIG_FILE`, `AIRQ_DEVICES` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What air-Q MCP server does

The air-Q MCP server gives MCP-compatible clients access to air-Q air quality sensor devices on a local network. It can retrieve current measurements, device metadata, full configuration, logs, LED settings, night-mode settings, and available visualization themes. Sensor selection can use an exact or partial device name, or match devices by configured location or group.

Historical measurements stored on a device’s SD card are available as column-oriented JSON. The server can also render historical charts and export historical data as CSV or XLSX. When several devices match a location or group, charts include a series for each device, while exports combine matching devices in a single file.

## How it works

The air-Q MCP server uses the `aioairq` asynchronous Python library to communicate directly with configured devices. Device records contain an IP address or mDNS hostname and a password. Optional names, locations, and groups provide human-readable selection and multi-device filtering.

The same executable can run as an MCP server or as a command-line tool. MCP clients invoke the exposed tools, while shell users can call equivalent hyphenated or underscored subcommands. Successful CLI results go to standard output; errors go to standard error with exit code 1. Interactive terminals can explicitly start MCP mode with `mcp-airq serve`.

Only one selector—device, location, or group—may be used for a request. If just one device is configured, it is selected automatically. Location and group matching is case-insensitive and supports substring matches.

## Setup and configuration

Install the package with `pip install mcp-airq`, or run it without a local installation through `uvx mcp-airq`. Create a JSON device list and point `AIRQ_CONFIG_FILE` at it, or provide the same list as JSON in `AIRQ_DEVICES`. Each device entry needs `address` and `password`; `name`, `location`, and `group` are optional. Because the file contains credentials, restrict its permissions, such as with `chmod 600`.

Claude Desktop can start the server with `uvx` and an `AIRQ_CONFIG_FILE` environment setting. Claude Code and OpenAI Codex can register it through their respective MCP commands.

## Tools and capabilities

Read operations cover device discovery, live air-quality readings, historical data, charts, exports, metadata, configuration, logs, LED themes, night mode, and brightness. Configuration operations can rename devices, change LED themes, set night-mode schedules, adjust day/night brightness, and switch networking between a static IP and DHCP.

Device-control operations identify a unit by blinking its LEDs, restart it, or shut it down. Restarting causes about 30 seconds of downtime; a shut-down device requires a manual restart.

## Limitations and notes

The devices must be reachable on the local network, and credentials are required for configured entries. Historical charts and exports depend on data stored on the device’s SD card. Shutdown is not a reversible software action through the listed tools because the device must be restarted manually.

_Full upstream README: https://allmcps.com/mcp/air-q/readme_

