Look up Belgian train schedules, connections, and live departures via NMBS/SNCB (iRail API). Use when searching train routes between Belgian stations, checking departure times, finding transfer details, or looking up station names. Triggers on: "trein van X naar Y", "wanneer vertrekt de trein", "train from X to X", "NMBS", "SNCB", "treintijden", "spoorwegen", "welke trein", "volgende trein", "departures", "overstappen", "treinverbinding", "is er een rechtstreekse trein".
Look up Belgian train connections and live departures via the iRail API. No API key needed.
# Find connections between two stations
npx tsx ${CLAUDE_PLUGIN_ROOT}/skills/nmbs/scripts/nmbs.ts route <from> <to> [--time HH:MM] [--date DD/MM/YY] [--results N]
# Live departure board for a station
npx tsx ${CLAUDE_PLUGIN_ROOT}/skills/nmbs/scripts/nmbs.ts departures <station> [--limit N]
# Search station names
npx tsx ${CLAUDE_PLUGIN_ROOT}/skills/nmbs/scripts/nmbs.ts stations [<query>]
route with from/to station namesdeparturesstations <query> first to find it--time and --date when the user asks about a specific timeUse the official station names (Dutch). Common ones:
When unsure, search first: nmbs.ts stations "brussel"
The script shows departure/arrival times, duration, number of transfers, platform numbers, delays, and cancellations. Transfer details show the intermediate station with arrival/departure times and platform.