DB Timetable MCP Server
by jorekai
This is a Model Context Protocol (MCP) Server for the Deutsche Bahn Timetable API. It provides MCP tools and resources to access timetable data, station information, and train changes.
Last updated: N/A
What is DB Timetable MCP Server?
The DB Timetable MCP Server is a server that provides access to Deutsche Bahn's timetable data through the Model Context Protocol (MCP). It allows users to retrieve current and planned timetables, track changes, and search for stations.
How to use DB Timetable MCP Server?
To use the server, you need to install it, configure it with your DB Timetable API credentials, and then start it in either stdio or SSE mode. You can then use MCP tools like getCurrentTimetable
, getRecentChanges
, getPlannedTimetable
, and findStations
to query the API. The server also provides MCP resources accessible via specific endpoints.
Key features of DB Timetable MCP Server
Retrieves current timetables for a station
Tracks the latest timetable changes
Accesses planned timetable data for a specific time
Searches for train stations by name or code
Use cases of DB Timetable MCP Server
Developing applications that display real-time train information
Building tools for analyzing train schedules and delays
Integrating train data into other transportation systems
Creating user interfaces for planning train journeys
FAQ from DB Timetable MCP Server
What is an EVA number?
What is an EVA number?
An EVA number is a unique identifier for a train station in Germany.
How do I get DB Timetable API credentials?
How do I get DB Timetable API credentials?
You need to register on the Deutsche Bahn developer portal and obtain a Client ID and Client Secret.
What is the difference between stdio and SSE mode?
What is the difference between stdio and SSE mode?
stdio mode is for CLI testing and debugging, while SSE mode is for web clients.
What is the format for the date parameter in getPlannedTimetable?
What is the format for the date parameter in getPlannedTimetable?
The date format is YYMMDD (e.g., 230401 for 01.04.2023).
What license is the DB Timetable API data under?
What license is the DB Timetable API data under?
The DB Timetable API data is under the Creative Commons Attribution 4.0 International License (CC BY 4.0).