Skip to main content
Glama
Errance
by Litote

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

# Claude Code
claude mcp add errance -- docker run -i --rm -e MOTIS_APP_CONTACT=you@example.org ghcr.io/litote/motis-mcp-app

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
  • Claude Code:

    claude mcp add --transport http errance https://errance.litote.org/mcp
  • Claude (claude.ai, Claude Desktop), with the views: Settings → Connectors → Add custom connector, URL https://errance.litote.org/mcp/claude.

  • ChatGPT, with the views: in developer mode, add a custom MCP server with the URL https://errance.litote.org/mcp/chatgpt, authentication None (see ChatGPT).

Related MCP server: Navitia MCP Server

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.

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.

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).

Trip timeline: trip_details

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

Area: explore_area

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

Line: route_details

The path of a line and its stops.

Isochrone: reachability

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

Shared mobility: rentals

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

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 v3.0.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables keyless access to German and European rail and public transport data, including station search, live departures and arrivals, and multi-leg journey planning with real-time updates.
      56 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables worldwide public transport planning through the Transitous/MOTIS API: door-to-door journeys with walking legs, departures and arrivals at stops, airport terminal stops, place search, and standalone walking routes. Results can be exported as maps and GPX files for outdoor apps.
      MIT