TfL
About
MCP server for Transport for London — lines, journeys, stop points, arrivals, bike points, occupancy, road disruptions and more over stdio
Details
- Author
- daanrongen
- Categories
- Productivity, Other, API
Jump to
Setup
Install TfL in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/daanrongen/tfl-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
MCP server for theTransport for London Unified API— lines, journeys, stop points, arrivals, bike points, occupancy, road disruptions and more over stdio.
Register for a free key athttps://api-portal.tfl.gov.uk/. Without one, requests are rate-limited to ~500/day.
Edit~/Library/Application Support/Claude/claude_desktop_config.json:
{ "mcpServers": { "tfl": { "type": "stdio", "command": "bunx", "args": ["@daanrongen/tfl-mcp"], "env": { "TFL_API_KEY": "your-key-here" } } } }
claude mcp add tfl bunx -- @daanrongen/tfl-mcp -e TFL_API_KEY=your-key-here
bun install bun run dev # run with --watch bun test # run test suite bun run build # bundle to dist/main.js bun run inspect # open MCP Inspector in browser
bun run inspectlaunches theMCP Inspectoragainst the local build:
bun run build && bun run inspect
This opens the Inspector UI in your browser where you can call any tool interactively and inspect request/response shapes.
The most common failure mode is passing a free-text name tojourney_plan, which causes TfL to return a 300 disambiguation response. The tool handles this gracefully and returns suggestedparameterValueIDs to retry with.
Preferred ID formats (most to least reliable):
src/ ├── config.ts # Effect Config — TFL_API_KEY ├── main.ts # Entry point — ManagedRuntime + StdioServerTransport ├── domain/ │ ├── TflClient.ts # Context.Tag service interface │ └── errors.ts # TflError, TflDisambiguationError ├── infra/ │ ├── TflClientLive.ts # Layer.effect — HTTP client with disambiguation handling │ └── TflClientTest.ts # In-memory test adapter └── mcp/ ├── server.ts # McpServer wired to ManagedRuntime ├── utils.ts # formatSuccess, formatError, formatDisambiguation └── tools/ # One module per TfL domain (13 files)
US/HK markets — 110 tools: real-time quotes, options, orders, fundamentals, alerts, DCA & portfolio
Interact with Ramp's Developer API to run analysis on your spend and gain insights leveraging LLMs
A read-only server to query live Jira Service Management data via a simple MCP interface, powered by CData.
Manage forms, handle responses, and access analytics using the Fillout.io API.
Validate email addresses using the AbstractAPI Email Validation API.
Read-only MCP server for the OfficeRnD coworking and flex-space management API. Query members, companies, bookings, │ │ Description │ resources, billing, and more.
A server to manage studies, recruit participants, and collect data on the Prolific platform.
Provides advanced search, reporting, and analytics for recruitment data via Recruitee.
Wiza MCP provides remote contact enrichment, company enrichment, and prospect search over the Model Context Protocol.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





