Deutsche Bahn Timetable
About
Connects to Deutsche Bahn timetable API for retrieving real-time railway information, planned schedules, recent changes, and station searches across Germany's rail network.
Details
- Author
- jorekai
- Repository
- jorekai/db-timetable-mcp
- GitHub stars
- 1
- Downloads
- 358
- License
- MIT License
- Categories
- AI, Design, Developer Tools, Search, Knowledge Base, Security, Project Management, Database
Jump to
- Fetch current timetable data for a station
- Retrieve recent timetable changes
- Access planned timetable for a given date and hour
- Search stations by name or code
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Deutsche Bahn TimetableCommand (node, npx, python, etc.)nodeArguments-
Argument 1
/absolute/path/db-timetable-mcp/dist/index.js
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install Node.js 18+, clone the repo, run npm install and npm run build. Create a .env file with your DB API credentials (DB_TIMETABLE_CLIENT_ID, DB_TIMETABLE_CLIENT_SECRET). Start the server with npm start for stdio mode or TRANSPORT_TYPE=sse npm start for SSE mode.
getStationBoard
Empfohlen: verbindet Sollfahrplan und vollständige Änderungen zu einer Live-Bahnhofstafel
getPlannedTimetable
Statischer Sollfahrplan für EVA-Nummer, Datum und Stunde
getCurrentTimetable
Vollständiger Änderungsbestand (`fchg`); aus Kompatibilitätsgründen so benannt
getRecentChanges
Änderungen der letzten zwei Minuten (`rchg`) für inkrementelle Aktualisierungen
findStations
Stationssuche nach Name, EVA-Nummer oder DS100-Code
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"deutsche bahn timetable": {
"env": {},
"args": [
"/absolute/path/db-timetable-mcp/dist/index.js"
],
"command": "node"
}
}
}
Linux
{
"env": [],
"args": [
"/absolute/path/db-timetable-mcp/dist/index.js"
],
"command": "node"
}
Macos
{
"env": [],
"args": [
"/absolute/path/db-timetable-mcp/dist/index.js"
],
"command": "node"
}
Windows
{
"env": [],
"args": [
"C:\\absolute\\path\\db-timetable-mcp\\dist\\index.js"
],
"command": "node"
}
DB Timetable MCP Server
Ein produktionsreifer Model Context Protocol Server für die offizielle Deutsche-Bahn-Timetables-API. Er übersetzt das kompakte DB-XML in semantisches JSON und führt Sollfahrplan und Echtzeitänderungen zu einer verlässlichen Bahnhofstafel zusammen.
Warum dieser Server?
- Korrekte Gleise und Zeiten: effective enthält den tatsächlich anzuzeigenden Wert; planned und changed erklären Abweichungen.
- LLM-freundlich: Tools liefern structuredContent, beschreibende JSON-Schemas und ein abrufbares Datenmodell.
- MCP-konform: Offizielles TypeScript-SDK, stdio für lokale Clients und stateless Streamable HTTP für Remote-Betrieb.
- Sicherer Betrieb: Keine Logs auf stdout, lokale Bindung als Standard, Host-Allowlist, Timeouts, Non-root-Container und reproduzierbares Lockfile.
- Nachvollziehbar: Unit-, Vertrags- und Transporttests, Coverage-Grenzen, CI, Dependency- und Secret-Checks.
Schnellstart
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




