DB Rail
live TravelTransportationDB Rail MCP — German & EU train travel: station search, real-time departures/arrivals with delays, and multi-leg journey planning. Keyless (transport.rest).
Tools
dbrail_locations Search Deutsche Bahn / EU rail stops, stations, addresses and POIs by name (e.g. "Berlin Hbf", "München"). Returns matches with a stop id you can pass to dbrail_departures, dbrail_arrivals, or dbrail_
No parameters required.
Try it
dbrail_departures Real-time departures board for a Deutsche Bahn / EU rail stop by its stop id (get the id from dbrail_locations). Returns upcoming departures with line, destination/direction, scheduled + actual time,
No parameters required.
Try it
dbrail_arrivals Real-time arrivals board for a Deutsche Bahn / EU rail stop by its stop id (get the id from dbrail_locations). Returns upcoming arrivals with line, origin/provenance, scheduled + actual time, delay, a
No parameters required.
Try it
dbrail_journeys Plan multi-leg Deutsche Bahn / EU rail journeys between two stations. Pass origin and destination stop ids (from dbrail_locations). Returns route options, each with its legs (line, from/to, times, pla
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/db-rail/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/db-rail/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"dbrail_locations","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("dbrail_locations", {}); // Or ask in plain English:
const answer = await px.ask("db rail mcp — german & eu train travel: station search, real-time departures/arrivals with delays, and multi-leg journey planning"); Related packs
Other Pipeworx packs in the same categories (Travel, Transportation):