deutschebahn_mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_OPENBOARDS_BASE_URL | No | Override the OpenBoards base URL. | |
| DB_TIMETABLE_CLIENT_ID | No | Legacy fallback for the DB API Marketplace client ID. | |
| DB_OPENBOARDS_CLIENT_ID | No | DB API Marketplace client ID. | |
| DB_OPENSTATION_BASE_URL | No | Override the OpenStation NeTEx endpoint. | |
| DB_OPENBOARDS_CACHE_PATH | No | Where the station-name cache is stored (default: ~/.cache/deutschebahn-mcp/stations.json). | |
| DB_TIMETABLE_CLIENT_SECRET | No | Legacy fallback for the DB API Marketplace client secret. | |
| DB_OPENBOARDS_CLIENT_SECRET | No | DB API Marketplace client secret. | |
| DB_OPENBOARDS_DEFAULT_STATION | No | Station used when no station argument is given (default: Frankfurt Hbf). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| getDepartureBoardA | Liefert die Abfahrtstafel einer deutschen Bahnstation (Zeit, Linie, Ziel, Gleis, Verspaetung, Ausfall, Hinweise) ueber die DB OpenBoards API. Bahnhofsname wird automatisch aufgeloest - keine EVA-Nummer noetig. Bei mehreren Treffern (z. B. 'Frankfurt') kommen stattdessen Auswahl-Optionen zurueck. |
| getArrivalBoardA | Liefert die Ankunftstafel einer deutschen Bahnstation (Zeit, Linie, Herkunft, Gleis, Verspaetung, Ausfall, Hinweise) ueber die DB OpenBoards API. Bahnhofsname wird automatisch aufgeloest - keine EVA-Nummer noetig. Bei mehreren Treffern kommen stattdessen Auswahl-Optionen zurueck. |
| findStationA | Loest einen Bahnhofsnamen zu seiner Stationskennung auf (ueber die lokal gecachte OpenStation-Liste, tippfehler-/umlauttolerant). Liefert entweder eine eindeutige Station, eine Liste von Optionen bei Mehrdeutigkeit, oder 'nicht gefunden'. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
The three tools target clearly separate resources: departures, arrivals, and station-name resolution. There is no plausible confusion between them, and findStation is explicitly positioned as a helper for ambiguous station names that the board tools already handle internally.
All names use camelCase with a verb-first pattern (getDepartureBoard, getArrivalBoard, findStation), which is easy to scan. The only minor deviation is get* vs find*, though the distinction is semantically meaningful here.
Three tools are a tight, well-scoped set for a departure/arrival board API, and each earns its place. It sits at the low end of the range, so the surface feels slightly thin for a general Deutsche Bahn server.
Read-only board coverage (departures, arrivals) plus station resolution is coherent, but there is no journey/connection search, which is the core use case of most rail APIs. An agent can check what is leaving or arriving but cannot plan a trip between two stations.