MCP.so
Sign In

Overview

What is London Transport Mcp Server?

An independent MCP server that provides real-time Transport for London (TfL) data—including line status, journey planning, and disruption information—by consuming the public TfL Unified API. Built for MCP‑compatible clients like Claude Desktop, it is not an official TfL product and runs on Cloudflare Workers.

How to use London Transport Mcp Server?

Deploy the server via the one‑click Cloudflare Workers button or manually (npm install && npm run deploy). Connect your MCP client (e.g., Claude Desktop) to the deployed URL either directly or through npx mcp-remote. Optionally include a TfL API key in the X-API-Key header for higher rate limits. Once connected, invoke the tools get_line_status or plan_journey by asking natural‑language questions about London transport.

Key features of London Transport Mcp Server

  • get_line_status: returns current status for a given TfL line (e.g., 'central').
  • plan_journey: full journey planner with optional modes, time, walking speed, and optimization.
  • Optional TfL API key authentication for higher rate limits.
  • Deployable as a public demo instance or your own Cloudflare Worker.
  • Local development with npm run dev at http://localhost:8787.

Use cases of London Transport Mcp Server

  • Check if a specific tube line (e.g., Northern, Victoria) is running normally.
  • Plan a journey between any two London locations (stations, postcodes, addresses).
  • Request the fastest or least‑walking route, with departure/arrival times.
  • Integrate real‑time TfL data into AI assistants, chatbots, or developer tools.

FAQ from London Transport Mcp Server

Is this an official Transport for London product?

No. It is an independent project using the publicly available TfL Unified API and is not affiliated with or endorsed by TfL.

Do I need an API key to use the server?

No. The server works without an API key (subject to standard rate limits), but using a free TfL API key is recommended for higher rate limits.

How do I deploy my own instance?

Click the “Deploy to Cloudflare Workers” button in the README, or clone the repo, run npm install, and deploy with npm run deploy. A Cloudflare Workers account is required.

What transport data does the server provide?

Real‑time line status for any TfL line, and a full journey planner with options for transport modes, time preferences, walking speed, and optimization criteria.

How do I connect it to Claude Desktop?

Add the server configuration to Claude Desktop’s claude_desktop_config.json using npx mcp-remote <your-server-url>/mcp. Optionally pass the X-API-Key header.

Tags

More from Other