Vinkius
TransportAPI logo
Vinkius
Vinkius runs on CrewAI

How to Use the TransportAPI MCP in CrewAI

Run autonomous transport operations using CrewAI and TransportAPI Alternative MCP Server.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect TransportAPI MCP to CrewAI

Create your Vinkius account to connect TransportAPI 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

Autonomous Trip Planning

You need a user to plan a trip? Assign one agent (the Planner) the `plan_public_transport_journey` tool. This agent researches step-by-step routes and times between two locations. A second agent can then take that output and use it to estimate costs with `get_train_fares`. The crew works together, ensuring all data points for the journey are covered.

Investigating Service Details

If a user complains about a specific train service, one agent can use `get_train_service_details` to pull the full calling pattern. Another agent then uses `get_train_station_timetable` to cross-reference the expected schedule against reality. The specialized roles ensure comprehensive data gathering before generating a final report.

Comprehensive Location Lookup

Use this setup when input is vague. The Research agent runs `get_transport_by_postcode` to narrow down the area. Then, the Analysis agent uses that postcode's data with `search_transport_places` to confirm specific station names and types. The crew collaboration handles ambiguity by providing multiple layers of verification.

Setup guide

Set up TransportAPI 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 TransportAPI tools as needed.

crew.py
from crewai import Agent, Task, Crew

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

task = Task(
    description="List recent TransportAPI 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 TransportAPI MCP in CrewAI

One agent is specialized in routing; it calls `plan_public_transport_journey`. The output feeds directly into the next agent, which then formats and presents the final step-by-step guide to the user.
Yes. You assign an Agent the `get_train_fares` tool. This agent pulls pricing data between two stations, allowing a separate Moderating agent to summarize the cost comparison for the user.
Absolutely. One specialized Agent handles real-time checks by calling `get_live_bus_departures` or `get_live_train_departures`. The results are immediately passed to the final reporting agent.
You set up two sequential tasks. The first task uses `get_nearby_bus_stops` based on GPS. The second task takes that list of found spots and compiles a final report, ensuring nothing is missed.
This server touches public data only: bus routes, train timetables, live departure times, GPS coordinates, station names, and fare structures. No private user details are needed.

Start using the TransportAPI 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 TransportAPI. 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.