mbta_departures

Pack: mbta · Endpoint: https://gateway.pipeworx.io/mbta/mcp

Real-time MBTA train arrival and departure predictions at a Boston station — answers “when is the next train Boston”, next Red Line subway at South Station, Green Line trolley, commuter rail departures, Silver Line and bus arrivals. Accepts a station name (“South Station”, “Harvard”) or a place id (“place-sstat”). Falls back to the published schedule when live predictions are empty (common for commuter rail off-peak). Example: mbta_departures({ stop: “South Station”, route: “Red” })

Parameters

NameTypeRequiredDescription
stopstringyesStation name (e.g. “South Station”, “Harvard”, “Back Bay”) or MBTA place id (e.g. “place-sstat”)
routestringnoOptional route id to filter, e.g. “Red”, “Green-B”, “CR-Providence”, “SL1”, “66” (see mbta_routes)
direction_idnumbernoOptional direction filter: 0 or 1 (meaning per route — see direction_destinations from mbta_routes)
limitnumbernoMax departures to return, 1-30 (default 8)
_apiKeystringnoOptional: free MBTA v3 API key from api-v3.mbta.com for higher rate limits

Example call

curl -X POST https://gateway.pipeworx.io/mbta/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mbta_departures","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "mbta": {
      "url": "https://gateway.pipeworx.io/mbta/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 16, 2026