# MOTIS explorer

> MOTIS explorer is an open-source MCP server for route planning. MCP server and app for querying public transport journeys, departures and maps via MOTIS. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Self-hosted, Web
- **Repository:** https://github.com/litote/motis-mcp-app
- **MCP Registry name:** org.litote/motis-mcp-app
- **Categories:** [route planning](https://ai-powered.com/categories/route-planning)
- **Listing updated:** 2026-11-27

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```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>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (~/.copilot/mcp-config.json)

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

### Codex: Add with the CLI (Terminal)

```sh
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.0
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```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>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```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 (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```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>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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 (~/.kiro/settings/mcp.json)

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

### Other clients (your client's MCP settings (most use this shape))

```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>"
      }
    }
  }
}
```

## Tools

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.

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

## Alternatives

- [Errance](https://ai-powered.com/mcp/errance): Errance is an open-source MCP server for maps and travel.
- [Sail](https://ai-powered.com/mcp/sail): Sail is a free MCP server for route planning.

---
Source: https://ai-powered.com/mcp/motis-explorer
