How to Check Live Train Departures with OpenClaw

Check Live Train Departures with OpenClaw and ToolRouter. Automate departure monitoring for multiple stations and schedule delay alerts.

Tool
Train Tracker icon
Train Tracker

OpenClaw lets you monitor live departures from multiple stations on a schedule — pulling the departure board every few minutes and triggering alerts when delays exceed a threshold. This is the right approach for automated commuter notifications, travel assistant bots, or operations teams monitoring multiple rail routes.

Connect ToolRouter to OpenClaw

1Install the CLI
npm install -g toolrouter-mcp
2Call tools directly from OpenClaw
toolrouter-mcp call web-search search --query "AI tools"
toolrouter-mcp tools

Steps

Once connected (see setup above), use the Train Tracker tool:

  1. List the stations and routes to monitor.
  2. Run `live_departures` for each station on your monitoring interval (e.g., every 5 minutes).
  3. Compare the expected versus scheduled departure times and trigger an alert when delay exceeds your threshold.
  4. Push the alert to your notification channel — Slack, SMS, or webhook.

Example Prompt

Try this with OpenClaw using the Train Tracker tool
Use train-tracker to monitor live departures from Manchester Piccadilly to London Euston every 5 minutes. Return departure status for the next three trains. Trigger an alert payload when any train is delayed by more than 15 minutes with: service_id, scheduled_departure, expected_departure, and delay_minutes.

Tips

  • Set a meaningful delay threshold for alerts — 5 minutes is noise, 15 minutes is actionable.
  • Monitor the next 3 trains rather than just the next one so an alert can recommend the next available option.
  • Include the scheduled departure in the alert payload so recipients know which specific service is affected.