Skip to content
MCP server

TransCAPI

Live UK and Ireland buses, trains, disruptions and journey planning for assistants

Runs locallyStatus and history
Install
Pricing
Freemium
Platforms
CLI, API
Runs
Locally
Version
0.1.3
Listing updated
3 days ago

About TransCAPI

TransCAPI is a freemium MCP server for maps and travel. It runs locally on your machine and is started by your AI client.

This stdio server wraps the TransCAPI API, which draws on official open data such as the Bus Open Data Service, NaPTAN, Network Rail and TfL. It needs a TransCAPI API key and, per the README, is read-only. Rail times come from National Rail's Darwin feed with platforms, cancellations and delay reasons, and live buses are matched to their exact trips.

The tools cover place and stop search, nearby stops and stations, bus and rail departures, the full calling pattern of one train or bus journey, live bus positions, disruptions by area, line or route, and journey planning. The README notes that journey planning currently covers only South and West Yorkshire and West Sussex. The wider API also offers measured bus punctuality, connection reliability for changes, reachability maps and webhook alerts, which the server tools do not list.

The README says the API also covers the Netherlands and Belgium. The free tier is quoted as 100 requests a day on the site and 200 in the README. If you display the data, the project asks you to credit its sources.

Install

Run in a terminal

claude mcp add mcp --env TRANSCAPI_API_KEY='<TRANSCAPI_API_KEY>' -- uvx transcapi-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "transcapi-mcp"
      ],
      "env": {
        "TRANSCAPI_API_KEY": "<TRANSCAPI_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "transcapi-mcp"
      ],
      "env": {
        "TRANSCAPI_API_KEY": "<TRANSCAPI_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "transcapi-mcp"
      ],
      "env": {
        "TRANSCAPI_API_KEY": "<TRANSCAPI_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "transcapi-mcp"
      ],
      "env": {
        "TRANSCAPI_API_KEY": "<TRANSCAPI_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "transcapi-mcp"
      ],
      "env": {
        "TRANSCAPI_API_KEY": "<TRANSCAPI_API_KEY>"
      }
    }
  }
}

Configuration

  • TRANSCAPI_API_KEYYour TransCAPI API key. Free at https://www.transcapi.com/signupRequired
  • TRANSCAPI_BASE_URLAPI address, if not https://api.transcapi.com

Tools this server provides (10)

Taken from the project documentation; the running server may differ.

search_places
Finds a town, village, postcode or stop by name.
nearby_stops
Bus, tram and rail stops near a point.
nearby_stations
Rail stations near a point.
bus_departures
What is leaving or arriving at a bus stop with live times.
rail_departures
Live trains at a station.
train_service
Every station one train calls at, live for today.
bus_service
Every stop one bus journey calls at and where the bus is now.
live_buses
Buses on the road near a point.
disruptions
Planned works, incidents and line status.
plan_journey
Public transport journeys between two points.

What it does

Live train times
Platforms, expected times, cancellations and delay reasons.
Live bus positions
Buses near a point with delays where tracked.
Calling patterns
Every stop one bus or train journey calls at.
Disruption lookup
Works, incidents and line status by area, line or route.
Journey planning
Plans routes in the covered regions.
Read-only
None of the tools change anything.

Good for

  • Ask when the next train from Leeds to York leaves and if it is late
  • Find where the 52 bus is now
  • Check disruptions on the way home
  • Find stops near a postcode

Pricing

Freemium

Free key with a daily request limit; paid tiers raise limits, prices not shown

Prices change. Check transcapi.com before you buy.

TransCAPI FAQ

Do I need a key?

Yes, a free TransCAPI key.

Where does journey planning work?

Currently South and West Yorkshire and West Sussex.

What is the licence?

MIT.

How do I run it?

Use uvx transcapi-mcp or pip install transcapi-mcp.

Is TransCAPI free?

TransCAPI has a free plan, with paid plans for more usage or features.

How do I add TransCAPI to Claude Code?

Run this command in your terminal: claude mcp add mcp --env TRANSCAPI_API_KEY='<TRANSCAPI_API_KEY>' -- uvx transcapi-mcp

What are the best alternatives to TransCAPI?

The closest alternatives to TransCAPI are Tutu eSIM, Shanghai Streets Travel Guide, Fifty Asks, Gangway AIS and Tickets: tours and event tickets in South America.

Alternatives to TransCAPI

  1. Tutu eSIM

    MCP server

    Live travel eSIM plans, prices and roaming costs for 190+ countries

    • 5 tools
    • Remote
    • Paid
    • Maps and travel
  2. Curated places, walking routes and areas in Shanghai, Jiangsu and Zhejiang

    • 9 tools
    • Remote
    • Free
    • Maps and travel
  3. Fifty Asks

    MCP server

    Let an agent book a free AI-visibility check or a 15-minute call for a local business

    • 10 tools
    • Remote
    • Free
    • Maps and travel
  4. Gangway AIS

    MCP server

    Vessel positions, port calls and anchorage waiting times from licensed AIS data

    • 21 tools
    • Remote
    • Freemium
    • Freight and logistics
  5. Goyondo

    MCP server

    Agent-native trip planner where your AI builds the itinerary and Goyondo stores it

    • Remote
    • Freemium
    • Maps and travel