# RATP Stations MCP provides Paris transit data. AI Agent Connect

> RATP Stations MCP gives your AI client direct access to the RATP open data network. You can query annual ridership rankings for the Metro and RER, locate station amenities like restrooms, water fountains, and defibrillators, or check hourly air quality at specific monitored stations. It also includes data on approved proximity shops and the La Défense peak-smoothing experiment.

## Overview
- **Category:** government-public-data
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ktxG0LNiNbvY9ZqzWZaPc9bw49CWjm0LppxpTmYc/ai-agent-connect
- **Tags:** paris, france, ratp, metro, rer, ridership, stations, keyless

## Description

You can use this MCP to pull specific, granular details about the Paris metro and RER networks. Instead of digging through government portals, you can ask your agent to find the busiest stations or locate the nearest accessible restroom on a specific line. It provides ridership counts by station, allowing you to rank the most frequented hubs in the city. For commuters or planners, the tool offers practical utility by listing water fountains, defibrillators, and approved shops near transit stops. If you need environmental data, you can pull hourly air quality readings, including CO2 and pollutant levels, from a selection of seven key stations. It even includes specialized data regarding the La Défense peak-smoothing experiment to help analyze passenger flow patterns between weekdays and weekends.

## Tools

### station_ridership_ranking
Rank Paris Metro and RER stations by their annual entry counts. You can filter by network type and specify how many top stations to return.

### list_station_shops
Find approved proximity shops located near RATP stations. You can filter by specific trade types like boulangerie or café tabac.

### air_quality_station
Get hourly air quality readings for specific monitored stations. This includes data on NO2, CO2, temperature, and humidity.

### get_station_ridership
Retrieve the annual ridership numbers for a single specific station. You must use the exact station name as it appears in the network.

### la_defense_peak_smoothing
Access data from the La Défense peak-smoothing experiment. Use this to compare hub frequencies between regular weekdays and weekend types.

### list_defibrillators
Locate AED defibrillators within the RATP network. You can filter by station, commune, or availability.

### list_restrooms
Find public restrooms inside the network. Filters allow you to search by line, accessibility, or whether the facility is free.

### list_water_fountains
Identify water fountains located within the RATP network. You can filter results by specific metro lines or postal codes.

## Prompt Examples

**Prompt:** 
```
Which is the busiest metro station in Paris?
```

**Response:** 
```
The station_ridership_ranking tool with the reseau filter set to "Métro" will provide the top stations by annual entry counts.
```

**Prompt:** 
```
Where can I find a free restroom inside the metro network, on line 1?
```

**Response:** 
```
You can use list_restrooms with the ligne parameter set to "1" and the free parameter set to "gratuit" to find those locations.
```

**Prompt:** 
```
How is the air quality at Châtelet today?
```

**Response:** 
```
The air_quality_station tool can pull the last 24 hours of hourly readings for Châtelet, including NO2 and CO2 levels.
```

## Capabilities

### Transit Analytics
Your agent uses ridership tools to rank and compare station popularity.

### Amenity Locating
The AI finds restrooms, water fountains, and medical equipment near specific stops.

### Environmental Monitoring
Your client pulls hourly air quality and temperature data from specific stations.

### Commercial Mapping
The tool identifies approved shops and businesses near transit hubs.

### Flow Analysis
Your agent analyzes the La Défense peak-smoothing data to compare daily passenger patterns.

## Use Cases

### Commuter Assistance
A user asks their agent to find a free restroom or water fountain on a specific metro line.

### Urban Research
A researcher compares annual ridership across different RER and Metro lines.

### Environmental Audits
An analyst checks hourly CO2 and NO2 levels at Châtelet or Nation.

### Business Intelligence
A planner examines the La Défense peak-smoothing experiment to understand hub frequency changes.

## Benefits

- Direct access to RATP open data without manual searching.
- Granular station-level details for amenities and air quality.
- Filterable datasets for specific lines, communes, or service types.
- Real-time air quality monitoring for seven key stations.

## How It Works

Connecting to this MCP gives your AI client immediate access to the RATP data catalog.

1. Connect your MCP-compatible client to Vinkius.
2. Select the RATP Stations MCP from the catalog.
3. Ask your AI client a question about Paris transit or station amenities.
4. The AI invokes the specific tool needed to fetch the data.
5. Your agent receives the raw data and presents the answer to you.

## Frequently Asked Questions

**Which stations have air quality monitoring?**
Air quality data is available for Châtelet, Auber, Franklin D. Roosevelt, Saint-Germain des Prés, Iéna, Nation, and Luxembourg.

**Can I filter restrooms by accessibility?**
Yes, you can use the list_restrooms tool and filter by the PMR parameter to find accessible facilities.

**How is ridership data calculated?**
The station_ridership_ranking tool provides annual entry counts for stations in the Metro and RER networks.

**Is the shop data official?**
Yes, the list_station_shops tool provides data on approved proximity shops located near RATP stations.

**What if I need a specific station name for ridership queries?**
You should use the station_ridership_ranking tool first to find the exact uppercase station name required for other tools.

**Do I need an API key?**
No. data.ratp.fr serves all RATP datasets anonymously over its Opendatasoft REST API. This MCP defines no credentials and needs nothing configured.

**Which stations have air-quality data?**
Seven monitored metro/RER stations: chatelet, auber, franklin-d-roosevelt, saint-germain-des-pres, iena, nation and luxembourg. air_quality_station returns the hourly readings at one of them over a lookback window; any other station name is rejected with the list of valid values.

**Are the ridership figures current?**
They are annual aggregates published by RATP, not live counts. station_ridership_ranking and get_station_ridership read the published per-station annual entry figures; use them for comparisons, not for today's occupancy.

**What is the La Défense peak-smoothing experiment?**
A transport-demand management experiment at the La Défense business district shifting morning peaks; la_defense_peak_smoothing returns its published rows, filterable by type_jour (weekday vs weekend).
