Berlin Transport MCP Server

Berlin Transport MCP Server

berlin-transport-mcp•byharshil1712

An MCP server that provides access to Berlin public transport data through the VBB API.

License: Not specified•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Exposes two MCP tools: search, which searches the OpenAPI spec to discover operations, parameters, and response shapes, and execute, which runs a JavaScript snippet that calls the VBB API.
  • •The execute tool runs in a sandboxed Dynamic Worker with no direct network access; the host proxies the actual HTTP request.
  • •Covers VBB API operations for location search, stop departures, and journeys between origin and destination.

BEST FOR

  • •Finding Berlin stops, stations, addresses, and points of interest.
  • •Looking up upcoming departures for a stop.
  • •Planning journey options between an origin and a destination.

ABOUT BERLIN-TRANSPORT-MCP

Berlin Transport MCP Server is cataloged as an MCP server attributed to harshil1712. An MCP server that provides access to Berlin public transport data through the VBB API. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Berlin Transport MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server avoid exposing one tool per API operation?

It uses Code 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, search and execute, letting the model write and run a sandboxed JavaScript snippet to chain calls.

Upstream README

View this exact version on GitHub

README.md · a4f538aa1641 · Fetched 2026-11-13 10:28:20 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Berlin Transport MCP Server

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

This server uses Code 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, search and execute. The model reads the spec, then writes and runs a short JavaScript snippet in a sandboxed Dynamic Worker to 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.

Get started

npm install
npm run dev

This starts a local server at http://localhost:8787/mcp.

npm run deploy

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

Available Tools

  • 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 calls codemode.request({ method, path, query }) against the VBB API. The host proxies the actual HTTP request; the sandbox has no direct network access.

Underlying API operations

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, visit v6.vbb.transport.rest/getting-started.html.

Customizing your MCP Server

The OpenAPI spec passed to openApiMcpServer and the request proxy function both live in src/index.ts. To wrap a different API:

  1. Update API_ORIGIN and openApiSpec with the new API's paths/operations.
  2. Adjust the request function if the upstream API needs different methods, auth headers, or response handling.

Connect to Cloudflare AI Playground

You can connect to your MCP server from the Cloudflare AI Playground, which is a remote MCP client:

  1. Go to https://playground.ai.cloudflare.com/
  2. Enter your deployed MCP server URL (berlin-transport-mcp.<your-account>.workers.dev/mcp)
  3. You can now use the search and execute tools 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 the mcp-remote proxy.

To connect to your MCP server from Claude Desktop, follow Anthropic's Quickstart and within Claude Desktop go to Settings > Developer > Edit Config.

Update with this configuration:

{
  "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 the search and execute tools become available.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Berlin Transport MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/berlin-transport-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops