Vinkius
TfL logo
Vinkius
Vinkius runs on CrewAI

How to Use the TfL MCP in CrewAI

Autonomous planning teams using crewai.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

TfL MCP on Cursor AI Code Editor MCP Client TfL MCP on Claude Desktop App MCP Integration TfL MCP on OpenAI Agents SDK MCP Compatible TfL MCP on Visual Studio Code MCP Extension Client TfL MCP on GitHub Copilot AI Agent MCP Integration TfL MCP on Google Gemini AI MCP Integration TfL MCP on Lovable AI Development MCP Client TfL MCP on Mistral AI Agents MCP Compatible TfL MCP on Amazon AWS Bedrock MCP Support
MCP Servers — Included with Plan
Vinkius runs on CrewAI

Connect TfL MCP to CrewAI

Create your Vinkius account to connect TfL to CrewAI — we handle the hosting, security, and runtime updates so you don't have to. No server setup required.

GDPR Included with Plan

Key Capabilities

Multi-agent trip comparison.

Assign one agent the role of 'Planner' (using `get_journey`) and another the role of 'Risk Analyst'. The Planner suggests a path from Heathrow to Tower Bridge, while the Risk Analyst runs `get_line_status` on every segment. They collaborate to give the user the safest option. This specialized collaboration models how multiple experts review complex data before giving a final answer.

Coordinated last-mile logistics.

Set up two agents: 'Bike Locator' and 'Journey Guide'. The Bike Locator uses `get_bike_points` to find the nearest dock. The Journey Guide then runs a multi-modal plan from `get_journey`, ensuring the final leg of the trip is covered by available bikes. The crew structure keeps these two specialized tasks running in parallel for maximum efficiency.

Proactive disruption reporting.

You can run a team where Agent A checks general status using `get_line_status` and Agent B focuses solely on driving problems via `get_road_disruptions`. The moderator agent then synthesizes these two reports, giving the user a single, comprehensive view of system reliability. The crew structure is ideal for synthesizing diverse data sources like this MCP Server provides.

Setup guide

Set up TfL MCP in CrewAI

Prerequisites

  • Python 3.10+ installed
  • crewai package (pip install crewai)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install CrewAI

    Run pip install crewai to install the framework. MCP support is built-in via the mcps parameter.

  2. 2

    Add the MCP URL to your agent

    Pass your Vinkius endpoint directly to the mcps list. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. CrewAI handles tool discovery and caching automatically.

  3. 3

    Kick off your crew

    Create a Crew with your agent and tasks. Call crew.kickoff() — the agent will automatically invoke TfL tools as needed.

crew.py
from crewai import Agent, Task, Crew

agent = Agent(
    role="TfL Analyst",
    goal="Access and analyze TfL data via MCP.",
    backstory="Expert analyst with direct TfL access.",
    mcps=[
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    ],
)

task = Task(
    description="List recent TfL transactions",
    agent=agent,
    expected_output="A summary of recent activity",
)

crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result)

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about TfL MCP in CrewAI

You assign roles: one agent runs `get_journey` to build the core plan, and a second agent uses `get_road_disruptions` to vet the entire trip for road issues. The collaboration ensures the final suggested route is both efficient and current.
Yes. You can create a specialized 'Status Agent' that exclusively uses `get_line_status`. This agent reports on specific lines like the Victoria Line, giving a quick, reliable assessment of overall service health.
A 'Discovery Agent' runs `search_stop_point` to find IDs. Then, another agent uses those IDs with `get_arrivals` to provide the real-time data you need for trip timing.
It's excellent. You can assign an 'Accessibility Agent' that checks details using `get_stop_point_details` and coordinates the journey plan with other agents to guarantee a step-free path.
The server touches operational status, location metadata (from `get_place_search`), real-time arrivals (`get_arrivals`), and road conditions (`get_road_disruptions`). It's a deep dive into London transport infrastructure.

Start using the TfL MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 12 tools

We've already built the connector for TfL. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 12 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.