irail_train

Pack: irail · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/irail_train for the schema, then POST the same URL with its arguments for the data.

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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the irail pack
{
  "mcpServers": {
    "irail": {
      "url": "https://gateway.pipeworx.io/irail/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 3, 2026