
SubwayInfo NYC
from ea9b0392
NYC subway status and schedules
SubwayInfo.nyc
Real-time NYC transit data for subway, bus, ferry, LIRR, Metro-North, and Citibike. SubwayInfo.nyc exposes an MCP server, direct REST APIs, and browser-discoverable tools for agents.
Agent Discovery
-
API catalog: /.well-known/api-catalog
-
OpenAPI service description: /openapi.json
-
API documentation: /docs
-
Health status: /health
-
MCP endpoint: /mcp
-
MCP server card: /.well-known/mcp/server-card.json
-
Agent skills index: /.well-known/agent-skills/index.json
Common REST Endpoints
-
GET /api/arrivals?station_id=127 -
GET /api/alerts?line=A -
GET /api/stations?query=Times%20Square -
GET /api/trip?origin_station_id=127&destination_station_id=631 -
GET /api/bus/arrivals?stop_id=401062 -
GET /api/ferry/arrivals?landing_id=WS -
GET /api/rail/departures?station_id=NYK
Authentication
Most read-only endpoints can be used anonymously with rate limits. API keys are optional and documented at /docs#authentication .
This tool doesn't publish a standard install command โ the repository README on GitHub covers its setup.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under Apache-2.0โ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ