Berlin Transport MCP Server

by harshil1712

6 stars
198 downloads
Not rated
GitHub

About

Access Berlin's public transport data via the VBB (Verkehrsverbund Berlin-Brandenburg) API.

Details

Author
harshil1712
GitHub stars
6
Downloads
198
Categories
Other, Developer Tools

- Search for public transport stops by name.
- Get upcoming departures for a specific stop.
- Plan journeys between two stops with optional departure time.
- Deploy as a serverless endpoint on Cloudflare Workers.
- Connect to remote MCP clients via SSE transport.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Berlin Transport MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Connect via Claude Desktop using the mcp-remote proxy with the server’s SSE URL, or deploy your own instance on Cloudflare Workers using the provided template and then connect from the Cloudflare AI Playground. Configure Claude Desktop by editing its MCP settings to include the server as shown in the README.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "berlin transport mcp server": {
            "calculator": {
                "command": "npx",
                "args": [
                    "mcp-remote",
                    "https://berlin-transport.mcp-tools.app/sse"
                ]
            }
        }
    }
}

McpServers

{
    "calculator": {
        "command": "npx",
        "args": [
            "mcp-remote",
            "https://berlin-transport.mcp-tools.app/sse"
        ]
    }
}

An MCP server that provides access to Berlin's public transport data through the VBB (Verkehrsverbund Berlin-Brandenburg) API. This server wraps thev6.vbb.transport.restAPI.

This server usesCode Mode: instead of exposing one MCP tool per API operation, the VBB API is described as an OpenAPI spec and the server exposes exactly two tools,searchandexecute. The model reads the spec, then writes and runs a short JavaScript snippet in a sandboxedDynamic Workerto call the API — which scales far better than dumping every tool schema into the model's context window, and lets it chain multiple calls (e.g. search a stop, then fetch its departures) in a single sandbox run.

This starts a local server athttp://localhost:8787/mcp.

This deploys the Worker to a URL like:berlin-transport-mcp.<your-account>.workers.dev/mcp.

- search— Search the OpenAPI spec (codemode.spec()) to discover available operations, parameters, and response shapes before calling the API.
- execute— Run a short async JavaScript snippet that callscodemode.request({ method, path, query })against the VBB API. The host proxies the actual HTTP request; the sandbox has no direct network access.

The OpenAPI spec exposed to the model covers:

- getLocations(GET /locations) — search for stops, stations, addresses, and points of interest.
- getDepartures(GET /stops/{id}/departures) — upcoming departures for a stop.
- getJourneys(GET /journeys) — journey options between an origin and a destination.

For more details about the underlying API, visitv6.vbb.transport.rest/getting-started.html.

The OpenAPI spec passed toopenApiMcpServerand therequestproxy function both live insrc/index.ts. To wrap a different API:
- UpdateAPI_ORIGINandopenApiSpecwith the new API's paths/operations.
- Adjust therequestfunction if the upstream API needs different methods, auth headers, or response handling.

You can connect to your MCP server from the Cloudflare AI Playground, which is a remote MCP client:
- Go to
https://playground.ai.cloudflare.com/
- Enter your deployed MCP server URL (berlin-transport-mcp.<your-account>.workers.dev/mcp)
- You can now use thesearchandexecutetools directly from the playground!

Connect Claude Desktop to your MCP server

You can also connect to your remote MCP server from local MCP clients, by using themcp-remote proxy.

To connect to your MCP server from Claude Desktop, followAnthropic's Quickstartand within Claude Desktop go to Settings > Developer > Edit Config.

{ "mcpServers": { "berlin-transport": { "command": "npx", "args": [ "mcp-remote", "https://berlin-transport.mcp-tools.app/mcp" // or if local http://localhost:8787/mcp ] } } }

Restart Claude and you should see thesearchandexecutetools become available.

Chia Health MCP Server — Patient workflow integration for a licensed US telehealth platform. Browse GLP-1 medications (semaglutide, tirzepatide), peptide therapies (sermorelin, NAD+, glutathione), and longevity treatments. Check eligibility, complete intake, sign consents, and manage treatment plans. 30 tools, HIPAA-compliant. All prescriptions evaluated by licensed US healthcare providers and delivered from FDA-regulated pharmacies across 50 states + DC.

Broker + MCP server for last-bidder-wins games on Solana — agents register, auto-fund a Privy wallet, and bid via streamable HTTP

AI-powered no-code app builder with 17 MCP tools — create projects, generate pages from natural language, AI text/image generation (GPT, Claude, Gemini, 14+ models), page CRUD, workflow execution, publish & version control. SSE transport, API key auth.

An mcp server for your food ordering needs.

Agent-to-Agent handoff certification for multi-agent systems — validates context preservation, verifies agent capabilities before handoff, logs transfer chains, and ensures no data loss in agent orchestration.

Unified MCP & skill management gateway with progressive disclosure. Manages multiple MCP servers as Agent Apps, loading tool schemas on demand for 99% context token savings. Shared across Claude Code, Codex, OpenCode and more.

A collection of Model Context Protocol (MCP) servers for various tasks and integrations, supporting both Python and Node.js environments.

Open-souSecurely feeds real security refreshed rules into Cursor, Claude Code, and Windsurf — zero config, no API key.

Health intelligence MCP — access biomarkers, biological age, and personalized longevity action plans from your Aniva profile.

Real-time stock heatmaps and investment tools delivered as interactive React components.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.