Berlin Transport MCP Server logo

Berlin Transport MCP Server

by harshil1712

This MCP server provides access to Berlin's public transport data through the VBB API. It wraps the v6.vbb.transport.rest API, offering tools for searching stops, getting departures, and planning journeys.

View on GitHub

Last updated: N/A

What is Berlin Transport MCP Server?

This server is a Model Context Protocol (MCP) server that provides access to Berlin's public transport data via the VBB API. It allows users to query information about stops, departures, and journey planning.

How to use Berlin Transport MCP Server?

The server can be deployed using Cloudflare Workers or run locally. Once deployed, you can connect to it from MCP clients like Claude Desktop or the Cloudflare AI Playground by providing the server's URL. The server exposes tools that can be called with specific parameters to retrieve transport data.

Key features of Berlin Transport MCP Server

  • Search for public transport stops

  • Get upcoming departures for a specific stop

  • Get journey options between two stops

  • Integration with Claude Desktop

  • Integration with Cloudflare AI Playground

Use cases of Berlin Transport MCP Server

  • Building applications that require real-time public transport information in Berlin

  • Integrating public transport data into AI assistants

  • Developing tools for journey planning and navigation

  • Creating dashboards for monitoring public transport services

  • Providing public transport information to users through various interfaces

FAQ from Berlin Transport MCP Server

What is the underlying API?

The server wraps the v6.vbb.transport.rest API.

How do I deploy the server?

You can deploy it using the 'Deploy to Workers' button or by using the Cloudflare CLI.

How do I connect to the server from Claude Desktop?

Follow Anthropic's Quickstart and update the configuration with the server's URL.

How do I connect to the server from Cloudflare AI Playground?

Enter your deployed MCP server URL in the Cloudflare AI Playground.

Can I add my own tools to the server?

Yes, you can define your own tools inside the init() method of src/index.ts using this.server.tool(...).