Skip to main content

MCP server for air-Q Cloud API — access air quality data from anywhere

Project description

mcp-airq-cloud

MCP PyPI Total Downloads Python License Tests Coverage

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: Config file

export AIRQ_CLOUD_CONFIG_FILE=/path/to/devices.json

Option 3: 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_airq_cloud-0.1.2.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_airq_cloud-0.1.2-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_airq_cloud-0.1.2.tar.gz.

File metadata

  • Download URL: mcp_airq_cloud-0.1.2.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_airq_cloud-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0e6d3da54066e7d607101faf5f06f011ae54da36a981c05d6b96074c61a760ec
MD5 d0a801aa0ab74667212446e8ac86b35f
BLAKE2b-256 504e481502bc4b8697d48ed301ce356b4fee4e12449d8a0d837e50a2a3f145d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_airq_cloud-0.1.2.tar.gz:

Publisher: publish.yml on CorantGmbH/mcp-airq-cloud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_airq_cloud-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mcp_airq_cloud-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_airq_cloud-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 91382cbe5657891ff54e79eaa6c52810e0eb75d316fd6716eca626e485e5da44
MD5 2c6c1926e8b79fa15a55c5beb05af663
BLAKE2b-256 a08e0e08895b9ed11d4ae0d02eeb83d221ef7c90161d95f3b0496bce9c68232a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_airq_cloud-0.1.2-py3-none-any.whl:

Publisher: publish.yml on CorantGmbH/mcp-airq-cloud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page