MBTA Boston
live TransportBoston MBTA real-time transit — next subway, commuter rail, bus, and ferry departures at any station (with schedule fallback), routes, stops, and live service alerts from the official v3 API.
Tools
mbta_departures 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 departure
No parameters required.
Try it
mbta_routes List MBTA routes for the Boston subway T, commuter rail, bus, and ferry — route ids, names, and the destination each direction heads toward. type: 0-1 subway/light rail (Red, Orange, Blue, Green, Matt
No parameters required.
Try it
mbta_stops List the stops and stations on an MBTA route — Boston subway T lines, commuter rail lines, bus routes, ferries. Returns stop id, name, municipality, and wheelchair accessibility, in route order. Examp
No parameters required.
Try it
mbta_alerts Active MBTA service alerts — Boston subway T delays, commuter rail disruptions, shuttle replacements, track changes, detours, elevator outages. Filter by route to check one line, e.g. is the Red Line
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/mbta/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/mbta/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"mbta_departures","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("mbta_departures", {}); // Or ask in plain English:
const answer = await px.ask("boston mbta real-time transit — next subway, commuter rail, bus, and ferry departures at any station (with schedule fallback), routes, stops, and live service alerts from the official v3 api");