TFL MCP Server for Poke
Provides real-time data from Transport for London, including arrivals, line status, journey planning, disruptions, and bus routes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TFL MCP Server for PokeWhat's the status of the Victoria line?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TFL MCP Server for Poke
A Model Context Protocol (MCP) server providing Transport for London data to AI assistants like Poke.
Features
Real-time arrivals at any Tube station or bus stop
Line status for Tube, DLR, Overground, Elizabeth line
Journey planning between any two locations
Service disruptions and alerts
Bus routes and bus stop search
All TFL modes supported
Related MCP server: mcp-tfl-journey
Tools Available
Tool | Description |
| Real-time arrivals at a station/stop |
| Current status of TFL lines |
| Find stations by name |
| Journey planning between locations |
| All stops on a specific line |
| Active service disruptions |
| List London bus routes |
| Find bus stops by name or location |
| Real-time bus arrivals at a stop |
Setup
1. Get a TFL API Key
Create an account and verify your email
Subscribe to the "500 requests per minute" plan (free)
Copy your API key from your Profile
2. Local Development
# Clone the repository
git clone https://github.com/VJagiasi/tfl-mcp.git
cd tfl-mcp
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Set up environment
cp .env.example .env
# Edit .env and add your TFL_API_KEY
# Run the server
python src/server.pyThe server will start at http://localhost:8000/mcp
3. Test with MCP Inspector
# In another terminal
npx @anthropic/mcp-inspectorOpen http://localhost:3000 and connect to http://localhost:8000/mcp using "Streamable HTTP" transport.
Deployment to Render
One-Click Deploy
Manual Deploy
Push this repo to GitHub
Go to render.com and create a new Web Service
Connect your GitHub repository
Render will auto-detect
render.yamlAdd environment variable:
TFL_API_KEY= your API keyDeploy!
Your server will be available at: https://tfl-mcp.onrender.com/mcp
Connect to Poke
Open Poke settings: poke.com/settings/connections/integrations/new
Add MCP integration
Enter your server URL:
https://tfl-mcp.onrender.com/mcpTest it!
Example Queries
Once connected to Poke, try asking:
"What's the status of the Victoria line?"
"When's the next train at King's Cross?"
"Plan a journey from Paddington to Heathrow"
"Are there any disruptions on the Tube?"
"Find bus stops near Trafalgar Square"
"When's the next 73 bus?"
API Reference
This server uses the TFL Unified API. Key endpoints:
Endpoint | Purpose |
| Line statuses |
| Real-time arrivals |
| Search stations |
| Journey planning |
License
MIT
Disclaimer
This is not an official Transport for London (TFL) MCP server. It uses the publicly available TFL Unified API.
This server cannot be deployed
Maintenance
Related MCP Connectors
UK refunds inside your AI assistant: train delays, flights, TfL, parking. Made in London.
Provide real-time transportation data including bus arrivals, train service alerts, carpark availa…
Transport for London (TfL) Unified API MCP — keyless.
Read and update your Everway trips and itineraries from any MCP-compatible AI assistant.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides real-time access to Transport for London data, enabling users to check tube line statuses, get disruption details, and plan journeys between London locations. Uses the official TfL Unified API to deliver live transport information through AI assistants.36 npmMIT
- AlicenseBqualityDmaintenanceProvides real-time Transport for London journey data, including routes, alerts, and disruptions, allowing AI assistants to search journeys and get station information.120 npm4ISC
- AlicenseNot gradedqualityDmaintenanceProvides real-time Transport for London data including line status, journey planning, and disruption information via the TfL Unified API.6 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to query live Transport for London data, including service status, arrivals, journey planning, bike points, crowding, and fares.1MIT