irail-cli

Query Belgian railway schedules and live status via the irail CLI.

1|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/dedene/irail-cli --skill irail-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: irail-cli
Source: https://github.com/dedene/irail-cli/tree/main/.claude/skills/irail
Command: npx skills add https://github.com/dedene/irail-cli --skill irail-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly access Belgian railway schedules, live status, and route information from the command line, eliminating manual lookups and multi-step API calls.

Core Features & Use Cases

  • Liveboard: view departures and arrivals for stations.
  • Connections: plan routes between stations with flexible time options.
  • Vehicle and Disturbances: fetch train details and service disruptions with easy JSON output.

Quick Start

Run irail liveboard Brugge to see live departures.

Frequently Asked Questions about irail-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Belgian railway schedules from the terminal?

You can query Belgian railway schedules from the terminal by using the irail CLI to fetch liveboard departures, plan connections, and check service disruptions via the public iRail API. Run commands like 'irail liveboard Brugge' to instantly see live train data without manual API lookups.

Can I get NMBS/SNCB train routes and connections via a command line tool?

Yes, you can get NMBS/SNCB train routes via a command line tool by using the irail CLI's connections workflow to plan routes between stations with flexible time options. It directly accesses the public iRail API to retrieve schedule and connection data without requiring authentication.

Does the irail CLI require an API key to fetch liveboard departures?

No, the irail CLI does not require an API key or authentication to fetch liveboard departures. It operates by querying the public iRail API directly, allowing immediate access to station departures, arrivals, and vehicle details straight from your terminal environment.

How do I check Belgian railway service disruptions in JSON format?

You can check Belgian railway service disruptions in JSON format by running the irail CLI with the --json flag. This outputs structured disturbance and vehicle data from the NMBS/SNCB network, making it easy to parse schedule delays and route information programmatically.

Does the irail CLI support multiple languages for railway connections?

Yes, the irail CLI supports multiple languages for railway connections by utilizing the --lang flag. This allows you to retrieve station names, liveboard data, and route schedules from the public iRail API in your preferred language directly from the command line.

What is the best way to fetch train composition details for Belgian railways?

The best way to fetch train composition details for Belgian railways is using the irail CLI's vehicle and composition workflows. It retrieves specific train configurations and details directly from the public iRail API without requiring complex multi-step API calls or authentication.