
Tfl Mcp Server
A community wrapper around Transport for London's Unified API that gives Claude live access to the Tube, bus, and bike share network. You get six tools covering service status, live arrivals, journey planning, Santander Cycles dock locations, station crowding levels, and fares between stops. The server automatically resolves stop names to NaPTAN IDs so you can query by location rather than memorizing codes. Ships as both a Node.js MCPB extension and a Java Docker image. TfL enforces strict rate limits without an API key, so you'll want to register for a free one at their portal before real use. The service_status tool includes MCP Apps UI support for hosts that can render it.
- GitHub stars
- 1
- tools
- 6
- auth
- Secret needed
- transport
- STDIO
- env var
- 1
- last updated
- Jul 12, 2026
Tools
6 toolsPublic tool metadata for what this MCP can expose to an agent.
service_statusCurrent status and disruptions by mode
Current status and disruptions by mode
No parameter schema in public metadata yet.
arrivalsLive arrivals at a stop by name
Live arrivals at a stop by name
No parameter schema in public metadata yet.
journeyPlan a journey between two points
Plan a journey between two points
No parameter schema in public metadata yet.
bike_pointsList Santander Cycles docking stations
List Santander Cycles docking stations
No parameter schema in public metadata yet.
crowdingLive station crowding level by name
Live station crowding level by name
No parameter schema in public metadata yet.
faresFare information between two named stops
Fare information between two named stops
No parameter schema in public metadata yet.
Sponsors
Configuration
TFL_APP_KEYsecretTfL 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/
Readme
TfL MCP Server
TfL MCP Server logoDisclaimer: This is a community-built project. It is not affiliated with, endorsed by, or connected to Transport for London (TfL). This project consumes the publicly available TfL Unified API.
An MCP server that exposes the TfL (Transport for London) Unified API as tools, allowing AI assistants like Claude to query live London transport data.
Version 2 is a single Node.js 22 implementation using the MCP 2026-07-28 protocol revision. It supports stdio for local hosts, npm, and MCPB, plus stateless Streamable HTTP at /mcp for remote deployments.
Protocol compatibility: Streamable HTTP is modern-only MCP
2026-07-28. The stdio entry point also accepts 2025-era initialization for desktop hosts such as Codex, while modern stdio clients continue to negotiate2026-07-28. Legacy HTTP/SSE is not supported.
Details
- Repository
- github.com/oneill9/tfl-mcp-server
- Category
- Data & Analytics
- Package
ghcr.io/oneill9/tfl-mcp-server:1.5.2- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active