TransportationDocumentedScanned

gotrain

MTA system train departures (NYC Subway, LIRR, Metro-North).

Share:

Installation

npx clawhub@latest install gotrain

View the full skill documentation and source below.

Documentation

gotrain

Atomic CLI for NYC transit departures (MTA Subway, LIRR, Metro-North).

Installation

npm install -g gotrain-cli

Commands

CommandDescription
gotrain stations [query]List/search stations
gotrain departures Show departures for a station
gotrain alertsActive service alerts
gotrain fav Toggle favorite station
gotrain favsList favorite stations

Common Station IDs

  • MNR-149 - New Haven
  • MNR-151 - New Haven-State St
  • MNR-1 - Grand Central
  • MNR-203 - Penn Station (MNR)
  • LIRR-349 - Grand Central
  • SUBWAY-631 - Grand Central-42 St

Examples

# Search for Penn Station
gotrain stations penn

# New Haven to Grand Central departures
gotrain departures MNR-149

# Check service alerts
gotrain alerts

# Add favorite station
gotrain fav MNR-149

Source