Errance

v0.2.0
org.litote/errance Checked 2 days ago Published 3 days ago

Hosted MCP App, public transport worldwide powered by Transitous: journeys, boards, real time, maps

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_places Search places

Use this when the user asks for stops, stations, addresses or places themselves (e.g. "which stations are there in Lyon?", "what is near me?"). Searches them by name, or lists what is near a 'lat,lon'. Returns the id of each stop and the 'lat,lon' of the other places, which the other tools accept. Not needed before planning a journey or showing departures: those tools take the place names directly.

ParameterTypeDescription
text *stringName to search (e.g. 'Lyon Part-Dieu'), or 'lat,lon' for reverse geocoding.
languagestringPreferred language of the names, as ISO 639-1 code (e.g. fr, de). The names of the stations are translated in fr, es, en, nl, de and it ("Gérone" for Girona in fr).
limitintegerMaximum number of results (default 10).
nearstring'lat,lon' to favor results near this position.
typesarrayRestricts the result types.

server_info Server information

Use this only when the user asks about the server itself: its version, whether real-time data and shared vehicles are available, its limits and default map position. Not needed before the other tools.

explore_area Explore an area

Use this when the user asks which public transport stops and lines there are around a place, or whether public transport data is available somewhere. Shows the stops and lines of the area (a place and a radius, or bounds) on a map. Returns the 'routeIdx' of each line, for route_details, and the 'stopId' of each stop, for departures. Not for a journey (plan_journey) nor for shared bikes, scooters and cars (rentals).

ParameterTypeDescription
languagestringPreferred language of the names, as ISO 639-1 code (e.g. fr, de). The names of the stations are translated in fr, es, en, nl, de and it ("Gérone" for Girona in fr).
maxLatnumberNorth bound (instead of place/radiusKm).
maxLonnumberEast bound (instead of place/radiusKm).
minLatnumberSouth bound (instead of place/radiusKm).
minLonnumberWest bound (instead of place/radiusKm).
modesarrayOnly the stops and routes of these modes.
placestringCenter of the area: place name, stop name or 'lat,lon'.
radiusKmnumberRadius around 'place' in km (default 1.5, max 50.0).

route_details Show a line

Use this when the user asks about a line found by explore_area: shows it on a map with its path and all its stops. 'routeIdx' comes from explore_area.

ParameterTypeDescription
routeIdx *integerRoute index returned by explore_area.
languagestringPreferred language of the names, as ISO 639-1 code (e.g. fr, de). The names of the stations are translated in fr, es, en, nl, de and it ("Gérone" for Girona in fr).

reachability Reachable area

Use this when the user asks how far they can go by public transport within a given time (e.g. "where can I go in 30 minutes from here?"), or, with arriveBy, from where a place can be reached within that time. Returns the reachable stops with their travel time, shown on a map colored by travel time. Not for a journey to a given destination (plan_journey).

ParameterTypeDescription
place *stringOrigin: place name, stop name, stop id or 'lat,lon'.
arriveBybooleantrue: places from which 'place' can be reached.
languagestringPreferred language of the origin name, as ISO 639-1 code (e.g. fr, de).
maxTransfersintegerMaximum number of transfers.
maxTravelTimeMinutesintegerMaximum travel time in minutes (default 30).
modesarrayAllowed transit modes (default: all).
timestringDeparture (or arrival) date-time, ISO-8601: with offset, or in the local time of the place. Default: now.

departures Next departures

Use this when the user asks for the next departures or arrivals of a stop or station (timetable, delays, tracks). Give the stop name in 'stop', or its 'stopId' when another result gave it. Returns the departures with real-time delays, cancellations and tracks when available, shown as a departure board. For a railway station, the first answer also lists the lines of the whole station (its stops within 200 m), and the board shows its trains, metros and buses in tabs: call it without 'station', 'modes' and 'lines', unless the user asks for some modes or lines (e.g. the trains, metro line 14): the…

ParameterTypeDescription
arriveBybooleantrue: arrivals instead of departures.
countintegerNumber of departures (default 20).
languagestringPreferred language of the names, as ISO 639-1 code (e.g. fr, de). The names of the stations are translated in fr, es, en, nl, de and it ("Gérone" for Girona in fr).
linesarrayOnly these lines of the station (names listed in the station lines), with 'station' true.
modesarrayOnly these transit modes, when the user asks for them.
pageCursorstringCursor returned by a previous call, to get the next or previous page.
stationbooleantrue: departures of all the stops of the station (within 200 m), not only of this stop.
stopstringStop name, resolved by geocoding (used when stopId is missing).
stopIdstringExact stop id.
timestringStart date-time, ISO-8601: with offset, or in the local time of the stop. Default: now.
viastringOnly the trips stopping at this station after the stop (before it with arriveBy): its name, e.g. a city or a stop of a departure.

trip_details Trip stops

Use this when the user asks for all the stops and times of a train, bus or other vehicle of a departures or plan_journey result (e.g. "where does this train stop?"). 'tripId' comes from those results. Service alerts (disruptions, works, closed lines or elevators) active at the time of a leg or departure are numbered after it, e.g. 'alerts [1]', and listed at the end: tell the user briefly about those of the options you propose. The itineraries do not avoid the lines with an alert: warn when one says the service is interrupted (NO_SERVICE).

ParameterTypeDescription
tripId *stringTrip id, from departures or plan_journey.
languagestringPreferred language of the names, as ISO 639-1 code (e.g. fr, de). The names of the stations are translated in fr, es, en, nl, de and it ("Gérone" for Girona in fr).
realTimeTripIdstringThe realTimeTripId of the departure, if it has one: the same train in another data source, which gives its real time.

plan_journey Plan a journey

Use this when the user asks how to get from one place to another by public transport (itineraries, times, transfers). Give the places as the user said them: names, addresses, stop ids or 'lat,lon'. Returns itineraries with their walking legs, transfers and real-time delays when available, shown as a list and on a map. When a name is ambiguous, it fails with the candidates: call it again with the right one. Between two city names (e.g. 'Paris' to 'Nantes'), the itineraries go from station to station, without the local legs; give an address for door to door. The itineraries may not all leave fro…

ParameterTypeDescription
to *stringDestination: place name, stop id or 'lat,lon'. Names are searched near the origin.
arriveBybooleantrue: 'time' is the latest arrival time.
bikestringBike of the user: TO_STATION (ridden to the first stop, then left there), ON_BOARD (carried on board, ridden at both ends; only trips allowing bikes). Default NONE.
countintegerMinimum number of itineraries (default 5).
fromstringOrigin: place name, stop id or 'lat,lon'. Default: 'position'.
languagestringPreferred language of the names, as ISO 639-1 code (e.g. fr, de). The names of the stations are translated in fr, es, en, nl, de and it ("Gérone" for Girona in fr).
maxTransfersintegerMaximum number of transfers.
maxWalkMinutesintegerMaximum walk (or bike ride) to the first stop and from the last stop, in minutes (default 25): lower for a user who walks little.
modesarrayAllowed transit modes (default: all).
pageCursorstringCursor returned by a previous call, for earlier or later itineraries.
positionstringPosition of the user, 'lat,lon', only when the user gave or shared it: origin when 'from' is missing, else favors the places near it.
timestringDeparture (or arrival with arriveBy) date-time, ISO-8601: with offset, or in the local time of the origin. Default: now.
transferMarginstringCOMFORTABLE: 5 more minutes reserved for each transfer (default NORMAL).
walkingSpeedstringWalking speed (default NORMAL, about 4.3 km/h).
wheelchairbooleantrue: accessible paths for a wheelchair user.

rentals Shared vehicles

Use this when the user looks for shared bikes, scooters or cars around a place, or asks whether some are available there (e.g. "are there shared bikes near Châtelet?", "where can I rent a scooter?"). Gives the real-time availability, which you cannot know without it: the sharing providers of the area (e.g. Vélib', Lime), their stations with the vehicles and free docks available now, and the free-floating vehicles, shown on a map. Not for public transport stops and lines (explore_area).

ParameterTypeDescription
languagestringPreferred language of the place name, as ISO 639-1 code (e.g. fr, de).
maxLatnumberNorth bound (instead of place/radiusKm).
maxLonnumberEast bound (instead of place/radiusKm).
minLatnumberSouth bound (instead of place/radiusKm).
minLonnumberWest bound (instead of place/radiusKm).
placestringCenter of the area: place name, stop name or 'lat,lon'.
providersarrayOnly these provider ids.
radiusKmnumberRadius around 'place' in km (default 1.5, max 50.0).
withVehiclesbooleanInclude free-floating vehicles (default true).

data_sources Data sources

Use this when the user asks where the data comes from: which open data feeds and transport operators cover a place, who provides the shared vehicles there, or the licenses and attributions of the data and maps. Without a place, lists the sources of the server; with a place, also the feeds, operators and shared mobility providers of the area. Not for the lines or stops themselves (explore_area).

ParameterTypeDescription
maxLatnumberNorth bound (instead of place/radiusKm).
maxLonnumberEast bound (instead of place/radiusKm).
minLatnumberSouth bound (instead of place/radiusKm).
minLonnumberWest bound (instead of place/radiusKm).
placestringCenter of the area: place name, stop name or 'lat,lon'.
radiusKmnumberRadius around 'place' in km (default 1.5, max 50.0).