MBTA Real-Time Predictions
mbta.transit.predictionsGet real-time arrival and departure predictions for Boston MBTA stops — live vehicle tracking data for subway, bus, commuter rail, and ferry. Returns predicted arrival_time, departure_time (ISO 8601), direction, status (e.g. "Boarding"), schedule relationship (SCHEDULED/SKIPPED/NO_DATA), and associated route, stop, trip, and vehicle IDs. Requires at least one filter: stop ID (e.g. "place-sstat" for South Station, "place-pktrm" for Park Street) or route ID. Use direction_id to filter inbound (1) vs outbound (0). MassDOT Open Data License, real-time live data, no upstream cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | No | Stop or station ID for arrival/departure predictions (e.g. "place-sstat" for South Station, "place-pktrm" for Park Street). Use mbta-transit.stops to find stop IDs. | |
| limit | No | Maximum number of predictions to return (default 10, max 50). Each prediction is one scheduled stop for one vehicle. | |
| route | No | Route ID to get predictions for (e.g. "Red", "Green-B", "1"). At least one of stop or route is required. | |
| direction_id | No | Filter by direction: 0=outbound (away from downtown/terminus), 1=inbound (toward downtown/terminus). See mbta-transit.routes for direction names. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |