Skip to content
Back to skills

Gotrain

ASecurity

MTA system train departures (NYC Subway, LIRR, Metro-North). Use when the user wants train times, schedules, or service alerts for MTA transit. Covers MTA Subway, LIRR, and Metro-North across the greater New York area.

  • 14 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
toolsgobashnodegit

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill gotrain --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gotrain?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gotrain
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-gotrain/badge)](https://www.skillsdirectory.com/skills/modbender-gotrain)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gotrain
description: MTA system train departures (NYC Subway, LIRR, Metro-North). Use when the user wants train times, schedules, or service alerts for MTA transit. Covers MTA Subway, LIRR, and Metro-North across the greater New York area.
metadata: {"clawdbot":{"requires":{"bins":["gotrain"]},"install":[{"id":"node","kind":"node","package":"gotrain-cli","bins":["gotrain"],"label":"Install gotrain CLI (npm)"}]}}
---

# gotrain

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

## Installation

```bash
npm install -g gotrain-cli
```

## Commands

| Command | Description |
|---------|-------------|
| `gotrain stations [query]` | List/search stations |
| `gotrain departures <station-id>` | Show departures for a station |
| `gotrain alerts` | Active service alerts |
| `gotrain fav <id>` | Toggle favorite station |
| `gotrain favs` | List 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

```bash
# 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

https://github.com/gumadeiras/gotrain-cli

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…