TFL Server For Poke
БесплатноНе проверенEnables AI assistants to access real-time Transport for London data, including tube/bus arrivals, line status, journey planning, and disruptions.
Описание
Enables AI assistants to access real-time Transport for London data, including tube/bus arrivals, line status, journey planning, and disruptions.
README
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 |
|---|---|
get_arrivals |
Real-time arrivals at a station/stop |
get_line_status |
Current status of TFL lines |
search_stops |
Find stations by name |
plan_journey |
Journey planning between locations |
get_line_stops |
All stops on a specific line |
get_disruptions |
Active service disruptions |
get_bus_routes |
List London bus routes |
search_bus_stops |
Find bus stops by name or location |
get_bus_arrivals |
Real-time bus arrivals at a stop |
Setup
1. Get a TFL API Key
- Go to api-portal.tfl.gov.uk/signup
- 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.py
The server will start at http://localhost:8000/mcp
3. Test with MCP Inspector
# In another terminal
npx @anthropic/mcp-inspector
Open 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.yaml - Add environment variable:
TFL_API_KEY= your API key - Deploy!
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/mcp - Test 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/Mode/{modes}/Status |
Line statuses |
/StopPoint/{id}/Arrivals |
Real-time arrivals |
/StopPoint/Search/{query} |
Search stations |
/Journey/JourneyResults/{from}/to/{to} |
Journey planning |
License
MIT
Disclaimer
This is not an official Transport for London (TFL) MCP server. It uses the publicly available TFL Unified API.
Установка TFL Server For Poke
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/VJagiasi/tfl-mcpFAQ
TFL Server For Poke MCP бесплатный?
Да, TFL Server For Poke MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для TFL Server For Poke?
Нет, TFL Server For Poke работает без API-ключей и переменных окружения.
TFL Server For Poke — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить TFL Server For Poke в Claude Desktop, Claude Code или Cursor?
Открой TFL Server For Poke на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare TFL Server For Poke with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
