Boston MBTA v3 API for live subway, commuter rail, and bus routes, predictions, and alerts.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Fetch real-time MBTA arrival and departure predictions filtered by route and/or stop ID.
Optional MBTA stop ID (e.g. "place-pktrm", "place-sstat").
Maximum predictions to return (default 10, max 50).
MBTA route ID (e.g. "Red", "Orange", "Green-C"). Defaults to "Red" if neither route nor stop is supplied.
Optional direction ID: 0 or 1.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http us-mbta-boston-transit-api-mcp https://us-mbta-boston-transit-api-mcp.lipmichal.workers.dev/mcp
Fetch real-time MBTA arrival and departure predictions filtered by route and/or stop ID.
| Argument | Type | Description |
|---|---|---|
| stop | string | Optional MBTA stop ID (e.g. "place-pktrm", "place-sstat"). |
| limit | integer | Maximum predictions to return (default 10, max 50). |
| route | string | MBTA route ID (e.g. "Red", "Orange", "Green-C"). Defaults to "Red" if neither route nor stop is supplied. |
| direction_id | integer | Optional direction ID: 0 or 1. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"stop": {
"type": "string",
"description": "Optional MBTA stop ID (e.g. \"place-pktrm\", \"place-sstat\")."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum predictions to return (default 10, max 50)."
},
"route": {
"type": "string",
"description": "MBTA route ID (e.g. \"Red\", \"Orange\", \"Green-C\"). Defaults to \"Red\" if neither route nor stop is supplied."
},
"direction_id": {
"type": "integer",
"maximum": 1,
"minimum": 0,
"description": "Optional direction ID: 0 or 1."
}
},
"additionalProperties": false
}Fetch live and upcoming MBTA service alerts including delays, shuttle diversions, and elevator or station notices.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum alerts to return (default 10, max 50). |
| route | string | Optional MBTA route ID filter (e.g. "Red", "Orange", "Blue", "Green-B", "CR-Providence"). |
| lifecycle | string | Optional alert lifecycle filter. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum alerts to return (default 10, max 50)."
},
"route": {
"type": "string",
"description": "Optional MBTA route ID filter (e.g. \"Red\", \"Orange\", \"Blue\", \"Green-B\", \"CR-Providence\")."
},
"lifecycle": {
"enum": [
"NEW",
"ONGOING",
"ONGOING_UPCOMING",
"UPCOMING"
],
"type": "string",
"description": "Optional alert lifecycle filter."
}
},
"additionalProperties": false
}Fetch live GPS coordinates, heading, speed, status, and occupancy for active MBTA trains, buses, and ferries.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum vehicles to return (default 15, max 50). |
| route | string | Optional MBTA route ID filter (e.g. "Red", "Orange", "Blue", "1"). |
| direction_id | integer | Optional direction ID: 0 or 1. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum vehicles to return (default 15, max 50)."
},
"route": {
"type": "string",
"description": "Optional MBTA route ID filter (e.g. \"Red\", \"Orange\", \"Blue\", \"1\")."
},
"direction_id": {
"type": "integer",
"maximum": 1,
"minimum": 0,
"description": "Optional direction ID: 0 or 1."
}
},
"additionalProperties": false
}List stations and stops served by a specific MBTA route with municipality, coordinates, and platform metadata.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum stops to return (default 20, max 50). |
| route* | string | MBTA route ID (e.g. "Red", "Orange", "Blue", "Green-E", "CR-Lowell"). |
| direction_id | integer | Optional direction ID: 0 (outbound/southbound) or 1 (inbound/northbound). |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"route"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum stops to return (default 20, max 50)."
},
"route": {
"type": "string",
"minLength": 1,
"description": "MBTA route ID (e.g. \"Red\", \"Orange\", \"Blue\", \"Green-E\", \"CR-Lowell\")."
},
"direction_id": {
"type": "integer",
"maximum": 1,
"minimum": 0,
"description": "Optional direction ID: 0 (outbound/southbound) or 1 (inbound/northbound)."
}
},
"additionalProperties": false
}List Boston MBTA transit routes across light rail (0), heavy rail subway (1), commuter rail (2), bus (3), and ferry (4).
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum routes to return (default 15, max 50). |
| route_type | integer | Optional GTFS route type: 0 Light Rail, 1 Heavy Rail, 2 Commuter Rail, 3 Bus, 4 Ferry. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum routes to return (default 15, max 50)."
},
"route_type": {
"type": "integer",
"maximum": 4,
"minimum": 0,
"description": "Optional GTFS route type: 0 Light Rail, 1 Heavy Rail, 2 Commuter Rail, 3 Bus, 4 Ferry."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 6, 2026.