mcp-server-tfl

v1.4.0
io.github.oneill9/mcp-server-tfl Checked 8 hours ago Published 7 months ago

Community-built server providing real-time London transport data via the TfL Unified API

Values you need

VariableWhat it is
TFL_APP_KEYoptional secret TfL API key — recommended for effective use. Without a key, TfL applies strict rate limits that will impact most real-world usage. Register free at https://api-portal.tfl.gov.uk/

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add mcp-server-tfl -- docker run -i --rm ghcr.io/oneill9/mcp-server-tfl:1.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-tfl": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/oneill9/mcp-server-tfl:1.4.0"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-tfl": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/oneill9/mcp-server-tfl:1.4.0"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server-tfl": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/oneill9/mcp-server-tfl:1.4.0"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server-tfl]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/oneill9/mcp-server-tfl:1.4.0"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: arrivals, service_status, journey, crowding, fares, bike_points.
  4. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json