irail_train

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

Track one Belgian train by its number — is my Belgian train delayed. All stops with scheduled vs actual times, per-stop delay in minutes, platforms, current delay, and live position. Accepts “IC 1832”, “IC1832”, or “BE.NMBS.IC1832”. Train numbers come from irail_liveboard or irail_journey. Example: irail_train({ id: “IC1832” })

Parameters

NameTypeRequiredDescription
idstringyesTrain id, e.g. “IC1832”, “IC 538”, “S52558”, “EUR9381”, or “BE.NMBS.IC1832”
datestringnoOptional travel date “YYYY-MM-DD” (default today, Belgian time)

Example call

Arguments

{
  "id": "IC1832"
}

curl

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_train","arguments":{"id":"IC1832"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('irail_train', {
  "id": "IC1832"
});

More examples

{
  "id": "S52558",
  "date": "2026-07-20"
}

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 September 4, 2026