1. Conduid
  2. Cloud
  3. Irail MCP
MCP server · Cloud

Irail MCP

MCP server for Belgian railway data via the iRail API

Unclaimed MIT last commit 8 months ago cloud
56Fair

Scored 8 days ago · breakdown

About Irail MCP

Irail MCP is an MCP server published by HansF in the Cloud category: mCP server for Belgian railway data via the iRail API.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/HansF/irail-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Irail MCP

Powered by Claude · Grounded in docs

I know everything about Irail MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

Releases

v0.2.0v0.2.0 - Offline station search · 7 Feb 2026What's new Offline station search — 714 stations bundled in the package, no more API calls for `search_stations` Accent-insensitive matching — "Liege" finds "Liège", "Bruxelles" finds all Brussels stations via French names Multilingual…
v0.1.1v0.1.1 · 7 Feb 2026Add console script entry point for uvx support
v0.1.0v0.1.0 · 7 Feb 2026Initial release

README

iRail MCP Server

Disclaimer: This project was vibe coded and is not affiliated with or supported by iRail vzw. Train data may be inaccurate or outdated. Always verify with official sources (belgiantrain.be or the NMBS/SNCB app) before making travel decisions.

A Model Context Protocol (MCP) server that provides Belgian railway travel information via the iRail API.

Features

  • Search Stations - Find Belgian railway stations by name
  • Live Departures/Arrivals - Real-time departure and arrival boards
  • Find Connections - Route planning between stations with transfers
  • Train Information - Detailed stops, delays, and platforms for a specific train
  • Network Disturbances - Current disruptions and planned maintenance

Installation

Requires Python 3.11+ and uv.

git clone https://github.com/HansF/irail-mcp.git
cd irail-mcp
uv venv && source .venv/bin/activate
uv pip install -e .

Usage with Claude Code

Add to your project's .mcp.json:

{
  "mcpServers": {
    "irail": {
      "command": "uvx",
      "args": ["irail-mcp"]
    }
  }
}

Then ask Claude things like:

  • "What trains leave Brussels Central in the next hour?"
  • "Find a route from Antwerp to Bruges at 2:30 PM tomorrow"
  • "Are there any disruptions on the Belgian rail network?"
  • "Show me details for train IC2240"

Tools

search_stations

Search for stations by name.

  • query (required) - Station name or partial name
  • lang (optional) - Language: en, nl, fr, de, it

get_liveboard

Real-time departures or arrivals from a station.

  • station (required) - Station name
  • date (optional) - YYYY-MM-DD, "today", "tomorrow", "+2 days"
  • time (optional) - HH:MM (24h)
  • arrival (optional) - Show arrivals instead of departures
  • lang (optional)

find_connections

Find routes between two stations.

  • from_station (required) - Departure station
  • to_station (required) - Destination station
  • date, time, lang (optional)
  • arrival_time (optional) - If true, time is desired arrival time

get_train_info

Detailed information about a specific train.

  • train_id (required) - e.g. "IC1234" or "BE.NMBS.IC1234"
  • date, lang (optional)

get_disturbances

Current network disruptions and planned works.

  • lang (optional)

Running Tests

uv pip install -e ".[dev]"
python -m pytest tests/ -v

API Compliance

  • Rate limited to 3 requests/second per iRail guidelines
  • Proper User-Agent header set
  • 30-second timeout for slow responses

License

MIT

References

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Irail MCP

How do I install Irail MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Irail MCP safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Irail MCP still maintained?

The last commit was 8 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.