DB Timetable MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for the SSE server | 3000 |
| LOG_LEVEL | No | Logging level (debug, info, warn, error) | info |
| SSE_ENDPOINT | No | Endpoint for SSE connections | /sse |
| TRANSPORT_TYPE | No | Transport type for the MCP server (stdio or sse) | stdio |
| DB_TIMETABLE_CLIENT_ID | Yes | Client ID for the DB API | |
| DB_TIMETABLE_CLIENT_SECRET | Yes | Client Secret for the DB API |
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 | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| getCurrentTimetableB | Ruft die aktuellen Fahrplandaten einer bestimmten Bahnhofsstation ab. Dies beinhaltet Informationen zu Ankunfts- und Abfahrtszeiten, Gleisbelegungen, Verspätungen und weitere Echtzeitinformationen für den aktuellen Betriebstag. |
| getRecentChangesA | Ermittelt die neuesten Fahrplanänderungen für eine spezifische Bahnhofsstation. Dazu gehören Verspätungen, Gleisänderungen, Ausfälle und andere kurzfristige Anpassungen im Betriebsablauf, die in Echtzeit aktualisiert werden. |
| getPlannedTimetableA | Holt die geplanten Fahrplandaten für eine angegebene Bahnhofsstation zu einem bestimmten Datum und einer bestimmten Stunde ein. Diese Funktion ist nützlich, um Fahrpläne im Voraus zu planen und Informationen über zukünftige Zugverbindungen zu erhalten. |
| findStationsA | Durchsucht das Verzeichnis der Bahnhofsstationen anhand eines gegebenen Suchmusters. Dies kann der Name der Station oder die EVA-Nummer sein. Das Tool liefert eine Liste von Stationen, die dem Suchmuster entsprechen. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Aktuelle Fahrplandaten | Aktuelle Fahrplandaten für eine Bahnhofsstation mit Informationen zu Ankunfts- und Abfahrtszeiten, Gleisen, Verspätungen und anderen relevanten Betriebsinformationen. Die Daten werden in Echtzeit von der DB Timetable API abgerufen und im XML-Format bereitgestellt. |
| Aktuelle Fahrplanänderungen | Enthält aktuelle Fahrplanänderungen in Echtzeit für eine bestimmte Bahnhofsstation. Dies umfasst Informationen zu Verspätungen, Gleisänderungen, Ausfällen und andere relevante betriebliche Anpassungen. Die Daten werden von der DB Timetable API im XML-Format abgerufen. |
| Geplante Fahrplandaten | Geplante Fahrplandaten für eine Bahnhofsstation zu einer bestimmten Zeit |
| Stationssuche | Suche nach Bahnhofsstationen anhand eines Musters |
TDQS
Scored across 4 tools
Each tool targets a distinct function: station search, real-time timetable, planned timetable, and recent changes. There is no overlap in purpose, making selection unambiguous.
All tool names follow a consistent verb_noun camelCase pattern (findStations, getCurrentTimetable, etc.), which is uniform and predictable.
Four tools cover the core functionalities of a timetable server (search, current, planned, changes) without redundancy or shortage.
The set covers essential station and timetable operations. Minor gaps like a generic station list or multi-station queries are absent but not critical for the stated purpose.