DB Rail

live TravelTransportation

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

4 tools
0ms auth
free tier 50 calls/day

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.

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("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):