Irail logo

Irail

Belgian rail data for live boards, journey planning, train tracking, and service disruptions.

Install Irail

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "irail": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-irail"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 4 tools correctly (5d ago).

Overview

The Irail MCP server provides Belgian rail information through the community iRail API. It exposes tools for station arrivals and departures, journey planning, individual train tracking, and current disruptions affecting SNCB/NMBS and Infrabel services. Use it when an agent needs live Belgian train details, including delays, platforms, transfers, or cancellations. It can connect through the Pipeworx gateway or run locally as a stdio MCP server.

Use cases

  • Check departures from a Belgian station
  • Plan a rail journey between Belgian stations
  • Track a Belgian train by number
  • Review current rail disruptions and planned works

Key features

  • Live Belgian station departure and arrival boards
  • Journey planning with transfers and live delays
  • Train tracking with stop-level status
  • Platform and cancellation details
  • Current disturbances and planned works
  • Remote gateway and local stdio modes

Tools4

What Irail lets your agent do. Expand a tool for its parameters.

Verified live~734 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

7/7 checks healthy over the last 46d

What it can do

From the 4 tools this server returned when we ran it.

Read-only tools · 4
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age90 days
Maintainers1

Observed 2026-10-18 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @pipeworx/mcp-irail (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads242Package downloads in the last 30 days.
Last commit28d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Irail works

What the Irail MCP server does

The Irail MCP server gives MCP clients access to Belgian railway information from the community iRail API. Its tools cover station boards, route planning, train status, and network disruptions for SNCB/NMBS services and related Infrabel incidents.

irail_liveboard returns departures or arrivals for a station. Results can include train number, destination, scheduled time, delay, platform, and cancellation status. Station input supports common names and fuzzy forms such as Brussels-South, Antwerp-Central, and Liège-Guillemins.

irail_journey plans a route between two Belgian stations. It can return journey legs, transfers, live delays, and platforms for each leg. Optional departure or arrival times can be provided as Belgian-local ISO datetimes or times.

irail_train follows a specific train and reports its stops, scheduled and actual times, delays, platforms, current delay, and live position. irail_disturbances lists current incidents and planned works, including strikes, track works, and line closures, with a title, summary, type, link, and update time.

How it works

The Irail MCP server is available in two connection modes. A remote MCP endpoint is provided through Pipeworx at https://gateway.pipeworx.io/irail/mcp. That scoped endpoint lists the Irail tools alongside shared Pipeworx meta-tools. The full Pipeworx endpoint, https://gateway.pipeworx.io/mcp, exposes the broader catalog directly.

The gateway can also run tool calls over HTTP. For example, a client can send a POST request to the corresponding /v1/tools/irail_liveboard endpoint with a station in the JSON body. The gateway documentation also provides endpoints for inspecting and searching tools.

For local use, the package communicates over standard input and output. The local process exposes only the Irail tools and does not include the gateway’s shared meta-tools or cross-catalog routing.

Setup and configuration

Add the remote endpoint to an MCP client using its URL, or configure the local package with the command npx -y @pipeworx/mcp-irail. The local mode does not require a Pipeworx account or a gateway round trip.

A typical remote configuration is:

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

A local configuration uses the npx command with -y and @pipeworx/mcp-irail as its argument. No environment variables are documented for either mode.

Tools and capabilities

  • Query departures or arrivals for a Belgian station.
  • Plan routes with optional departure or arrival times.
  • Track a train using identifiers such as IC 1832, IC1832, or BE.NMBS.IC1832.
  • Inspect scheduled versus actual stop times, delays, and platforms.
  • Check planned works and active rail disturbances.
  • Ask the Pipeworx gateway to route a natural-language question when using a gateway connection.

Train identifiers can come from the liveboard or journey results, making those tools useful starting points for train tracking.

Limitations and notes

The data scope is Belgian rail. The gateway pack endpoint includes shared Pipeworx tools in addition to the four Irail tools, so its reported tool count is larger than the pack’s own list. The local package avoids those shared tools and provides only this pack’s capabilities.

Journey time parameters are interpreted in Belgian local time. The liveboard supports an arrival type for arrivals; otherwise it provides departures. The project is licensed under MIT.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Irail

Irail is an MCP server that connects AI clients to the community iRail API for Belgian SNCB/NMBS rail data. Its main tools provide station liveboards, journey planning, train tracking, and network disturbances. Results can include departures, arrivals, delays, platforms, transfers, cancellations, train positions, and planned works.

Install it locally by configuring an MCP client to run `npx -y @pipeworx/mcp-irail`. This starts the package as a stdio server and does not require a Pipeworx account. You can instead connect to the hosted MCP endpoint at `https://gateway.pipeworx.io/irail/mcp`.

Configure Cursor with the hosted Irail endpoint, or use the local `npx -y @pipeworx/mcp-irail` command. The hosted connection also lists shared Pipeworx meta-tools.

Yes, `irail_train` tracks a Belgian train by identifier. It accepts formats such as `IC 1832`, `IC1832`, and `BE.NMBS.IC1832`, and can return stops, scheduled and actual times, delays, platforms, current delay, and live position.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewIrail AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/irail?style=directory)](https://allmcps.com/mcp/irail)
HTML Embed
<a href="https://allmcps.com/mcp/irail"><img src="https://allmcps.com/api/badge/irail?style=directory" alt="Irail on AllMCPs" /></a>