Db Support — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Db Support (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A standardized Model Context Protocol (MCP) server that provides seamless access to Deutsche Bahn's timetable data through MCP tools and resources. This server enables AI assistants and applications to query real-time train schedules, station information, and timetable changes for German railway stations.
This MCP server bridges the gap between AI applications and Deutsche Bahn's timetable API, offering:
Built with the standard @modelcontextprotocol/sdk, this server supports both stdio and SSE (Server-Sent Events) transport modes, making it compatible with various MCP clients including Cursor IDE.
This project provides timetable data from Deutsche Bahn, which is publicly available under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
For more information about the API and license terms, visit developers.deutschebahn.com. All API requests are subject to the license terms.
git clone <repository-url>
cd db-timetable-mcp npm install npm run buildCreate a .env file in the project root directory with the following environment variables:
DB_TIMETABLE_CLIENT_ID=your-client-id
DB_TIMETABLE_CLIENT_SECRET=your-client-secret
TRANSPORT_TYPE=sse
PORT=3000
SSE_ENDPOINT=/sse
LOG_LEVEL=infoDB_TIMETABLE_CLIENT_ID: Client ID for the DB API (required)DB_TIMETABLE_CLIENT_SECRET: Client Secret for the DB API (required)TRANSPORT_TYPE: Transport type for the MCP server (stdio or sse, default: stdio)PORT: Port for the SSE server (default: 3000)SSE_ENDPOINT: Endpoint for SSE connections (default: /sse)LOG_LEVEL: Logging level (debug, info, warn, error, default: info)In stdio mode (for CLI tests and debugging):
npm startIn SSE mode (for web clients):
TRANSPORT_TYPE=sse npm startOr use the dev script:
npm run dev:sseThe server provides the following tools:
evaNo - EVA number of the station (e.g., 8000105 for Frankfurt Hbf)evaNo - EVA number of the station (e.g., 8000105 for Frankfurt Hbf)evaNo - EVA number of the station (e.g., 8000105 for Frankfurt Hbf)date - Date in YYMMDD format (e.g., 230401 for April 1, 2023)hour - Hour in HH format (e.g., 14 for 2 PM)pattern - Search pattern (e.g., "Frankfurt" or "BLS")The server provides the following resources:
db-api:timetable/current/{evaNo}db-api:timetable/changes/{evaNo}db-api:timetable/planned/{evaNo}/{date}/{hour}db-api:station/{pattern}db-timetable-mcp/
├── src/
│ ├── api/ # API client and types
│ ├── tools/ # MCP tools
│ ├── resources/ # MCP resources
│ ├── utils/ # Utility functions
│ ├── config.ts # Configuration
│ └── index.ts # Main entry point
├── dist/ # Compiled files
├── .env # Environment variables
├── package.json
├── tsconfig.json
└── README.mdnpm run build: Compiles TypeScript codenpm start: Starts the servernpm run dev: Starts the server in development modenpm run dev:sse: Starts the server in SSE mode (development)npm test: Runs testsnpm run check-env: Checks environment variable configurationThis server can be integrated with Cursor IDE. See CURSOR_CONFIG.md for detailed configuration instructions.
npm run dev:sse {
"mcpServers": {
"db-timetable": {
"url": "http://localhost:3000/sse",
"transport": "sse"
}
}
}The server also provides REST API endpoints for testing:
GET /health - Health checkGET /tools - List all toolsGET /resources - List all resourcesPOST /tools/call - Call a tool (REST API)GET /sse - SSE connection endpointPOST /sse - Send MCP messages via SSE (JSON-RPC 2.0)Potential extensions:
MCP Server: MIT License
DB Timetable API: Creative Commons Attribution 4.0 International License
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.