irail_journey

Pack: irail · Endpoint: https://gateway.pipeworx.io/irail/mcp

Plan a train journey between two Belgian stations — SNCB NMBS route planner with legs, transfers, live delays, and platforms per leg. Answers “next train from Brussels to Antwerp”, “how do I get from Ghent to Liège by rail”. Optional depart_at or arrive_by as ISO datetime (“2026-07-20T09:00”) or time (“09:00”), interpreted in Belgian local time. Example: irail_journey({ from: “Brussels-South”, to: “Antwerp-Central” })

Parameters

NameTypeRequiredDescription
fromstringyesOrigin station, e.g. “Brussels-South”
tostringyesDestination station, e.g. “Antwerp-Central”
depart_atstringnoDepart at/after this time — “YYYY-MM-DDTHH:MM” or “HH:MM” (today), Belgian local time. Default: now
arrive_bystringnoArrive by this time instead — same formats as depart_at. Overrides depart_at
limitnumbernoMax connections to return, 1-6 (default 4)

Example call

curl -X POST https://gateway.pipeworx.io/irail/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"irail_journey","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "irail": {
      "url": "https://gateway.pipeworx.io/irail/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 21, 2026