Transit

Public transport: stops near you, what is due, and which lines are down

Central — Minor Delays
Elizabeth line — Severe Delays
Mildmay — Minor Delays

Stops near you →

Open Transit →

Calling it

Everything here is public and free. No token, no account, no payment.

How every call behaves →

Methods

GET /api/v1/transit/arrivals

What is due at a stop and when. Takes a stop name or an id. In London this is live from TfL — buses, tube, DLR, Overground and Elizabeth line. Elsewhere it is the published timetable, and says so

ArgumentTypeDescription
stop *stringStop name or id, e.g. 'Oxford Circus' or 940GZZLUOXC
curl \
  "https://mu-mcp.yvangodard.me/api/v1/transit/arrivals?stop=stop"
GET /api/v1/transit/buses

Where the buses actually are near a point right now — line, where each is heading and how far away, nearest first. England, from the Bus Open Data Service. This is position rather than prediction: it says what is moving, not when it reaches you

ArgumentTypeDescription
latnumberLatitude of the point to look around
lonnumberLongitude of the point
within_kmnumberHow far to look, in kilometres — default 2, most 25
limitnumberHow many to list, default 10
curl \
  "https://mu-mcp.yvangodard.me/api/v1/transit/buses"
GET /api/v1/transit/feeds

Which published timetables this instance carries, and which others it could — with the size of each, so an operator can see what switching one on costs. Also names the feeds that look right but whose timetables have run out

ArgumentTypeDescription
countrystringOptional two-letter code to narrow the list: GB, US, ES…
curl \
  "https://mu-mcp.yvangodard.me/api/v1/transit/feeds"
GET /api/v1/transit/nearby

Bus stops and stations near a point, nearest first, with the id each one is called by. London live from TfL; elsewhere from whichever published timetables this instance has loaded

ArgumentTypeDescription
lat *numberLatitude
lon *numberLongitude
radiusnumberMetres to search, default 400, max 2000
curl \
  "https://mu-mcp.yvangodard.me/api/v1/transit/nearby?lat=1.5&lon=1.5"
GET /api/v1/transit/status

Which lines are delayed, part-suspended or closed right now, and why. London only

ArgumentTypeDescription
modesstringOptional: tube, dlr, overground, elizabeth-line, tram — comma separated
curl \
  "https://mu-mcp.yvangodard.me/api/v1/transit/status"
GET /api/v1/transit/trains

The live departure or arrival board at a British station, by its three-letter code — KGX, MAN, EDB. Scheduled and expected time, platform, operator and where it is going, plus any disruption notice. From National Rail

ArgumentTypeDescription
stationstringThree-letter station code — KGX, MAN, EDB
rowsnumberHow many services, 1 to 20, default 10
arrivalsbooleanShow what is coming in rather than what is leaving
curl \
  "https://mu-mcp.yvangodard.me/api/v1/transit/trains"

The same methods are tools over MCP, and every service on this instance is in one reference. Same method, same answer, same price.