transit_nearby

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

Free. This one only touches this instance's own storage, so there is nothing to charge for.

Runs on Transit — Public transport: stops near you, what is due, and which lines are down.

Arguments

NameTypeWhat it is
lat*numberLatitude
lon*numberLongitude
radiusnumberMetres to search, default 400, max 2000

Calling it

Three doors onto the same method. MCP is what an agent speaks, REST is what a program speaks, and the answer is identical.

{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"lat":1,"lon":1},"name":"transit_nearby"}}

Try it in the playground.