DB Rail

liveTravelTransportation

German & EU train travel: station search, real-time departures/arrivals with delays, and multi-leg journey planning. Keyless (transport.rest).

4tools
0msauth
free tier50 calls/day

Tools

dbrail_locations

Search German / European rail stations, stops, and places by name (e.g. "Berlin Hbf", "München", "Zürich HB"). Returns matches with a stop id, coordinates, and country. Keyless. You do NOT have to cal

No parameters required.

▶Try it
dbrail_departures

Live departures board for a German / European station. Pass a station NAME ("Berlin Hbf") or a stop id from dbrail_locations. Returns upcoming departures with line/train number, destination, scheduled

No parameters required.

▶Try it
dbrail_arrivals

Live arrivals board for a German / European station. Pass a station NAME ("München Hbf") or a stop id from dbrail_locations. Returns upcoming arrivals with line/train number, origin, scheduled and rea

No parameters required.

▶Try it
dbrail_journeys

Plan a multi-leg rail / public-transport journey between two places in Europe. Pass station NAMES ("Berlin Hbf" -> "München Hbf") or stop ids. Returns route options, each with total duration, number o

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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/db-rail/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("dbrail_locations", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("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):