MOTIS explorer
MCP server and app for querying public transport journeys, departures and maps via MOTIS
MOTIS explorer is an open-source MCP server for route planning. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- API, CLI, Self-hosted
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add motis-mcp-app --env MOTIS_APP_CONTACT='<MOTIS_APP_CONTACT>' -- docker run -i --rm -e MOTIS_APP_CONTACT ghcr.io/litote/motis-mcp-app:0.1.0Add --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"motis-mcp-app": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MOTIS_APP_CONTACT",
"ghcr.io/litote/motis-mcp-app:0.1.0"
],
"env": {
"MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"motis-mcp-app": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MOTIS_APP_CONTACT",
"ghcr.io/litote/motis-mcp-app:0.1.0"
],
"env": {
"MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"motis-mcp-app": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MOTIS_APP_CONTACT",
"ghcr.io/litote/motis-mcp-app:0.1.0"
],
"env": {
"MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"motis-mcp-app": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MOTIS_APP_CONTACT",
"ghcr.io/litote/motis-mcp-app:0.1.0"
],
"env": {
"MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add motis-mcp-app --env MOTIS_APP_CONTACT='<MOTIS_APP_CONTACT>' -- docker run -i --rm -e MOTIS_APP_CONTACT ghcr.io/litote/motis-mcp-app:0.1.0Or add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.motis-mcp-app]
command = "docker"
args = ["run", "-i", "--rm", "-e", "MOTIS_APP_CONTACT", "ghcr.io/litote/motis-mcp-app:0.1.0"]
env = { MOTIS_APP_CONTACT = "<MOTIS_APP_CONTACT>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"motis-mcp-app": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MOTIS_APP_CONTACT",
"ghcr.io/litote/motis-mcp-app:0.1.0"
],
"env": {
"MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "motis-mcp-app": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MOTIS_APP_CONTACT", "ghcr.io/litote/motis-mcp-app:0.1.0" ], "env": { "MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>" } } } }Or run: gemini mcp add -s user -e MOTIS_APP_CONTACT='<MOTIS_APP_CONTACT>' motis-mcp-app docker -- run -i --rm -e MOTIS_APP_CONTACT ghcr.io/litote/motis-mcp-app:0.1.0
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "motis-mcp-app": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MOTIS_APP_CONTACT", "ghcr.io/litote/motis-mcp-app:0.1.0" ], "env": { "MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "motis-mcp-app": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MOTIS_APP_CONTACT", "ghcr.io/litote/motis-mcp-app:0.1.0" ], "env": { "MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "motis-mcp-app": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MOTIS_APP_CONTACT", "ghcr.io/litote/motis-mcp-app:0.1.0" ], "env": { "MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "motis-mcp-app": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MOTIS_APP_CONTACT", "ghcr.io/litote/motis-mcp-app:0.1.0" ], "env": { "MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "motis-mcp-app": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MOTIS_APP_CONTACT", "ghcr.io/litote/motis-mcp-app:0.1.0" ], "env": { "MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "motis-mcp-app": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MOTIS_APP_CONTACT", "ghcr.io/litote/motis-mcp-app:0.1.0" ], "env": { "MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "motis-mcp-app": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MOTIS_APP_CONTACT", "ghcr.io/litote/motis-mcp-app:0.1.0" ], "env": { "MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
MOTIS_APP_CONTACTE-mail address or website URL, required with Transitous (default MOTIS server) by its usage policyRequiredMOTIS_BASE_URLMOTIS 2 server, default https://api.transitous.org/
About MOTIS explorer
Errance connects AI assistants to public transport data served by MOTIS servers, with Transitous as the default source. It aggregates open GTFS, GTFS-RT and GBFS feeds, so a model can look up journeys, live departure boards, trip positions and shared-mobility stations for places around the world.
Besides plain text answers, the server ships interactive views for hosts that support MCP Apps. Journeys appear with their legs on a map, departure boards follow the look of several national railway operators, and isochrones show which stops can be reached within a set travel time. Hosts without that support receive the same information as text.
It suits travellers who want trip planning inside a chat, developers building transit features on top of MCP clients, and anyone who wants to run a local server against their own MOTIS instance.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 7 names don't say.
From the server's own tool labels and tool names; not verified by us.
- plan_journey
- Plans journeys between two places, with a view of connections on a map.
- departures
- Shows real-time departures or arrivals of a stop, with a departure board view.
- trip_details
- Lists the stops and current position of a vehicle trip.
- explore_area
- Shows stops and lines around a place on a map.
- route_details
- Shows the path and stops of a line.
- reachability
- Shows stops reachable from a place within a travel time.
- rentals
- Shows shared mobility stations and free-floating vehicles around a place.
What it does
- Journey planning
- Finds connections between two places with times, transfers, walking options and accessibility settings.
- Live departure boards
- Shows upcoming departures or arrivals at a stop with real-time delays, cancellations and tracks.
- Trip timeline
- Lists the stops of a vehicle with its times and current position along the line.
- Area and line exploration
- Maps the stops and lines around a place and the path and stops of a specific line.
- Reachability isochrones
- Displays the stops reachable from a location within a given travel time.
- Shared mobility lookup
- Finds nearby bike, scooter and car rental stations and free-floating vehicles by provider.
Good for
- Plan a multi-leg public transport trip from within an AI chat
- Check live departures and delays at a station before leaving
- Find which neighbourhoods are reachable within a set commute time
- Locate nearby shared bikes, scooters or car rental stations
- Add transit lookups to an MCP client or agent workflow
- Run a private transit query server against a self-hosted MOTIS instance
Pricing
Open source
Free and open source under AGPL-3.0; the hosted server requires no account.
MOTIS explorer FAQ
Do I need an account to use the hosted server?
No. The hosted server at errance.litote.org accepts Streamable HTTP connections without an account.
Why is a contact address required for the local Docker version?
The Transitous usage policy requires an e-mail address or website URL when using the default MOTIS server, so MOTIS_APP_CONTACT must be set.
Which MCP clients show the interactive views?
Views render in hosts that support MCP Apps, such as Claude and ChatGPT with the dedicated endpoints; other hosts receive text output.
Can MOTIS explorer use a MOTIS server other than Transitous?
Yes. The MOTIS_BASE_URL setting points the server at any MOTIS 2 instance, with Transitous as the default.
Is MOTIS explorer free?
Yes. MOTIS explorer is open source, so you can use and self-host it for free.
How do I add MOTIS explorer to Claude Code?
Run this command in your terminal: claude mcp add motis-mcp-app --env MOTIS_APP_CONTACT='<MOTIS_APP_CONTACT>' -- docker run -i --rm -e MOTIS_APP_CONTACT ghcr.io/litote/motis-mcp-app:0.1.0
What are the best alternatives to MOTIS explorer?
The closest alternatives to MOTIS explorer are Errance and Sail.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.