# Google Air Quality MCP

> Google Air Quality MCP connects your AI agent to hyper-local environmental intelligence from Google. Get real-time readings for the Universal Air Quality Index (UAQI) anywhere on Earth, identify specific pollutants like PM2.5 and O3, and access up to 720 hours of historical data for trend analysis. It provides actionable health advice based on current conditions—perfect for building environmental monitoring tools or planning outdoor events.

## Overview
- **Category:** industry-titans
- **Price:** Free
- **Tags:** air-quality-index, environmental-data, pollution-monitoring, geospatial-intelligence, health-advisory

## Description

This MCP gives your AI client a dedicated environmental consultant. You can ask it about the air quality at any latitude and longitude, getting instant access to Google's massive dataset. Instead of guessing whether an area is safe for kids or elderly people, you get tailored health advice based on current conditions. Your agent reads the Universal Air Quality Index (UAQI) and tells you exactly what pollutants are dominant—whether it’s nitrogen dioxide or fine particulate matter. It doesn't just give a number; it gives context. You can pull in decades of historical air quality data to track how pollution changes over weeks or months, making it invaluable for researchers or real estate pros doing due diligence. By connecting this capability through Vinkius, you stop relying on fragmented weather APIs and start getting true environmental intelligence right where your AI agent works.

## Tools

### get_air_quality_history
Retrieves comprehensive environmental data for a location across a specified time range, useful for trend analysis.

### get_current_air_quality
Fetches the immediate Universal Air Quality Index and pollutant breakdown using your current coordinates.

## Prompt Examples

**Prompt:** 
```
What is the air quality in San Francisco right now?
```

**Response:** 
```
Retrieving data from Google Air Quality... The current UAQI in San Francisco is 82, which is 'Excellent'. The dominant pollutant is O3. No health restrictions are currently recommended for the general public.
```

**Prompt:** 
```
Show me the air quality history for Tokyo for the last 24 hours.
```

**Response:** 
```
I've retrieved the hourly history for Tokyo. The AQI peaked at 65 around 8 AM but has since improved to 78. I can provide the exact pollutant concentrations for each hour if you'd like.
```

**Prompt:** 
```
Are there any health warnings for Beijing today?
```

**Response:** 
```
Analyzing Beijing's conditions... The UAQI is currently 32, categorized as 'Poor'. Dominant pollutant is PM2.5. For children and elderly, it is recommended to avoid prolonged outdoor activities. Would you like the full set of health recommendations?
```

## Capabilities

### Check Current Air Quality
Get the live Universal Air Quality Index (UAQI), along with a breakdown of dominant pollutants, for any specific location.

### Analyze Historical Trends
Pull air quality data going back up to 720 hours so you can track pollution patterns and changes over long periods.

### Determine Pollutant Concentrations
Identify the precise levels of specific pollutants, such as PM2.5 or NO2, at a given set of coordinates.

### Generate Health Advisories
Receive specialized health recommendations for sensitive groups like children and the elderly based on the current AQI rating.

## Use Cases

### Assessing a New Neighborhood
A real estate agent needs to prove the air quality of an old industrial park has improved. They ask their agent to run get_air_quality_history for the last 12 months, tracking pollutant levels like NO2 and PM2.5 to build a compelling environmental report.

### Planning a Marathon Route
An event organizer is worried about peak pollution during a marathon. They use get_current_air_quality on the planned route coordinates moments before the event starts, getting immediate health advice and pollutant confirmation for safety protocols.

### Researching Urban Policy
A sustainability researcher wants to build a model showing how air quality reacts to traffic changes. They use get_air_quality_history to pull detailed hourly data spanning months, providing the raw metrics needed for complex analysis.

### Managing an Outdoor Festival
A park manager needs immediate confirmation that current conditions are safe. They ask their agent using get_current_air_quality and receive a UAQI score, the dominant pollutant, and specific advice for vulnerable populations.

## Benefits

- Get instant, actionable health advice. Instead of just seeing a number, your agent tells you if children or the elderly should avoid prolonged outdoor activities based on the UAQI.
- Track long-term environmental changes using get_air_quality_history. You can pull 720 hours of data to show clients how pollution levels change seasonally—a huge win for researchers.
- Pinpoint specific contaminants. The tool doesn't just say 'poor air'; it identifies the dominant pollutant, like PM2.5 or O3, letting you solve a highly targeted problem.
- Verify outdoor event safety before they start. Use get_current_air_quality to check live conditions for festivals, ensuring your planning is responsible and data-driven.
- Streamline environmental reporting. You can feed historical pollutant breakdowns directly into reports without manual copy/pasting from multiple sources.

## How It Works

The bottom line is that you get reliable, actionable air quality intelligence delivered directly into your AI workflow.

1. Subscribe to this MCP and enter your Google Maps API Key, making sure the Air Quality API is enabled.
2. Your AI client sends a request with specific coordinates (latitude/longitude) and desired time frame.
3. The system processes the request using Google's data layer and returns structured environmental metrics, health advice, and pollutant concentrations to your agent.

## Frequently Asked Questions

**What pollutants does Google Air Quality help me track?**
It tracks several key pollutants, including PM2.5, NO2, O3, and others. The MCP breaks down the dominant pollutant so you know exactly what's affecting the local air.

**How far back can I check air quality history with Google Air Quality?**
The tool supports retrieving up to 720 hours of historical data, which is enough for comprehensive trend analysis over several weeks. Use get_air_quality_history for this.

**Can I use the Google Air Quality MCP for a single city or multiple cities?**
The MCP uses coordinates (latitude/longitude) for pinpoint accuracy. You can query different locations by changing the input coordinates for your agent's request.

**Does this MCP provide health warnings?**
Yes, beyond the UAQI number, it provides tailored health advice—specifically noting recommendations for sensitive groups like children and the elderly based on current pollutant levels.

**Which tool do I use for a live check? Google Air Quality MCP**
You should use get_current_air_quality. This function fetches the immediate UAQI score, pollutant breakdown, and real-time health advice for your specified location.