# WMATA MCP for AI Agents AI Agent Connect

> WMATA MCP lets your AI agent pull real-time Washington DC transit data. Track Metrorail and Metrobus locations, check for service delays, and find station details like parking and elevator status instantly. It's the fastest way to get accurate transit info into your chat or workspace.

## Overview
- **Category:** iot-hardware
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_EYQRq26ybnEjlKYIt4RwxqPojXK1XYFGw8q2movb/ai-agent-connect
- **Tags:** public-transit, real-time-tracking, metrorail, metrobus, transit-data, commuter-services

## Description

You're stuck on a platform and need to know if that train is actually coming or if the Red Line is a mess. Instead of refreshing a slow website, you just ask your agent. This Connector plugs into the WMATA data feed so your AI knows exactly what's happening in the DC transit system right now. You can ask about specific bus routes, see where vehicles are on a map, or find out if the elevator at a specific station is broken before you head out. It handles the heavy lifting of parsing station codes and route IDs so you don't have to. If you're building an app or just trying to get to work on time, having this data available through Vinkius means you get a personal transit analyst in your pocket. You can check for parking availability at Shady Grove or get a full list of stops for a bus route without leaving your current screen. It turns your AI into a local expert on DC mobility, giving you the facts you need to move around the city without the friction of manual searching.

## Tools

### get_elevator_incidents
Check which elevators and escalators are currently out of service. This is essential for planning accessible routes.

### get_next_rail
Get predicted arrival times and car counts for all Metrorail lines. You can query the whole system or a specific station code.

### get_parking_lots
Find parking availability, fees, and amenities at Metrorail stations. Use this to plan park and ride trips from the suburbs.

### get_rail_incidents
See active delays, power problems, or police activity on Metrorail lines. This keeps you informed about major service disruptions.

### get_rail_stations
List all Metrorail stations, with options to filter by specific lines. This helps you map out the entire rail network.

### get_station_entrances
Get street addresses and access details for station entrances. Use this to find the closest way into a station from the street.

### get_station_prediction
Get specific train predictions for a single Metrorail station. This provides a targeted look at what's coming to your stop next.

### get_bus_incidents
Get descriptions of current bus delays, detours, or road closures. This helps you plan around service disruptions quickly.

### get_bus_positions
See the real-time GPS coordinates and route IDs of all Metrobus vehicles. Use this to track exactly where your bus is on its route.

### get_bus_route_details
Get a full list of stops and route paths for any Metrobus line. This is perfect for seeing exactly where a bus will travel.

### get_bus_routes
List all active Metrobus routes across DC, Maryland, and Virginia. Use this to find the correct route ID for other queries.

### get_circuit_predictions
Get arrival predictions for bus Circuit routes at specific stations. This helps you coordinate connections between rail and bus.

## Prompt Examples

**Prompt:** 
```
Is the Red Line running okay right now?
```

**Response:** 
```
Checking rail incidents... 

Currently, there is **1 active incident** on the Red Line:
* **Issue:** Single-tracking between Twinbrook and Rockville
* **Reason:** Track maintenance
* **Impact:** Expect 10-15 minute delays in both directions.
* **Estimated Resolution:** 2:30 PM

All other lines are operating normally.
```

**Prompt:** 
```
Where is the next bus for route 30N?
```

**Response:** 
```
The next **30N bus** is currently on its route. 

* **Current Position:** 14th and G Streets
* **Status:** On schedule
* **Next Stop:** 15th and H Streets

Would you like me to track its progress as it moves?
```

**Prompt:** 
```
Are there any elevators out at Gallery Place?
```

**Response:** 
```
Checking elevator status for **Gallery Place (B36)**...

* **Main Entrance:** Operational
* **North Entrance:** Out of service (Escalator repair)
* **Accessible Entrances:** All other accessible entrances are currently functional.

Safe travels!
```

## Capabilities

### Track real-time bus locations
See exactly where Metrobus vehicles are on their routes right now.

### Get next train predictions
Find out when the next train is arriving at any Metrorail station.

### Monitor rail and bus incidents
Get instant alerts on delays, detours, and service disruptions.

### Check elevator and escalator status
Verify accessibility status for stations before you start your trip.

### Find station parking and amenities
Check for parking availability and fees at various Metrorail stations.

### List bus routes and stop sequences
Browse all active Metrobus routes and see every stop they serve.

## Use Cases

### Checking for Red Line delays
A commuter asks their agent if the Red Line is running normally. The agent uses get_rail_incidents to confirm there are no power problems or delays.

### Finding an accessible station entrance
A traveler needs to reach a station with an elevator. The agent checks get_station_entrances to find the specific street-level access point.

### Planning a park and ride trip
A driver wants to know if Shady Grove has parking. The agent uses get_parking_lots to check availability and fees before they head out.

### Tracking a specific bus route
A passenger wants to know where the 30N bus is. The agent uses get_bus_positions to provide the real-time GPS location and estimated arrival.

## Benefits

- Stop refreshing browser tabs by getting real-time rail and bus updates directly in your chat.
- Plan accessible trips with confidence by checking get_elevator_incidents before you leave.
- Find park and ride options faster by querying get_parking_lots for specific stations.
- Navigate the bus system easily by using get_bus_routes to find the correct route identifiers.
- Stay ahead of delays by monitoring get_rail_incidents and get_bus_incidents for active service alerts.

## How It Works

The bottom line is you get real-time DC transit data without the manual searching.

1. Get a free WMATA API key from the official Developer Portal.
2. Add your key to the Connector configuration in your AI client.
3. Ask your agent for real-time transit updates or route planning.

## Frequently Asked Questions

**Can the WMATA MCP track buses in real-time?**
Yes, it provides real-time GPS coordinates for all Metrobus vehicles. You can ask your agent to show you where a specific bus is or list all buses on a particular route.

**How do I use the WMATA MCP to check for train delays?**
The Connector automatically pulls active rail incidents. You can ask your agent about specific lines, like the Red or Green Line, to see if there are any active delays or power issues.

**Can I find parking info using the WMATA MCP?**
Yes, you can check parking availability, fees, and station amenities. This is great for planning a park and ride trip from the suburbs into the city.

**Does the WMATA MCP show elevator outages?**
It does. You can ask about specific stations to see if elevators or escalators are out of service, which is essential for planning accessible trips.

**Can I use the WMATA MCP to see all bus routes?**
Yes, you can browse all Metrobus routes across DC, Maryland, and Virginia. This helps you find the correct route IDs for planning your journey.

**How do I get station entrance details with the WMATA MCP?**
You can ask for the entrances of any specific station. The agent will provide street addresses, coordinates, and details on whether that entrance has elevator or escalator access.

**Can my AI check when the next Metrorail train is arriving at my station?**
Yes! Use the `get_station_prediction` tool with the station code (e.g., "A01" for Metro Center, "B36" for Gallery Place). Your AI will return all upcoming trains with destination names, line colors (Red, Orange, Silver, Blue, Yellow, Green), predicted arrival times in minutes, and car counts. If you do not know the station code, first use `get_rail_stations` to find it by name. For a system-wide view of all upcoming trains, use `get_next_rail` without a station code.

**How do I check if there are any delays or incidents affecting my Metrorail line?**
Use the `get_rail_incidents` tool to check all active service disruptions across the Metrorail system. This returns incident descriptions, affected stations and lines, incident types (delays, power problems, medical emergencies, track maintenance), and start times. You can also check `get_elevator_incidents` for elevator and escalator outages that may affect accessibility at your station. For Metrobus service issues, use `get_bus_incidents`.

**Can I track Metrobus vehicles in real-time to see when my bus will arrive?**
Yes! Use `get_bus_positions` to see real-time GPS locations of all Metrobus vehicles, or filter by route ID (e.g., "30N", "X2") to track buses on a specific route. Returns vehicle IDs, route IDs, latitude/longitude, destinations, and schedule deviation in seconds. For detailed route information including stop sequences, use `get_bus_route_details` with the route ID. Use `get_bus_routes` first to find route IDs if unknown.