MOTIS explorer
v0.2.0MCP App for the public transport of any MOTIS server (Transitous by default): journeys, boards, maps
Values you need
| Variable | What it is | |
|---|---|---|
MOTIS_APP_CONTACT | required | E-mail address or website URL, required with Transitous (default MOTIS server) by its usage policy |
MOTIS_BASE_URL | optional | MOTIS 2 server, default https://api.transitous.org/ |
Docker discovery passed
Requires Docker
Run in a terminal
claude mcp add motis-mcp-app -e 'MOTIS_APP_CONTACT=<MOTIS_APP_CONTACT>' -- docker run -i --rm -e MOTIS_APP_CONTACT ghcr.io/litote/motis-mcp-app:0.2.0Add to
claude_desktop_config.json{
"mcpServers": {
"motis-mcp-app": {
"args": [
"run",
"-i",
"--rm",
"-e",
"MOTIS_APP_CONTACT",
"ghcr.io/litote/motis-mcp-app:0.2.0"
],
"command": "docker",
"env": {
"MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"motis-mcp-app": {
"args": [
"run",
"-i",
"--rm",
"-e",
"MOTIS_APP_CONTACT",
"ghcr.io/litote/motis-mcp-app:0.2.0"
],
"command": "docker",
"env": {
"MOTIS_APP_CONTACT": "<MOTIS_APP_CONTACT>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "MOTIS_APP_CONTACT",
"id": "motis-app-contact",
"password": true,
"type": "promptString"
}
],
"servers": {
"motis-mcp-app": {
"args": [
"run",
"-i",
"--rm",
"-e",
"MOTIS_APP_CONTACT",
"ghcr.io/litote/motis-mcp-app:0.2.0"
],
"command": "docker",
"env": {
"MOTIS_APP_CONTACT": "${input:motis-app-contact}"
},
"type": "stdio"
}
}
}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.2.0"]
env = { "MOTIS_APP_CONTACT" = "<MOTIS_APP_CONTACT>" }For AI agents
- Ask the user for: MOTIS_APP_CONTACT. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: search_places, server_info, explore_area, route_details, reachability, departures, trip_details, plan_journey, ….
- If it fails, check that the required runtime is installed (Docker) and that the values above are set.
Machine-readable: install.md · manifest.json