Skip to content
v1.0.0MIT

MTA BusTime MCP — real-time bus arrivals at any stop, vehicle positions on a route, and stop listings. No API key required.

MTA BusTime API MCP

Calls GET https://mcp.mta.shubhthorat.com/api/mta/* by default — no env or API key required.

Tools

  • mta_arrivals — real-time bus arrivals at any MTA stop with distance and ETA. Pass a stop id (e.g. 400001) and optionally a route filter (e.g. M15).
  • mta_vehicles — all active buses on a route right now with GPS location, bearing, and next stop.
  • mta_route_stops — all stops on a route in order with stop ids, names, and coordinates. Use this to discover stop ids.

Environment (optional)

VariableWhen to set
MTA_API_URLDifferent base URL if self-hosting
API_SERVER_URLShared override for all API plugins

Setup

/reload-plugins after install. Rebuild after editing server/index.js:

cd server && npm install && npm run build