oneill9 avatar

Tfl Mcp Server

oneill9/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 tools

Public 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_KEYsecret

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/

Readme

TfL MCP Server

TfL MCP Server logo

Disclaimer: 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.

GitHub release License: MIT

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 negotiate 2026-07-28. Legacy HTTP/SSE is not supported.


View the full README on GitHub

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

More from oneill9

Related Data & Analytics MCP servers

View all
1openweb-ninja avatarOpenwebninja Mcpopenweb-ninja/openwebninja-mcpOfficial MCP server for OpenWeb Ninja APIs - 40+ real-time web data and SERP APIs as MCP tools1stars
2pythia-the-oracle avatarPythia Oracle Mcppythia-the-oracle/pythia-oracle-mcpEvery smart contract deserves intelligence, not just data. On-chain indicators via Chainlink.1stars
3smurfy92 avatarOpenclaw Control Mcpsmurfy92/openclaw-control-mcpMCP server bridging Claude Code to the OpenClaw gateway management plane via JSON-RPC.1stars
4stellify-software-ltd avatarStellify Mcpstellify-software-ltd/stellify-mcpBuild Laravel apps through conversation. Code stored as structured JSON for surgical AI edits.1stars
5toptop-oy avatarmdfitoptop-oy/mdfi-connectRead PDFs, scans and Office files page by page, with quality flags and CSV table export.1stars
6txn2 avatarMcp Trinotxn2/mcp-trinoMCP server for Trino data warehouses. Query, analyze plans, and explore schemas.1stars