Skip to main content
Glama
Sensio Air MCP Server

Sensio Air MCP Server

Sensio Air MCP Server

Ask your AI assistant about your indoor air quality in natural language

License: MIT Node.js Version

Connect your Sensio Air sensors to Claude Desktop, Windsurf, or ChatGPT. Ask questions like:

  • "What's my indoor air quality right now?"

  • "Show me CO2 levels for the past 24 hours"

  • "What allergens are elevated?"

✨ Features

  • πŸ”’ Secure local API key storage

  • πŸ“Š Real-time air quality data (CO2, VOC, temperature, humidity)

  • 🦠 Allergen tracking (pollen, mold, mites, dander)

  • πŸ“ˆ Historical data queries

  • ⚑ Smart caching

Related MCP server: airly

πŸš€ Quick Start

1. Install

git clone https://github.com/pineapplecoding/sensio-mcp.git
cd sensio-mcp
npm install
npm run build:standalone

2. Get Credentials

  • API Key: sensio.co β†’ Settings β†’ API Access

  • Device Serial: Your Devices page

3. Configure

Claude Desktop - Edit config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "sensio-air": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/sensio-mcp/dist/index.js"],
      "env": {
        "SENSIO_API_KEY": "your_api_key",
        "ALLOWED_DEVICE_SERIALS": "YOUR_SERIAL"
      }
    }
  }
}

Windsurf/Cline/Continue: Use same config format above.

4. Restart & Test

Quit and restart your AI assistant, then ask: "What's my indoor air quality?"

πŸ› οΈ What You Can Ask

  • "What's my current air quality?" - Latest readings

  • "Show CO2 for the past 24 hours" - Historical data

  • "What allergens are elevated?" - Particle breakdown

  • "List my devices" - Configured sensors

πŸ’¬ ChatGPT Integration

ChatGPT doesn't support MCP. Instead, create a Custom GPT with Actions:

  1. Go to ChatGPT GPT Editor

  2. Follow the guide in CHATGPT_INTEGRATION.md

βš™οΈ Advanced Options

Optional environment variables:

  • CACHE_TTL_LATEST - Cache duration for latest readings (default: 15s)

  • CACHE_TTL_HISTORY - Cache duration for history (default: 300s)

  • MAX_TIME_WINDOW_DAYS - Max historical window (default: 30 days)

See CUSTOMER_SETUP.md for detailed configuration.

πŸ”§ Troubleshooting

"Authentication credentials were not provided"

  • βœ… Verify your API key is correct (no extra spaces)

  • βœ… Check the API key is active at sensio.co/settings

  • βœ… Ensure you're using the API key, not the account password

"Access denied to device"

  • βœ… Verify device serial is correct

  • βœ… Check device is registered to your account

  • βœ… Ensure serials are comma-separated with no spaces: DEVICE1,DEVICE2

AI assistant doesn't see the tools

  • βœ… Completely quit and restart the AI assistant (not just reload)

  • βœ… Check the path to dist/index.js is absolute (starts with / or C:\)

  • βœ… Verify Node.js is installed: node --version

  • βœ… Check the AI assistant's logs for errors

"Module not found" errors

  • βœ… Run npm install in the sensio-mcp directory

  • βœ… Run npm run build:standalone

  • βœ… Verify dist/index.js exists

Still having issues?

πŸ”’ Security & Privacy

  • Your API key stays local in your AI assistant config

  • Direct connection to Sensio API (no third parties)

  • Device scoping with ALLOWED_DEVICE_SERIALS

πŸ“š Documentation

πŸ’¬ Support

πŸ“„ License

MIT License - see LICENSE


Made with ❀️ for the Sensio community

Available Tools

4 tools
sensio_get_historyB

Get historical indoor air quality data for a time window. Returns time-series data with configurable resolution for trend analysis.

Inputs: end (required), start (required), device_serials (required), resolution.

sensio_get_latestA

Get the latest indoor air quality readings for one or more devices. Returns current status, sensor data, air quality indices, and allergen levels.

Inputs: device_serials (required).

sensio_get_particle_breakdownA

Get detailed particle class breakdown for allergen analysis. Shows top contributing particle types (mold species, pollen types, etc.) for a time window.

Inputs: end (required), start (required), device_serial (required), top_k.

sensio_list_device_serialsB

List all configured Sensio device serials. Returns device serial numbers.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation4/5

    Each tool has a distinct role: device listing, latest snapshot, historical time series, and particle-class breakdown. The only mild overlap is between get_history and get_particle_breakdown, since both accept a time window, but the descriptions clearly separate aggregate time-series data from allergen particle composition.

    Naming Consistency5/5

    All tools share the sensio_ prefix and follow a predictable verb_noun pattern: list_device_serials, get_latest, get_history, get_particle_breakdown. The use of list for enumeration and get for retrieval is semantically consistent.

    Tool Count5/5

    Four tools is well-scoped for a focused read-only air quality data server. Each tool covers a distinct query need without redundant endpoints.

    Completeness4/5

    The surface covers the core read workflows: discovering devices, fetching current readings, retrieving history, and drilling into particle composition. Minor gaps exist around device metadata/status and aggregate or alert-oriented queries, but these are not essential for the apparent purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with Home Assistant smart home devices through natural language. Control devices, manage automations, query entity states, and retrieve historical data across your home automation system.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables natural language interaction with air quality data from Airly, including real-time measurements, nearby stations, and forecasts.
      20 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables a household assistant to answer personalized air-quality and pollen questions, plan outdoor activities, issue threshold-based alerts, and log symptoms using live Open-Meteo data. It exposes these capabilities as tools with spoken responses and structured content for MCP clients.
      MIT