SubwayInfo NYC - Real-Time NYC Transit

by nicholaskoerfer

270 downloads
Not rated
GitHub

About

Real-time NYC transit data for AI assistants. Subway arrivals, bus schedules, ferry times, LIRR/Metro-North, Citibike availability, and service alerts - all via MCP. Every way to move in NYC.

Details

Author
nicholaskoerfer
Downloads
270
Categories
Productivity

- Real-time arrival countdowns for subways, buses, and ferries
- Instant service alerts for delays and emergencies
- Trip planning between any two stations
- Citibike availability at any station
- LIRR & Metro-North real-time departures
- All 9 NYC ferry route schedules

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name SubwayInfo NYC - Real-Time NYC Transit
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

No installation required. Add the hosted MCP server to any MCP client (e.g., Claude) by configuring the URL https://subwayinfo.nyc/mcp. The server exposes tools such as get_arrivals, list_alerts, plan_trip, get_line_status, search_stations, and transit_ask for natural language queries.

mta_get_arrivals

Get upcoming train arrivals at a station. Accepts station ID or name (e.g., "127", "Times Square", "14th Street").

mta_get_line_status

Get current service status for a subway line

mta_list_alerts

List active service alerts across the subway system. By default only shows currently active alerts.

mta_search_stations

Search for stations by name or line

mta_get_station_info

Get detailed information about a specific station. Accepts station ID or name.

mta_plan_trip

Get route suggestions between two stations. Accepts station IDs or names.

mta_get_planned_work

Get planned service changes, weekend schedules, and construction work. Shows what service changes are active now, coming later today, this weekend, and in the next week.

bus_list_alerts

Get active bus service alerts. Optionally filter by route or severity.

bus_get_arrivals

Get upcoming bus arrivals at a stop. Accepts stop ID or name (e.g., "402940", "5 Av/W 42 St").

bus_get_route_info

Get detailed information about a bus route including type, boroughs served, and description.

bus_search_stops

Search bus stops by name, route, or borough. Use this to find stop IDs for bus_get_arrivals.

ferry_get_arrivals

Get upcoming ferry arrivals at a landing. Accepts landing ID or name (e.g., "PIER11", "Wall Street", "DUMBO").

ferry_list_alerts

Get active ferry service alerts. Optionally filter by route.

ferry_search_landings

Search ferry landings by name, route, or borough. Use this to find landing IDs for ferry_get_arrivals.

ferry_get_routes

List all NYC Ferry routes with their landings. Optionally get details for a specific route.

bike_get_station_status

Get bike and dock availability at a Citibike station. Accepts station ID or name (e.g., "Broadway & W 48 St", "E 40 St & Park Ave").

bike_search_stations

Search for Citibike stations by name, borough, or availability. Returns station availability and capacity.

bike_get_availability_summary

Get an overview of Citibike availability by borough. Shows total bikes, docks, and station availability.

rail_get_departures

Get upcoming LIRR or Metro-North departures at a station. Accepts station ID or name (e.g., "PENN", "Grand Central").

rail_list_alerts

Get active LIRR and Metro-North service alerts. Optionally filter by system, branch, or severity.

rail_search_stations

Search LIRR and Metro-North stations by name, system, or branch. Use this to find station IDs for rail_get_departures.

rail_get_station_info

Get detailed information about a LIRR or Metro-North station including accessibility, platforms, parking, and zone.

transit_ask

Ask natural language questions about NYC transit (subway, bus, ferry, rail, bike). Examples: "When is the next 1 train at Times Square?", "How do I get to JFK?", "Are there any Citibikes near Grand Central?"

search

Search NYC subway stations and lines by name, landmark, or line letter/number. Returns result IDs that can be passed to the fetch tool for station details, live arrivals, and line status. Use the mode-specific tools (bus, ferry, rail, bike) for non-subway lookups.

fetch

Fetch full details for a search result ID. Supports "station:<id>" (station info plus live arrivals) and "line:<line>" (current service status and alerts). Use the search tool first to discover valid IDs.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "subwayinfo nyc - real-time nyc transit": {
            "mta-nyc-transit": {
                "url": "https://subwayinfo.nyc/mcp"
            }
        }
    }
}

McpServers

{
    "mta-nyc-transit": {
        "url": "https://subwayinfo.nyc/mcp"
    }
}

SubwayInfo NYC

Every way to move in NYC. Real-time transit data for AI assistants.

Features

- Real-time Arrivals - Live countdowns for every subway, bus, and ferry - Service Alerts - Instant alerts for delays, planned work, and emergencies - Trip Planning - Get routes between any two stations - Citibike Availability - See bikes and docks at any station - LIRR & Metro-North - Real-time departures and status - Ferry Schedules - All 9 NYC ferry routes

Hosted MCP Server

No installation required. Add to Claude or any MCP client: ``json { "mcpServers": { "mta-nyc-transit": { "url": "https://subwayinfo.nyc/mcp" } } } `

Tools

-
get_arrivals - Get real-time arrivals at any station - list_alerts - Get current service alerts - plan_trip - Plan a trip between stations - get_line_status - Check status of any subway line - search_stations - Find stations by name - transit_ask` - Natural language transit queries Website: https://subwayinfo.nyc
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.