Skip to main content
MCP server CX Codex

Public Transport — Claude Code MCP server: what it does

Public Transport connects your assistant to live European transit data, covering departures, routes, and station lookup across several countries.

MIT 3,245 installs ★ 9 updated 2026-10-27

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http mcp-server-public-transport https://mcp-server-public-transport--mirodn.run.tools
Open on GitHub

What Public Transport does

The server links AI clients with public transit APIs in the United Kingdom, Switzerland, Belgium, Norway, Berlin/Brandenburg, and Portugal. It handles station searches, spots stops near specific coordinates, and calculates transit connections. Departure boards and journey results return a unified compact JSON structure with delay details rather than bulky upstream payloads.

Queries for British train timetables require UK_TRANSPORT_APP_ID and UK_TRANSPORT_API_KEY. Other integrations like Transitous for Lisbon and Porto run without credentials under fair-use terms. If you need untouched provider payloads, pass raw: true to the tool call.

What it helps with

  • look up live train departure boards with delay information
  • plan transit trips with walking legs and connections
  • find nearby transit stations using coordinates
  • retrieve vehicle details for Belgian transit

Example prompts for the agent

  • Check departure times and delays for trains leaving Zürich HB.
  • Plan a journey from Brussels Central to Ghent departing around 14:00.
  • Find transit stops near latitude 59.91 and longitude 10.75 in Oslo.

How to install Public Transport

Platform CLI: remote server

claude mcp add --transport http mcp-server-public-transport https://mcp-server-public-transport--mirodn.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Public Transport

How to install Public Transport in Claude Code?

Run claude mcp add --transport http public-transport https://mcp-server-public-transport--mirodn.run.tools in your terminal.

What does the Public Transport MCP server do?

It gives your assistant access to live departure boards, journey planning, and nearby station searches across European public transit networks.

Are API keys required to use this MCP server?

Only UK transport lookups require UK_TRANSPORT_APP_ID and UK_TRANSPORT_API_KEY, while services for Switzerland, Belgium, Norway, Berlin, and Portugal operate without credentials.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

More in the catalog

Project sponsors

Companies that keep this analytics open