# TfL MCP for AI Agents AI Agent Connect

> TfL lets you pull live London transport data into your AI agent. Track Tube and bus arrivals, plan multimodal journeys, check line statuses, and find Santander Cycles availability instantly. It is the direct connection to London's transit network, making it easy to navigate the city without switching between multiple apps.

## Overview
- **Category:** government-public-data
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_GmLG2WU1NqSwa6Bxkk9PyS9BTTgnPpbkfTXlka31/ai-agent-connect
- **Tags:** public-transport, real-time-data, journey-planning, api-integration, urban-mobility, transit-tracking

## Description

This TfL MCP connects your AI agent to the official Transport for London data platform. It replaces the need to jump between multiple apps to see if a train is running, how many bikes are left at a dock, or if a specific road is blocked. Instead of manually refreshing pages, you can ask your agent to check the status of the Elizabeth line, find a bus stop nearby, or plan a route that combines the Tube with a walk. It handles the heavy lifting of monitoring live arrivals and road disruptions across the city. Because Vinkius hosts this connection, you can integrate it into your daily routine to get instant answers on multimodal journeys and ULEZ compliance. It turns your AI into a local transport expert that knows exactly what is happening on the streets right now. You can get real-time updates on the river, cable cars, and trams without any extra effort. This means you spend less time staring at transit boards and more time actually moving through the city. It turns a complex network of different transport modes into a single, conversational interface for your daily commute or your next trip as a visitor. Whether you are a regular rider or a first-time traveler, it provides a clear picture of the city's mobility in one place.

## Tools

### get_road_disruptions
Get details on roadworks, incidents, and closures affecting London driving.

### get_road_status
View the current operational status of specific London roads and corridors.

### get_stop_point_details
Get accessibility info, fare zones, and station types for a specific stop.

### get_vehicle_details
Check ULEZ and Congestion Charge compliance for a registered vehicle.

### get_arrivals
Get predicted arrival times and service types for any specific Tube station or bus stop.

### get_bike_point
View the exact bike count and dock capacity for a specific Santander Cycles station.

### get_bike_points
List all available bike docking stations across London with their real-time occupancy.

### get_journey
Generate detailed, leg-by-leg instructions for trips involving multiple transport modes.

### get_line_status
Check the current service health of all Tube lines, buses, and the Elizabeth line.

### get_modes
See all the different types of transport available within the TfL network.

### get_place_search
Find specific categories of places like museums or parks across the city.

### search_stop_point
Find the unique ID and location for any station or stop by name or landmark.

## Prompt Examples

**Prompt:** 
```
What's the status of the Elizabeth line?
```

**Response:** 
```
### Elizabeth Line Status

* **Status**: Good Service
* **Details**: Trains are running frequently with no reported delays.
* **Recent Incidents**: None reported in the last 30 minutes.

Would you like me to check any other lines for you?
```

**Prompt:** 
```
How many bikes are at the dock near Westminster?
```

**Response:** 
```
### Santander Cycles Nearby

| Dock Name | Bikes Available | Empty Docks | Status |
| :--- | :--- | :--- | :--- |
| Westminster Station | 12 | 4 | Operational |
| Victoria | 5 | 8 | Operational |
| St. James's Park | 18 | 2 | Operational |

Would you like directions to the dock with the most bikes?
```

**Prompt:** 
```
How do I get from Camden to Canary Wharf?
```

**Response:** 
```
### Recommended Route: Camden to Canary Wharf

**Total Duration**: 45 mins
**Modes**: Tube, Walk, DLR

1. **Tube**: Take the Northern Line from Camden Town to Bank Station.
2. **Walk**: Walk 5 minutes to the DLR station.
3. **DLR**: Take the DLR towards Canary Wharf.

* **Fare Estimate**: £2.80
* **CO2 Saved**: 1.2kg

Would you like to see an alternative route?
```

## Capabilities

### Track live arrivals
Get real-time predictions for Tube stations, bus stops, and river services.

### Plan multimodal trips
Generate door-to-door routes combining trains, buses, walking, and cycling.

### Monitor line status
Check for delays, closures, or planned work across the entire London network.

### Check bike availability
See how many Santander Cycles are at specific docking stations in real-time.

### Verify vehicle compliance
Check if a specific registration is exempt from the Congestion Charge or ULEZ.

### Search for local landmarks
Find parks, museums, and stations across the city by category or name.

## Use Cases

### Quick commute checks
A commuter asks for the next Northern Line train at Bank and gets immediate arrival times via get_arrivals.

### Tourist navigation
A tourist wants a route from Heathrow to the West End and gets a multimodal plan using get_journey.

### Delivery route planning
A delivery driver checks for roadworks on the A40 to avoid delays using get_road_disruptions.

### Last-mile bike hire
A cyclist needs to find a dock with bikes near Hyde Park and uses get_bike_points to see real-time capacity.

## Benefits

- Stop manual app switching by getting Tube and bus arrivals directly in your chat.
- Save time on trip planning with get_journey providing multimodal routes including walking and cycling.
- Avoid unexpected delays by checking line status and road disruptions before you head out.
- Simplify bike sharing with get_bike_points showing real-time Santander Cycles availability.
- Ensure legal driving by using get_vehicle_details to check ULEZ and Congestion Charge status.
- Improve accessibility planning with get_stop_point_details showing step-free access and fare zones.

## How It Works

The bottom line is you get a real-time London transit analyst inside your AI client.

1. Subscribe to the TfL MCP on Vinkius.
2. Provide your TfL Application ID and Key from the developer portal.
3. Ask your agent for real-time London transport updates or journey plans.

## Frequently Asked Questions

**Can the TfL MCP help me plan a trip across London?**
Yes, it can generate multimodal routes that combine the Tube, buses, walking, and cycling into a single set of instructions.

**Does the TfL MCP show real-time bus arrivals?**
Yes, it pulls live data to show you exactly when the next bus is expected to arrive at your specific stop.

**Can I use the TfL MCP to check if my car is ULEZ compliant?**
Yes, you can check the compliance status and any exemptions for a registered vehicle in London.

**Does the TfL MCP include bike sharing info?**
Yes, it provides real-time availability for Santander Cycles, including bike counts and empty dock numbers.

**Can I check for road closures with the TfL MCP?**
Yes, it monitors road disruptions, roadworks, and incidents to help you plan your driving route.

**Is the TfL MCP good for finding nearby stations?**
Yes, it can search for any station or stop point by name or landmark and provide detailed info on accessibility.

**Can my AI check when the next Tube train is arriving at my station?**
Yes! First use `search_stop_point` with the station name (e.g., "Oxford Circus", "King's Cross") to find the stop ID. Then use `get_arrivals` with that stop ID to get real-time arrival predictions with line names, destinations, time to station in minutes, and platform information. This covers all TfL modes including Tube, bus, DLR, Overground, Elizabeth line, tram, river, and cable-car.

**How do I plan a journey from Heathrow Airport to central London using public transport?**
Use the `get_journey` tool with "Heathrow Airport" as the origin and your destination (e.g., "Oxford Circus", "Tower Bridge"). The TfL Journey Planner will return multiple route options combining Elizabeth line, Piccadilly line, Heathrow Express, and connecting Tube/bus services. Each option includes total duration, fare estimates, walking distances, number of interchanges, and step-by-step instructions with station sequences. You can also specify preferences for accessibility or cycling options.

**Are there any Tube line closures or major disruptions right now?**
Use `get_line_status` with modes="tube" to check all Tube line statuses, or call it without a mode filter for system-wide status across all transport modes. This returns each line's current status (Good Service, Minor Delays, Severe Delays, Part Suspended, Planned Work) with detailed descriptions and reasons. Always check this before planning any London journey to avoid unexpected disruptions.