Repository avatar
Other Tools
v0.1.0
active

errance

org.litote/errance

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

Documentation

Errance: MCP server and MCP App to explore public transport

CI Quality Gate Status Coverage

MCP server and MCP App to explore the public transport data of a MOTIS server: by default Transitous, which aggregates open GTFS, GTFS-RT and GBFS feeds worldwide. Journeys, departure boards and maps are shown in interactive views in the hosts that support MCP Apps; the other hosts get the text.

Quick start

Local server (Docker)

# any MCP client, with add-mcp
npx add-mcp "docker run -i --rm -e MOTIS_APP_CONTACT=you@example.org ghcr.io/litote/motis-mcp-app" --name errance

MOTIS_APP_CONTACT (e-mail address) is required by the Transitous usage policy.

Hosted server

The server runs at https://errance.litote.org/mcp (Streamable HTTP, no account needed).

Any MCP client (Claude Code, Cursor, VS Code, Codex, Gemini CLI…), with add-mcp:

npx add-mcp https://errance.litote.org/mcp --name errance

Demo

The demo site is a static web chat. Users bring their own OpenRouter account (free models are available, 50 requests a day without credits), and everything runs in the browser.

plan_journey view: a Paris to Frankfurt journey, with the list of connections, the map and the detailed itinerary

More in the demo FAQ.

Views

Each tool with a view renders it in the hosts that support MCP Apps, in the language of the host.

Journey: plan_journey

The connections on the left, with their times, duration, transfers and the badges of their lines; the legs of the selected connection on the map, and its detailed itinerary (stops, operators) below. Earlier and Later load the neighbouring connections; Options sets the transit modes, the transfers, the walking time and speed, wheelchair and bike.

plan_journey view: connections from Lyon Part-Dieu to Geneva Cornavin, the map and the itinerary of the first one

Departure board: departures

The next departures or arrivals of a stop, in real time (delays, cancellations, tracks). In a railway station, a tab per line or mode of the station (trains, RER, metro, bus…); the trains are shown in the style of the boards of the operator when there is one (SNCF, SNCB, SBB, DB, NS, RFI, ADIF, National Rail).

departures view: the train departures of Paris Gare de Lyon, in the style of the SNCF boards, with tabs for the RER A, D, R, the metro and the bus

Trip timeline: trip_details

The stops of a vehicle, with their times and tracks, and its current position along the line.

trip_details view: the stops of the TGV INOUI 5382 from Lyon Perrache to Rennes

Area: explore_area

The stops and the lines around a place, colored by mode, with the list of the lines above the map.

explore_area view: the stops and lines within 500 m of Place Bellecour in Lyon

Line: route_details

The path of a line and its stops.

route_details view: the path and stops of tram T1 in Lyon

Isochrone: reachability

The stops reachable by public transport from a place within a travel time, colored by the time to reach them.

reachability view: the stops reachable within 30 minutes from Lyon Part-Dieu

Shared mobility: rentals

The stations and free-floating vehicles (bikes, scooters, cars) around a place, by provider.

rentals view: the shared bikes and scooters of four providers around Châtelet, Paris

Documentation

MCP server reference: the tools, the configuration and the setup of the MCP clients

Contributing

See CONTRIBUTING.md: structure of the project, tests, quality, commit conventions and release.

License

This project is licensed under the GNU Affero General Public License.