dbrail_journeys
Pack: db-rail · Endpoint: https://gateway.pipeworx.io/db-rail/mcp
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, platforms), number of transfers, and total duration. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | string | yes | Origin stop id from dbrail_locations, e.g. “8011160”. |
to | string | yes | Destination stop id from dbrail_locations, e.g. “8000261” (München Hbf). |
departure | string | no | ISO date/time to depart at (e.g. “2026-07-14T12:00:00”). Defaults to now. |
results | number | no | Max journey options to return (default 3, max 6). |
Example call
curl -X POST https://gateway.pipeworx.io/db-rail/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dbrail_journeys","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"db-rail": {
"url": "https://gateway.pipeworx.io/db-rail/mcp"
}
}
}
See Getting Started for client-specific install steps.