Tfl MCP Server

MCP server for the Transport for London (TfL) Unified API — lines, journeys, stop points, arrivals, bike points, and more over stdio

Local serverstdio

What is the Tfl MCP Server?

MCP server for the Transport for London (TfL) Unified API — lines, journeys, stop points, arrivals, bike points, and more over stdio

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
DomainTools
AccidentStatsaccident_stats
AirQualityair_quality
BikePointbike_points_all, bike_point_search, bike_point_by_id
Cabwisecabwise_search
Journeyjourney_plan, journey_modes
Line14 tools
Modemode_active_service_types, mode_arrivals
Occupancy5 tools
Place7 tools
Road8 tools
Search5 tools
StopPoint17 tools
Vehicle3 tools

How to install the Tfl MCP Server

{
  "mcpServers": {
    "tfl": {
      "type": "stdio",
      "command": "bunx",
      "args": [
        "@daanrongen/tfl-mcp"
      ],
      "env": {
        "TFL_API_KEY": "YOUR_TFL_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
TFL_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Tfl MCP to Domain.”
  • “Use Tfl MCP to AccidentStats.”
  • “Use Tfl MCP to AirQuality.”

Frequently asked questions

MCP server for the Transport for London (TfL) Unified API — lines, journeys, stop points, arrivals, bike points, and more over stdio Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.