Tfl MCP Server
by oneill9io.github.oneill9/mcp-server-tflv1.4.0
Community-built server providing real-time London transport data via the TfL Unified API
context tax
queued
security
queued
cold start
queued
freshness
Active10d ago
Install Tfl MCP server
Install in Claude Code
claude mcp add tfl -e TFL_APP_KEY='<tfl-app-key>' -- docker run -i --rm -e TFL_APP_KEY ghcr.io/oneill9/mcp-server-tfl:1.4.0Install in Cursor
{
"mcpServers": {
"tfl": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFL_APP_KEY",
"ghcr.io/oneill9/mcp-server-tfl:1.4.0"
],
"env": {
"TFL_APP_KEY": "<tfl-app-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"tfl": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFL_APP_KEY",
"ghcr.io/oneill9/mcp-server-tfl:1.4.0"
],
"env": {
"TFL_APP_KEY": "<tfl-app-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"tfl": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFL_APP_KEY",
"ghcr.io/oneill9/mcp-server-tfl:1.4.0"
],
"env": {
"TFL_APP_KEY": "<tfl-app-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"tfl": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFL_APP_KEY",
"ghcr.io/oneill9/mcp-server-tfl:1.4.0"
],
"env": {
"TFL_APP_KEY": "<tfl-app-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| TFL_APP_KEY | — | yes | 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/ |
Freshness
Active — last maintenance signal 10d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-29 · 10d ago · GitHub
Latest release
2026-07-12 · 3mo ago · GitHub · v1.5.2
Package published
no data · npm/PyPI
Registry entry updated
2026-04-15 · 6mo ago · official registry · v1.4.0
FAQ
›How do I install the Tfl MCP server in Claude Code?
Run: claude mcp add tfl -e TFL_APP_KEY='<tfl-app-key>' -- docker run -i --rm -e TFL_APP_KEY ghcr.io/oneill9/mcp-server-tfl:1.4.0. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Tfl require an API key?
Yes. It expects TFL_APP_KEY, of which 1 is a secret.
›Can I use Tfl as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Tfl in the official MCP registry?
Yes, as io.github.oneill9/mcp-server-tfl.