Errance
v0.2.0Hosted 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.
| Parameter | Type | Description |
|---|---|---|
text * | string | Name to search (e.g. 'Lyon Part-Dieu'), or 'lat,lon' for reverse geocoding. |
language | string | Preferred 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). |
limit | integer | Maximum number of results (default 10). |
near | string | 'lat,lon' to favor results near this position. |
types | array | Restricts 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).
| Parameter | Type | Description |
|---|---|---|
language | string | Preferred 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). |
maxLat | number | North bound (instead of place/radiusKm). |
maxLon | number | East bound (instead of place/radiusKm). |
minLat | number | South bound (instead of place/radiusKm). |
minLon | number | West bound (instead of place/radiusKm). |
modes | array | Only the stops and routes of these modes. |
place | string | Center of the area: place name, stop name or 'lat,lon'. |
radiusKm | number | Radius 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.
| Parameter | Type | Description |
|---|---|---|
routeIdx * | integer | Route index returned by explore_area. |
language | string | Preferred 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).
| Parameter | Type | Description |
|---|---|---|
place * | string | Origin: place name, stop name, stop id or 'lat,lon'. |
arriveBy | boolean | true: places from which 'place' can be reached. |
language | string | Preferred language of the origin name, as ISO 639-1 code (e.g. fr, de). |
maxTransfers | integer | Maximum number of transfers. |
maxTravelTimeMinutes | integer | Maximum travel time in minutes (default 30). |
modes | array | Allowed transit modes (default: all). |
time | string | Departure (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…
| Parameter | Type | Description |
|---|---|---|
arriveBy | boolean | true: arrivals instead of departures. |
count | integer | Number of departures (default 20). |
language | string | Preferred 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). |
lines | array | Only these lines of the station (names listed in the station lines), with 'station' true. |
modes | array | Only these transit modes, when the user asks for them. |
pageCursor | string | Cursor returned by a previous call, to get the next or previous page. |
station | boolean | true: departures of all the stops of the station (within 200 m), not only of this stop. |
stop | string | Stop name, resolved by geocoding (used when stopId is missing). |
stopId | string | Exact stop id. |
time | string | Start date-time, ISO-8601: with offset, or in the local time of the stop. Default: now. |
via | string | Only 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).
| Parameter | Type | Description |
|---|---|---|
tripId * | string | Trip id, from departures or plan_journey. |
language | string | Preferred 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). |
realTimeTripId | string | The 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…
| Parameter | Type | Description |
|---|---|---|
to * | string | Destination: place name, stop id or 'lat,lon'. Names are searched near the origin. |
arriveBy | boolean | true: 'time' is the latest arrival time. |
bike | string | Bike 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. |
count | integer | Minimum number of itineraries (default 5). |
from | string | Origin: place name, stop id or 'lat,lon'. Default: 'position'. |
language | string | Preferred 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). |
maxTransfers | integer | Maximum number of transfers. |
maxWalkMinutes | integer | Maximum walk (or bike ride) to the first stop and from the last stop, in minutes (default 25): lower for a user who walks little. |
modes | array | Allowed transit modes (default: all). |
pageCursor | string | Cursor returned by a previous call, for earlier or later itineraries. |
position | string | Position of the user, 'lat,lon', only when the user gave or shared it: origin when 'from' is missing, else favors the places near it. |
time | string | Departure (or arrival with arriveBy) date-time, ISO-8601: with offset, or in the local time of the origin. Default: now. |
transferMargin | string | COMFORTABLE: 5 more minutes reserved for each transfer (default NORMAL). |
walkingSpeed | string | Walking speed (default NORMAL, about 4.3 km/h). |
wheelchair | boolean | true: 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).
| Parameter | Type | Description |
|---|---|---|
language | string | Preferred language of the place name, as ISO 639-1 code (e.g. fr, de). |
maxLat | number | North bound (instead of place/radiusKm). |
maxLon | number | East bound (instead of place/radiusKm). |
minLat | number | South bound (instead of place/radiusKm). |
minLon | number | West bound (instead of place/radiusKm). |
place | string | Center of the area: place name, stop name or 'lat,lon'. |
providers | array | Only these provider ids. |
radiusKm | number | Radius around 'place' in km (default 1.5, max 50.0). |
withVehicles | boolean | Include 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).
| Parameter | Type | Description |
|---|---|---|
maxLat | number | North bound (instead of place/radiusKm). |
maxLon | number | East bound (instead of place/radiusKm). |
minLat | number | South bound (instead of place/radiusKm). |
minLon | number | West bound (instead of place/radiusKm). |
place | string | Center of the area: place name, stop name or 'lat,lon'. |
radiusKm | number | Radius around 'place' in km (default 1.5, max 50.0). |