# London Air Quality AI Agent Connect

> London Air MCP provides direct access to official London open-data platform datasets. You can pull monthly and hourly pollutant averages for 14 different indicators, or dive into the 2024 diffusion-tube study covering all 33 boroughs. It handles the messy borough name mapping for you, making it easy to compare local air quality against UK legal limits and WHO guidelines.

## Overview
- **Category:** environment
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_McyHZuQELl5I81MBH76n7tpHOUmZO0RKQWT87306/ai-agent-connect
- **Tags:** london, united-kingdom, air-quality, pollution, diffusion-tubes, no2, pm25, keyless

## Description

This MCP connects your AI client to official London air quality datasets. You can pull long-term monthly averages for 14 pollutants, including NO2, PM2.5, and SO2, dating back to 2008. If you need more granular data, you can look at hourly profiles to see how pollution shifts throughout the day. Beyond the fixed monitoring stations, this MCP also gives you access to the 2024 diffusion-tube study. These passive samplers provide a different perspective on exposure across all 33 boroughs. You can check which areas exceed UK legal limits or WHO guidelines, or pull specific site registers including coordinates and monthly means. The tool handles the heavy lifting of resolving inconsistent borough spellings in the source files, so you can just ask for the data you need.

## Tools

### air_quality_by_hour
This tool provides London air-pollutant means broken down by the hour of the day. You can filter the results by specific months or hours.

### air_quality_monthly
This tool retrieves monthly mean concentrations for 14 pollutants from 2008 to 2019. It covers both roadside and background networks.

### air_quality_overview
This tool gives you a compact summary of the London monthly air-quality series. It shows the minimum, maximum, and mean values for each pollutant.

### diffusion_borough_lookup
This tool looks up a specific London borough within the 2024 diffusion-tube study. It automatically handles variations in borough naming.

### diffusion_boroughs
This tool provides a summary of the 2024 diffusion-tube air-monitoring data for all London boroughs. You can limit the results to the top N boroughs.

### diffusion_overview
This tool returns city-wide totals from the 2024 diffusion-tube summary.

### diffusion_sites
This tool lists the specific 2024 diffusion-tube monitoring sites within a chosen borough. It includes site IDs, coordinates, and monthly means.

## Prompt Examples

**Prompt:** 
```
What is the average roadside NO2 in London for the last 12 months?
```

**Response:** 
```
I will use air_quality_monthly to get the last 12 months of data and then calculate the average for the roadside NO2 column.
```

**Prompt:** 
```
Which borough has the highest share of diffusion-tube sites above the WHO guideline?
```

**Response:** 
```
I'll run diffusion_boroughs to find the borough where the highest percentage of sites exceed the WHO guideline.
```

**Prompt:** 
```
List the diffusion-tube sites in Camden.
```

**Response:** 
```
I'll use diffusion_sites for Camden to get the site IDs, names, types, and monthly means for that borough.
```

## Capabilities

### Pollutant Tracking
Your agent can monitor 14 different pollutants like NO2 and PM2.5.

### Borough Comparison
Your agent can compare air quality levels across all 33 London boroughs.

### Temporal Analysis
Your agent can analyze how pollution changes by the hour or by the month.

### Regulatory Checking
Your agent can identify which areas exceed UK legal limits or WHO guidelines.

### Site Mapping
Your agent can retrieve specific geographic coordinates and monthly means for individual monitoring sites.

## Use Cases

### Regulatory Compliance Audits
Check if specific London boroughs are exceeding UK legal air quality limits using the 2024 diffusion-tube data.

### Trend Analysis
Compare NO2 or PM2.5 levels from 2008 to the present to see how air quality has changed over time.

### Hyper-local Exposure Studies
Use diffusion-tube site data to find specific monthly means for a single borough.

### Diurnal Pattern Research
Analyze hourly pollutant profiles to identify peak pollution times during the day.

## Benefits

- Accesses official London open-data directly without manual downloads.
- Resolves inconsistent borough naming conventions automatically.
- Combines fixed station data with 2024 diffusion-tube study results.
- Provides both monthly and hourly granularity for pollutant analysis.

## How It Works

Connect your client to the Vinkius-hosted MCP to start querying London's air quality data immediately.

1. Connect your MCP-compatible client to the London Air MCP via Vinkius.
2. Ask your agent a question about London air quality or specific pollutants.
3. The agent selects the appropriate tool, such as air_quality_monthly or diffusion_boroughs.
4. The MCP fetches the data from the London Datastore.
5. Your agent processes the raw data and gives you a direct answer.

## Frequently Asked Questions

**How far back does the air quality data go?**
The monthly air pollutant series includes data from January 2008 through August 2019.

**Does this include the latest 2024 data?**
Yes, the MCP includes the 2024 diffusion-tube study data for all 33 London boroughs.

**Can I search for boroughs using partial names?**
Yes, the diffusion_borough_lookup tool is case-insensitive and handles common variations like 'LB Barnet' or 'Barnet' automatically.

**What pollutants can I check?**
You can access data for 14 indicators, including NO, NO2, NOx, O3, PM10, PM2.5, and SO2.

**Is the data from roadside or background stations?**
The monthly air quality tools provide data for both roadside and background networks.

**Do I need an API key?**
No. data.london.gov.uk publishes every dataset as an anonymous file download (CSV or Excel). This MCP defines no credentials and needs nothing configured.

**Which indicators are in the monthly series?**
Fourteen, in pairs: NO, NO2, NOx, O3, PM10, PM2.5 and SO2, each measured roadside and in background (units µg/m³). air_quality_overview returns the min, max and mean of every one of them across the whole series.

**What is a diffusion tube?**
A low-cost passive sampler: air diffuses through a cap into a sorbent, and the 12-month average is reported per site. Because it integrates exposure over months rather than minutes, it is ideal for mapping long-term neighbourhood-level pollution across all 33 London boroughs.

**Why do some borough names look misspelled in the source?**
The 2024 study stores two boroughs with typos ('LB Waltham' for Waltham Forest, 'RB Kensignton & Chelsea'). diffusion_borough_lookup accepts the plain friendly names — 'Waltham Forest', 'Kensington and Chelsea', 'City of London' — and resolves them to the stored sheet names automatically.
