MBTA Boston

live Transport

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.

4 tools
0ms auth
free tier 50 calls/day

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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/mbta/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("mbta_departures", {});
ask_pipeworx
// 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");