BVG
- typescript
0
GitHub Stars
typescript
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"uniquename-mcp-bvg": {
"command": "node",
"args": [
"/absolute/path/to/mcp-bvg/build/index.js"
]
}
}
}You have a BVG MCP Server that lets you search locations, find stops, get real-time departures and arrivals, plan journeys, and inspect trip details. It acts as a bridge between your MCP-compatible client and BVG’s public transit data, giving you practical tools to build transit-aware experiences.
How to use
Connect to the BVG MCP Server from your MCP client using the stdio interface. The server exposes a set of tools you can call to perform location searches, view stop information, plan journeys, and retrieve real-time movement data. Use your client’s typical MCP request flow to invoke the available endpoints, then process the structured results to present to users.
How to install
Prerequisites: you need Node.js (and npm) installed on your machine.
Step 1: Clone the BVG MCP Server repository.
git clone <repository-url>
cd mcp-bvg
Step 2: Install dependencies.
npm install
Step 3: Build the project.
npm run build
Step 4: Start the MCP server.
npm start
Additional sections
Configuration for MCP clients is provided below. You will typically run the server locally in stdio mode and connect from your MCP client. If you want to run the server as a standalone process, you can reference a build output path when pointing your client to the executable.
Claude Desktop configuration enables you to wire the server into Claude’s environment. Use the following config to run the BVG MCP Server via Node and the built entry point.
{
"mcpServers": {
"bvg-transport": {
"command": "node",
"args": ["/absolute/path/to/mcp-bvg/build/index.js"]
}
}
}
Notes
The BVG MCP Server uses a TypeScript/JavaScript stack and is designed to be run with npm scripts. It communicates through stdio, so your MCP client should be prepared to issue standard MCP requests and handle responses accordingly.
Available tools
bvg_locations_search
Search for stops, addresses, and points of interest to help users locate BVG locations based on text queries.
bvg_locations_nearby
Find nearby BVG stops and points of interest using geographic coordinates.
bvg_stop_details
Retrieve detailed information about a specific BVG stop, including facilities and accessibility.
bvg_stop_departures
Get upcoming departures from a particular BVG stop, with times and line information.
bvg_stop_arrivals
Get upcoming arrivals at a BVG stop, showing expected times and service details.
bvg_journey_plan
Plan journeys between two locations using BVG network data, including transfers and walking segments.
bvg_trip_details
Obtain detailed information about a specific BVG trip, such as timetable, vehicle, and stop sequence.
bvg_radar
Locate vehicles in a geographic area with movement data for real-time tracking.