# Indoor Air Quality Trend Analyzer AI Agent Connect

> Indoor Air Quality Trend Analyzer MCP lets your AI client process complex environmental logs. It identifies pollutant excursions, calculates rolling averages for PM2.5, CO2, VOC, and humidity, and links specific spikes to ventilation activity. You can use it to find data gaps, compare air quality between different rooms, and track how pollutants move over time.

## Overview
- **Category:** analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_1A5qoK06GaZknmskrseDQOOb8BgJUYAAeZjannmD/ai-agent-connect
- **Tags:** air-quality, telemetry, statistics, pollution, ventilation

## Description

You can use this MCP to make sense of messy environmental sensor data. Instead of manually scrolling through CSV logs or telemetry streams, you let your AI agent do the heavy lifting. It can scan through massive datasets to find exactly when CO2 or PM2.5 levels crossed your safety thresholds. 

If you need to know if your HVAC system is actually working, the MCP correlates pollutant spikes with ventilation events to show you the direct impact of airflow on air purity. You can also run spatial analyses to see how air quality differs from one room to another or check for data gaps that might be skewing your averages. It turns raw numbers into a clear picture of your indoor environment's health.

## Tools

### get_air_quality_statistics
This tool provides a statistical overview of PM2.5, CO2, VOC, and humidity levels over a specific timeframe.

### analyze_trends_and_gaps
Use this to identify data continuity issues and determine the direction of air quality movement.

### compare_rooms
This tool compares air quality profiles across different physical locations.

### correlate_metrics_and_events
This tool determines the relationship between specific pollutant spikes and ventilation activities.

### detect_air_quality_excursions
This tool finds instances where air quality metrics crossed your defined safety or comfort limits.

## Prompt Examples

**Prompt:** 
```
Give me the average air quality statistics for the last 24 hours using a 60-minute window.
```

**Response:** 
```
The average levels for the last 24 hours are: PM2.5: 12.5 µg/m³, CO2: 650 ppm, VOC: 0.2 mg/m³, and Humidity: 45%.
```

**Prompt:** 
```
Did any CO2 levels go above 1200 ppm between 2024-01-01T00:00:00Z and 2024-01-01T23:59:59Z?
```

**Response:** 
```
Yes, there was one excursion where CO2 reached 1350 ppm at 2024-01-01T14:30:00Z.
```

**Prompt:** 
```
Are there any gaps in the sensor data for the period from 2024-01-01T08:00:00Z to 2024-01-01T12:00:00Z?
```

**Response:** 
```
There is one missing interval of 15 minutes between 2024-01-01T10:15:00Z and 2024-01-01T10:30:00Z.
```

## Capabilities

### Pollutant Excursion Detection
Your agent identifies when air quality crosses specific safety or comfort thresholds.

### Ventilation Impact Analysis
Your agent correlates pollutant spikes with ventilation events to measure effectiveness.

### Spatial Air Quality Comparison
Your agent compares air quality profiles between different rooms or locations.

### Data Integrity Checks
The MCP detects data gaps and continuity issues in your sensor telemetry.

### Statistical Summarization
Your agent calculates rolling averages for PM2.5, CO2, VOC, and humidity.

## Use Cases

### HVAC Performance Audits
Use the MCP to see if increasing ventilation actually lowers CO2 or VOC levels as expected.

### Safety Compliance Monitoring
Automatically find each time a pollutant exceeded a user-defined limit during a work shift.

### Sensor Network Health Checks
Identify missing data intervals to ensure your environmental monitoring is continuous.

### Zonal Air Quality Comparison
Compare how different rooms in a facility handle pollutant buildup.

## Benefits

- Identifies specific moments when air quality fails to meet safety standards.
- Links ventilation activity directly to pollutant reduction.
- Detects sensor data gaps that could lead to inaccurate reporting.
- Compares air quality across different zones in a single analysis.

## How It Works

Get your environmental data into your AI client and start querying it immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Point your agent toward your air quality telemetry logs.
3. Ask your agent to run specific statistical or correlation tools.
4. Receive direct answers about excursions, trends, or data gaps.

## Frequently Asked Questions

**What pollutants can this MCP analyze?**
The MCP processes data for PM2.5, CO2, VOC, and humidity.

**How does it help with ventilation testing?**
It uses the correlation tool to determine the relationship between pollutant spikes and ventilation activities.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client like Claude, Cursor, or Windsurf.

**Does it detect sensor failures?**
Yes, the analyze_trends_and_gaps tool identifies data continuity issues and gaps in your telemetry.

**How do I find when air quality was unsafe?**
You can use the detect_air_quality_excursions tool to find when metrics crossed your defined limits.

**What metrics can be analyzed?**
The server analyzes Particulate Matter (PM2.5), Carbon Dioxide (CO2), Volatile Organic Compounds (VOCs), and humidity levels.

**How do I check if CO2 levels exceeded my limit?**
You can use the `detect_air_quality_excursions` tool by providing the time range and a threshold map such as `{"co2": 1000}`.

**Can I compare two different rooms?**
Yes, the `compare_rooms` tool allows you to compare air quality profiles between two specific room IDs.
