MCP server for air-Q Cloud API — access air quality data from anywhere
Project description
mcp-airq-cloud
MCP server for the air-Q Cloud API — access air quality data from anywhere.
Unlike mcp-airq (which communicates directly with devices on the local network), this server uses the air-Q Cloud REST API to retrieve sensor data remotely.
Tools
| Tool | Description |
|---|---|
list_devices |
List configured air-Q Cloud devices |
get_air_quality |
Get latest sensor readings (supports device/location/group selection) |
get_air_quality_history |
Get historical data within a time range |
All tools are read-only — the Cloud API does not support device configuration or control.
Installation
pip install mcp-airq-cloud
Or install from source:
git clone https://github.com/CorantGmbH/mcp-airq-cloud.git
cd mcp-airq-cloud
pip install -e ".[dev]"
Configuration
You need a Cloud API key and the 32-character device ID for each device. Both can be obtained at my.air-q.com.
Option 1: Environment variable (inline JSON)
export AIRQ_CLOUD_DEVICES='[{"id": "de45d2ed777780c96c0deae7a220b745", "api_key": "your-api-key", "name": "Living Room"}]'
Option 2: Default config file (recommended)
Place a JSON file at ~/.config/airq-cloud-devices.json — no environment variable needed:
[
{"id": "de45d2ed777780c96c0deae7a220b745", "api_key": "your-api-key", "name": "Living Room"}
]
Option 3: Custom config file path
export AIRQ_CLOUD_CONFIG_FILE=/path/to/devices.json
Option 4: Global API key
If all devices share the same API key, set it once:
export AIRQ_CLOUD_API_KEY="your-api-key"
export AIRQ_CLOUD_DEVICES='[{"id": "de45d2ed777780c96c0deae7a220b745", "name": "Living Room"}]'
Device config fields
| Field | Required | Description |
|---|---|---|
id |
yes | 32-character cloud device ID |
api_key |
no | Per-device API key (falls back to AIRQ_CLOUD_API_KEY) |
name |
no | Friendly name (defaults to first 8 chars of ID) |
location |
no | Location for grouping (e.g. "Wohnzimmer") |
group |
no | Group for grouping (e.g. "zu Hause") |
Usage with Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"air-Q Cloud": {
"command": "mcp-airq-cloud",
"env": {
"AIRQ_CLOUD_DEVICES": "[{\"id\": \"<device-id>\", \"api_key\": \"<key>\", \"name\": \"Living Room\"}]"
}
}
}
}
Usage with Claude Code
claude mcp add air-Q-Cloud mcp-airq-cloud \
-e AIRQ_CLOUD_DEVICES='[{"id":"<ID>","api_key":"<KEY>","name":"<Name>"}]'
Development
pip install -e ".[dev]"
pytest
License
Apache 2.0 — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_airq_cloud-1.0.0.tar.gz.
File metadata
- Download URL: mcp_airq_cloud-1.0.0.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7572dbd6ae5a389fc9dc9c2ccae1fd73ab5f6ec79b74e9d74eeee5a706409772
|
|
| MD5 |
a7d731a829d627b1b8baeb76ebe8eee5
|
|
| BLAKE2b-256 |
a08d1574baa9b7624caa938d80405f5679ce1ccf68444c48e40736ae26757281
|
Provenance
The following attestation bundles were made for mcp_airq_cloud-1.0.0.tar.gz:
Publisher:
publish.yml on CorantGmbH/mcp-airq-cloud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_airq_cloud-1.0.0.tar.gz -
Subject digest:
7572dbd6ae5a389fc9dc9c2ccae1fd73ab5f6ec79b74e9d74eeee5a706409772 - Sigstore transparency entry: 1081710053
- Sigstore integration time:
-
Permalink:
CorantGmbH/mcp-airq-cloud@4e21ff1c2b322e0ec7b5897d6635becda706dfd2 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/CorantGmbH
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4e21ff1c2b322e0ec7b5897d6635becda706dfd2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_airq_cloud-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mcp_airq_cloud-1.0.0-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6c819e8f5324135487972613dd3ba5e42ac3a421dc3b37a18652715b7b7ab3d
|
|
| MD5 |
9d3af0f7b2b491458ee07f86cef08fb0
|
|
| BLAKE2b-256 |
c4afac900a0e151d953b22d4e99aee1fd0038b5eec9a55c1d3e251d18be7f614
|
Provenance
The following attestation bundles were made for mcp_airq_cloud-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on CorantGmbH/mcp-airq-cloud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_airq_cloud-1.0.0-py3-none-any.whl -
Subject digest:
a6c819e8f5324135487972613dd3ba5e42ac3a421dc3b37a18652715b7b7ab3d - Sigstore transparency entry: 1081710120
- Sigstore integration time:
-
Permalink:
CorantGmbH/mcp-airq-cloud@4e21ff1c2b322e0ec7b5897d6635becda706dfd2 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/CorantGmbH
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4e21ff1c2b322e0ec7b5897d6635becda706dfd2 -
Trigger Event:
release
-
Statement type: