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 "Install 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
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 installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/VJagiasi/tfl-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server