SubwayInfo NYC MCP
An official MCP server by SubwayInfo.nyc providing real-time data for NYC transit including subways, buses, ferries, rail, and bikes. It offers 22 tools for AI assistants to query arrivals, line statuses, alerts, station info, and plan trips using natural language or structured parameters.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://subwayinfo.nyc/mcpWhat its tools do
26 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (26)
mta_get_arrivalsmta_get_line_statusmta_list_alertsmta_search_stationsmta_get_station_infomta_get_tunnel_connectivitymta_plan_tripmta_get_planned_workbus_list_alertsbus_get_arrivalsbus_get_route_infobus_search_stopsferry_get_arrivalsferry_list_alertsferry_search_landingsferry_get_routesbike_get_station_statusbike_search_stationsbike_get_availability_summaryrail_get_departuresrail_list_alertsrail_search_stationsrail_get_station_infotransit_asksearchfetch
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Endpoint and vendor documentation share a domain
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
About SubwayInfo NYC MCP
The SubwayInfo NYC MCP server, operated by SubwayInfo.nyc, delivers real-time data for New York City transit systems. It supports queries for subways, buses, ferries, rail, and bike services through 22 specific tools. These tools enable AI assistants to retrieve arrival times, check line statuses, view alerts, access station details, and plan trips using natural language or structured parameters.
This server is suitable for tasks requiring current service status, real-time train arrivals at any station, trip planning across the transit network, and detailed station information searches. It connects via a Streamable HTTP endpoint at subwayinfo.nyc without requiring a sign-in to connect or list tools.
While the initial connection does not require authentication, individual tools may still need a vendor account, credentials, or permissions. Users must check the documented prerequisites for specific tasks to ensure access.
What you can do with it
- Get real-time train arrivals at any station
- Check current service status and alerts for subway lines
- Plan trips across the NYC transit network
- Search for stations and get detailed station information
Protocol and capabilities
- Server
- mta-subway-mcp-server 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 26 advertised
- Resources
- 2 advertised
- Resource templates
- 0 advertised
- Prompts
- 3 advertised
{
"tools": {
"listChanged": true
},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
26 advertised
mta_get_arrivals — Get Train Arrivals
Get upcoming train arrivals at a station. Accepts station ID or name (e.g., "127", "Times Square", "14th Street").
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"station_id"
],
"properties": {
"line": {
"type": "string",
"description": "Filter by line (e.g., \"1\", \"A\", \"F\")"
},
"limit": {
"type": "number",
"default": 10,
"maximum": 100,
"description": "Max arrivals to return (default: 10, max: 100)",
"exclusiveMinimum": 0
},
"direction": {
"enum": [
"N",
"S"
],
"type": "string",
"description": "N=uptown/Bronx-bound, S=downtown/Brooklyn-bound"
},
"station_id": {
"type": "string",
"description": "Station ID or name (e.g., \"127\", \"Times Square\", \"Penn Station\", \"14th Street\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"stationId",
"stationName",
"arrivals",
"lastUpdated"
],
"properties": {
"arrivals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"line": {
"type": "string"
},
"trainId": {
"type": "string"
},
"crowding": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"level": {
"type": "string"
}
},
"additionalProperties": true
},
"headsign": {
"type": "string"
},
"direction": {
"type": "string",
"description": "N=uptown, S=downtown"
},
"isAssigned": {
"type": "boolean",
"description": "Whether a physical train is assigned to the trip"
},
"arrivalTime": {
"type": "string",
"description": "ISO timestamp of the arrival"
},
"minutesAway": {
"type": "number"
},
"directionLabel": {
"type": "string",
"description": "Human-readable direction, e.g. \"Uptown\""
}
},
"additionalProperties": true
},
"description": "Upcoming arrivals sorted chronologically"
},
"isComplex": {
"type": "boolean",
"description": "True when the station is a multi-platform complex"
},
"platforms": {
"type": "array",
"items": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"arrivals": {
"type": "array",
"items": {
"$ref": "#/properties/data/properties/arrivals/items"
}
},
"stationId": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Per-platform arrivals for multi-platform station complexes"
},
"stationId": {
"type": "string"
},
"lastUpdated": {
"type": "string",
"description": "ISO timestamp of the last feed update"
},
"stationName": {
"type": "string"
}
},
"description": "Upcoming train arrivals at the resolved station",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "arrivals",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}mta_get_line_status — Get Line Status
Get current service status for a subway line
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"line"
],
"properties": {
"line": {
"type": "string",
"description": "Line identifier (e.g., \"A\", \"1\", \"L\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"line",
"status",
"severity",
"alerts"
],
"properties": {
"line": {
"type": "string"
},
"alerts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cause": {
"type": "string"
},
"effect": {
"type": "string"
},
"severity": {
"type": "string",
"description": "One of: info, warning, severe"
},
"headerText": {
"type": "string"
},
"activePeriods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"end": {
"type": "string",
"description": "ISO timestamp when the period ends"
},
"start": {
"type": "string",
"description": "ISO timestamp when the period starts"
}
},
"additionalProperties": true
}
},
"affectedLines": {
"type": "array",
"items": {
"type": "string"
}
},
"descriptionText": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Active alerts affecting the line"
},
"status": {
"type": "string",
"description": "Overall status, e.g. \"Good Service\", \"Service Changes\", \"Suspended\""
},
"severity": {
"type": "string",
"description": "One of: info, warning, severe"
}
},
"description": "Current service status for the requested subway line",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "line-status",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}mta_list_alerts — List Service Alerts
List active service alerts across the subway system. By default only shows currently active alerts.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"line": {
"type": "string",
"description": "Filter by specific line"
},
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"description": "Max alerts to return (default: 20, max: 50)",
"exclusiveMinimum": 0
},
"alert_type": {
"type": "string",
"description": "Filter by type (Delays, Planned Work, etc.)"
},
"active_only": {
"type": "boolean",
"default": true,
"description": "Only show currently active alerts (default: true). Set false to include future planned work."
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"alerts",
"filteredBy"
],
"properties": {
"alerts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cause": {
"type": "string"
},
"effect": {
"type": "string"
},
"severity": {
"type": "string",
"description": "One of: info, warning, severe"
},
"headerText": {
"type": "string"
},
"activePeriods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"end": {
"type": "string",
"description": "ISO timestamp when the period ends"
},
"start": {
"type": "string",
"description": "ISO timestamp when the period starts"
}
},
"additionalProperties": true
}
},
"affectedLines": {
"type": "array",
"items": {
"type": "string"
}
},
"descriptionText": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Matching service alerts"
},
"filteredBy": {
"type": "object",
"properties": {
"line": {
"type": "string"
},
"alertType": {
"type": "string"
},
"activeOnly": {
"type": "boolean"
}
},
"description": "Filters that were applied to the alert list",
"additionalProperties": true
}
},
"description": "Active subway service alerts matching the requested filters",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "alerts",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}mta_search_stations — Search Stations
Search for stations by name or line
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"line": {
"type": "string",
"description": "Filter by line (e.g., \"A\", \"1\")"
},
"limit": {
"type": "number",
"default": 10,
"maximum": 100,
"description": "Max results to return (default: 10, max: 100)",
"exclusiveMinimum": 0
},
"query": {
"type": "string",
"description": "Station name search (e.g., \"Times Square\", \"34 St\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"stations"
],
"properties": {
"line": {
"type": "string",
"description": "Line filter that was applied"
},
"query": {
"type": "string",
"description": "Normalized search query that was applied"
},
"stations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "GTFS station ID"
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"name": {
"type": "string"
},
"lines": {
"type": "array",
"items": {
"type": "string"
},
"description": "Subway lines serving the station"
},
"borough": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Stations matching the search"
}
},
"description": "Station search results",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "stations",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}mta_get_station_info — Get Station Info
Get detailed information about a specific station. Accepts station ID or name.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"station_id"
],
"properties": {
"station_id": {
"type": "string",
"description": "Station ID or name (e.g., \"127\", \"Times Square\", \"Penn Station\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"station",
"transfers"
],
"properties": {
"station": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "GTFS station ID"
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"name": {
"type": "string"
},
"lines": {
"type": "array",
"items": {
"type": "string"
},
"description": "Subway lines serving the station"
},
"borough": {
"type": "string"
}
},
"description": "The resolved station",
"additionalProperties": true
},
"transfers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"$ref": "#/properties/data/properties/station/properties/id"
},
"lat": {
"$ref": "#/properties/data/properties/station/properties/lat"
},
"lon": {
"$ref": "#/properties/data/properties/station/properties/lon"
},
"name": {
"$ref": "#/properties/data/properties/station/properties/name"
},
"lines": {
"$ref": "#/properties/data/properties/station/properties/lines"
},
"borough": {
"$ref": "#/properties/data/properties/station/properties/borough"
}
},
"additionalProperties": true
},
"description": "Stations available via transfer"
}
},
"description": "Detailed information about the requested station",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "station-info",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}mta_get_tunnel_connectivity — Subway Tunnel Cellular Coverage
Dated carrier-specific tunnel coverage evidence, optionally filtered by subway line and carrier (att, verizon, tmobile). Distinguishes official announcements, unverified community reports and unknown coverage. Not real-time signal data or whole-line coverage.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"line": {
"type": "string"
},
"carrier": {
"enum": [
"att",
"verizon",
"tmobile"
],
"type": "string"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"asOf",
"requestSource",
"scopeNote",
"filteredBy",
"segments"
],
"properties": {
"asOf": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"lines",
"fromStation",
"toStation",
"carriers"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"carriers": {
"type": "array",
"items": {
"type": "object",
"required": [
"carrier",
"status",
"evidence"
],
"properties": {
"status": {
"enum": [
"officially-confirmed",
"community-reported",
"unknown"
],
"type": "string"
},
"carrier": {
"enum": [
"att",
"verizon",
"tmobile"
],
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title",
"publisher",
"publishedDate",
"observedDate",
"kind"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"kind": {
"enum": [
"official",
"community"
],
"type": "string"
},
"note": {
"type": "string"
},
"title": {
"type": "string"
},
"publisher": {
"type": "string"
},
"observedDate": {
"type": "string"
},
"publishedDate": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"technology": {
"type": "string"
}
},
"additionalProperties": false
}
},
"toStation": {
"type": "string"
},
"fromStation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"scopeNote": {
"type": "string"
},
"filteredBy": {
"type": "object",
"properties": {
"line": {
"type": "string"
},
"carrier": {
"enum": [
"att",
"verizon",
"tmobile"
],
"type": "string"
}
},
"additionalProperties": false
},
"requestSource": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
},
"type": {
"type": "string",
"const": "connectivity"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}mta_plan_trip — Plan Trip
Get route suggestions between two stations. Accepts station IDs or names.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"origin_station_id",
"destination_station_id"
],
"properties": {
"origin_station_id": {
"type": "string",
"description": "Starting station ID or name (e.g., \"127\", \"Times Square\", \"Penn Station\")"
},
"destination_station_id": {
"type": "string",
"description": "Destination station ID or name (e.g., \"R17\", \"Grand Central\", \"Union Square\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"origin",
"destination",
"segments",
"totalStops",
"numTransfers",
"estimatedMinutes",
"alerts"
],
"properties": {
"alerts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cause": {
"type": "string"
},
"effect": {
"type": "string"
},
"severity": {
"type": "string",
"description": "One of: info, warning, severe"
},
"headerText": {
"type": "string"
},
"activePeriods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"end": {
"type": "string",
"description": "ISO timestamp when the period ends"
},
"start": {
"type": "string",
"description": "ISO timestamp when the period starts"
}
},
"additionalProperties": true
}
},
"affectedLines": {
"type": "array",
"items": {
"type": "string"
}
},
"descriptionText": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Alerts affecting the lines used by this trip"
},
"origin": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "GTFS station ID"
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"name": {
"type": "string"
},
"lines": {
"type": "array",
"items": {
"type": "string"
},
"description": "Subway lines serving the station"
},
"borough": {
"type": "string"
}
},
"description": "Origin station",
"additionalProperties": true
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"line": {
"type": "string"
},
"headsign": {
"type": "string",
"description": "Terminal station name"
},
"numStops": {
"type": "number"
},
"direction": {
"type": "string",
"description": "N=uptown, S=downtown"
},
"toStationId": {
"type": "string"
},
"fromStationId": {
"type": "string"
},
"toStationName": {
"type": "string"
},
"directionLabel": {
"type": "string",
"description": "Human-readable direction, e.g. \"Manhattan-bound to 8 Av\""
},
"fromStationName": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Ride segments, one per line taken"
},
"totalStops": {
"type": "number"
},
"destination": {
"type": "object",
"properties": {
"id": {
"$ref": "#/properties/data/properties/origin/properties/id"
},
"lat": {
"$ref": "#/properties/data/properties/origin/properties/lat"
},
"lon": {
"$ref": "#/properties/data/properties/origin/properties/lon"
},
"name": {
"$ref": "#/properties/data/properties/origin/properties/name"
},
"lines": {
"$ref": "#/properties/data/properties/origin/properties/lines"
},
"borough": {
"$ref": "#/properties/data/properties/origin/properties/borough"
}
},
"description": "Destination station",
"additionalProperties": true
},
"numTransfers": {
"type": "number"
},
"estimatedMinutes": {
"type": "number",
"description": "Estimated total trip time in minutes"
}
},
"description": "Suggested route between the origin and destination stations",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "trip",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}mta_get_planned_work — 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"line": {
"type": "string",
"description": "Filter by specific line (e.g., \"A\", \"1\", \"L\")"
},
"look_ahead_days": {
"type": "number",
"default": 7,
"maximum": 14,
"description": "How many days ahead to look (default: 7, max: 14)",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"active",
"laterToday",
"thisWeekend",
"upcoming",
"totalCount"
],
"properties": {
"active": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cause": {
"type": "string"
},
"effect": {
"type": "string"
},
"severity": {
"type": "string",
"description": "One of: info, warning, severe"
},
"headerText": {
"type": "string"
},
"activePeriods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"end": {
"type": "string",
"description": "ISO timestamp when the period ends"
},
"start": {
"type": "string",
"description": "ISO timestamp when the period starts"
}
},
"additionalProperties": true
}
},
"affectedLines": {
"type": "array",
"items": {
"type": "string"
}
},
"descriptionText": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Planned work that is currently active"
},
"upcoming": {
"type": "array",
"items": {
"$ref": "#/properties/data/properties/active/items"
},
"description": "Planned work within the look-ahead window"
},
"laterToday": {
"type": "array",
"items": {
"$ref": "#/properties/data/properties/active/items"
},
"description": "Planned work scheduled for later today"
},
"totalCount": {
"type": "number",
"description": "Total count across all categories"
},
"thisWeekend": {
"type": "array",
"items": {
"$ref": "#/properties/data/properties/active/items"
},
"description": "Planned work for this weekend (Fri evening - Mon morning)"
}
},
"description": "Planned service changes categorized by when they occur",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "planned-work",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}bus_list_alerts — List Bus Alerts
Get active bus service alerts. Optionally filter by route or severity.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"route": {
"type": "string",
"description": "Filter by route (e.g., \"M1\", \"BX12\", \"Q32\")"
},
"severity": {
"enum": [
"info",
"warning",
"severe"
],
"type": "string",
"description": "Filter by severity level"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"alerts"
],
"properties": {
"route": {
"type": "string",
"description": "Route filter that was applied"
},
"alerts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cause": {
"type": "string"
},
"effect": {
"type": "string"
},
"severity": {
"type": "string",
"description": "info, warning, or severe"
},
"detourInfo": {
"type": "string"
},
"headerText": {
"type": "string"
},
"activePeriods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"end": {
"type": "string"
},
"start": {
"type": "string"
}
},
"additionalProperties": true
}
},
"affectedStops": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedRoutes": {
"type": "array",
"items": {
"type": "string"
}
},
"descriptionText": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Active bus service alerts"
},
"severity": {
"type": "string",
"description": "Severity filter that was applied"
}
},
"description": "Active bus service alerts with applied filters",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "bus-alerts",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}bus_get_arrivals — Get Bus Arrivals
Get upcoming bus arrivals at a stop. Accepts stop ID or name (e.g., "402940", "5 Av/W 42 St").
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"stop_id"
],
"properties": {
"limit": {
"type": "number",
"default": 10,
"maximum": 50,
"description": "Max arrivals to return (default: 10, max: 50)",
"exclusiveMinimum": 0
},
"route": {
"type": "string",
"description": "Filter by route (e.g., \"M1\", \"M15\", \"BX12\")"
},
"stop_id": {
"type": "string",
"description": "Stop ID or name (e.g., \"402940\", \"5 Av/W 42 St\", \"Times Square\")"
},
"direction": {
"enum": [
"inbound",
"outbound",
"northbound",
"southbound",
"eastbound",
"westbound"
],
"type": "string",
"description": "Filter by direction"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"stopId",
"stopName",
"arrivals",
"lastUpdated"
],
"properties": {
"stopId": {
"type": "string"
},
"message": {
"type": "string",
"description": "Message explaining data availability status"
},
"arrivals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"delay": {
"type": "number",
"description": "Delay in minutes"
},
"route": {
"type": "string",
"description": "Route ID"
},
"status": {
"type": "string",
"description": "on_time, delayed, or cancelled"
},
"crowding": {
"type": "string"
},
"direction": {
"type": "string"
},
"routeName": {
"type": "string",
"description": "Route short name (e.g., \"M1\")"
},
"stopsAway": {
"type": "number"
},
"vehicleId": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "ISO timestamp"
},
"destination": {
"type": "string"
},
"minutesAway": {
"type": "number"
},
"distanceAway": {
"type": "string",
"description": "e.g., \"0.5 mi\" or \"2 stops\""
}
},
"additionalProperties": true
},
"description": "Upcoming bus arrivals at the stop"
},
"stopName": {
"type": "string"
},
"lastUpdated": {
"type": [
"string",
"null"
],
"description": "ISO timestamp of last feed update"
}
},
"description": "Upcoming bus arrivals at a stop",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "bus-arrivals",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}bus_get_route_info — Get Bus Route Info
Get detailed information about a bus route including type, boroughs served, and description.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"route_id"
],
"properties": {
"route_id": {
"type": "string",
"description": "Route ID or name (e.g., \"M1\", \"BX12\", \"Q32\", \"M15-SBS\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"route"
],
"properties": {
"route": {
"type": "object",
"required": [
"id",
"name",
"shortName",
"type",
"color",
"boroughs"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string",
"description": "Full route name (e.g., \"Fifth/Madison Aves\")"
},
"type": {
"type": "string",
"description": "local, limited, express, or sbs"
},
"color": {
"type": "string",
"description": "Hex color"
},
"boroughs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Boroughs served"
},
"shortName": {
"type": "string",
"description": "Route short name (e.g., \"M1\")"
},
"textColor": {
"type": "string",
"description": "Hex color for text on route badge"
},
"description": {
"type": "string"
}
},
"additionalProperties": true
}
},
"description": "Detailed bus route information",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "bus-route",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}bus_search_stops — Search Bus Stops
Search bus stops by name, route, or borough. Use this to find stop IDs for bus_get_arrivals.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"description": "Max results to return (default: 20, max: 50)",
"exclusiveMinimum": 0
},
"query": {
"type": "string",
"description": "Search by stop name (e.g., \"5 Av/W 42 St\", \"Times Square\")"
},
"route": {
"type": "string",
"description": "Filter by route (e.g., \"M1\", \"BX12\", \"Q32\")"
},
"borough": {
"type": "string",
"description": "Filter by borough (Manhattan, Brooklyn, Queens, Bronx, Staten Island)"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"stops",
"totalFound"
],
"properties": {
"query": {
"type": "string",
"description": "Name query that was applied"
},
"route": {
"type": "string",
"description": "Route filter that was applied"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"properties": {
"routes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Route IDs serving this stop"
},
"stopId": {
"type": "string"
},
"borough": {
"type": "string"
},
"stopName": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Matching bus stops"
},
"borough": {
"type": "string",
"description": "Borough filter that was applied"
},
"totalFound": {
"type": "number",
"description": "Total number of matching stops"
}
},
"description": "Bus stop search results with applied filters",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "bus-stops",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}ferry_get_arrivals — Get Ferry Arrivals
Get upcoming ferry arrivals at a landing. Accepts landing ID or name (e.g., "PIER11", "Wall Street", "DUMBO").
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"landing_id"
],
"properties": {
"limit": {
"type": "number",
"default": 10,
"maximum": 50,
"description": "Max arrivals to return (default: 10, max: 50)",
"exclusiveMinimum": 0
},
"route": {
"type": "string",
"description": "Filter by route (e.g., \"ER\" for East River, \"SB\" for South Brooklyn)"
},
"direction": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "inbound=toward Manhattan, outbound=away from Manhattan"
},
"landing_id": {
"type": "string",
"description": "Landing ID or name (e.g., \"PIER11\", \"Wall Street\", \"DUMBO\", \"E34\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"landingId",
"landingName",
"arrivals",
"lastUpdated"
],
"properties": {
"arrivals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"delay": {
"type": "number",
"description": "Delay in minutes"
},
"route": {
"type": "string",
"description": "Route ID"
},
"status": {
"type": "string",
"description": "on_time, delayed, or cancelled"
},
"vessel": {
"type": "string",
"description": "Vessel name if available"
},
"direction": {
"type": "string",
"description": "inbound or outbound"
},
"routeName": {
"type": "string",
"description": "e.g., \"East River Ferry\""
},
"arrivalTime": {
"type": "string",
"description": "ISO timestamp"
},
"minutesAway": {
"type": "number"
},
"directionLabel": {
"type": "string",
"description": "e.g., \"To Wall Street\""
}
},
"additionalProperties": true
},
"description": "Upcoming ferry arrivals at the landing"
},
"landingId": {
"type": "string"
},
"landingName": {
"type": "string"
},
"lastUpdated": {
"type": "string",
"description": "ISO timestamp of last feed update"
}
},
"description": "Upcoming ferry arrivals at a landing",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "ferry-arrivals",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}ferry_list_alerts — List Ferry Alerts
Get active ferry service alerts. Optionally filter by route.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"route": {
"type": "string",
"description": "Filter by route (e.g., \"ER\" for East River, \"RW\" for Rockaway)"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"alerts"
],
"properties": {
"route": {
"type": "string",
"description": "Route filter that was applied"
},
"alerts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cause": {
"type": "string"
},
"effect": {
"type": "string"
},
"severity": {
"type": "string",
"description": "info, warning, or severe"
},
"headerText": {
"type": "string"
},
"activePeriods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"end": {
"type": "string"
},
"start": {
"type": "string"
}
},
"additionalProperties": true
}
},
"affectedRoutes": {
"type": "array",
"items": {
"type": "string"
}
},
"descriptionText": {
"type": "string"
},
"affectedLandings": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
},
"description": "Active ferry service alerts"
}
},
"description": "Active ferry service alerts with applied filters",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "ferry-alerts",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}ferry_search_landings — Search Ferry Landings
Search ferry landings by name, route, or borough. Use this to find landing IDs for ferry_get_arrivals.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"description": "Max results to return (default: 20)",
"exclusiveMinimum": 0
},
"query": {
"type": "string",
"description": "Search by landing name (e.g., \"Wall Street\", \"DUMBO\")"
},
"route": {
"type": "string",
"description": "Filter by route (e.g., \"ER\" for East River, \"SB\" for South Brooklyn)"
},
"borough": {
"type": "string",
"description": "Filter by borough (Manhattan, Brooklyn, Queens, Bronx, Staten Island)"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"landings"
],
"properties": {
"query": {
"type": "string",
"description": "Name query that was applied"
},
"route": {
"type": "string",
"description": "Route filter that was applied"
},
"borough": {
"type": "string",
"description": "Borough filter that was applied"
},
"landings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"name": {
"type": "string"
},
"routes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Route IDs that stop at this landing"
},
"borough": {
"type": "string"
},
"gtfsStopId": {
"type": "string"
},
"primaryRoute": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Matching ferry landings"
}
},
"description": "Ferry landing search results with applied filters",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "ferry-landings",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}ferry_get_routes — Get Ferry Routes
List all NYC Ferry routes with their landings. Optionally get details for a specific route.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"route": {
"type": "string",
"description": "Get details for a specific route (e.g., \"ER\" for East River)"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"routes"
],
"properties": {
"routes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"color": {
"type": "string",
"description": "Hex color for branding"
},
"landings": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ordered landing IDs"
},
"landingDetails": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"name": {
"type": "string"
},
"routes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Route IDs that stop at this landing"
},
"borough": {
"type": "string"
},
"gtfsStopId": {
"type": "string"
},
"primaryRoute": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Full landing details for each landing on the route"
}
},
"additionalProperties": true
},
"description": "Ferry routes with their landings"
}
},
"description": "NYC Ferry routes with landing details",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "ferry-routes",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}bike_get_station_status — Get Citibike 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").
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"station_id"
],
"properties": {
"station_id": {
"type": "string",
"description": "Station ID or name (e.g., \"Broadway & W 48 St\", \"E 40 St & Park Ave\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"station"
],
"properties": {
"station": {
"type": "object",
"required": [
"stationId",
"stationName"
],
"properties": {
"borough": {
"type": "string"
},
"capacity": {
"type": "number"
},
"isRenting": {
"type": "boolean"
},
"stationId": {
"type": "string"
},
"isReturning": {
"type": "boolean"
},
"lastUpdated": {
"type": "string",
"description": "ISO timestamp"
},
"stationName": {
"type": "string"
},
"neighborhood": {
"type": "string"
},
"stationStatus": {
"type": "string",
"description": "operational, renting_only, returning_only, temporarily_closed, or not_installed"
},
"bikesAvailable": {
"type": "number"
},
"docksAvailable": {
"type": "number"
},
"ebikesAvailable": {
"type": "number"
},
"availabilityLevel": {
"type": "string",
"description": "empty, low, medium, high, or full"
}
},
"additionalProperties": true
}
},
"description": "Bike and dock availability at a Citibike station",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "bike-station-status",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}bike_search_stations — Search Citibike Stations
Search for Citibike stations by name, borough, or availability. Returns station availability and capacity.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"default": 10,
"maximum": 50,
"description": "Max results to return (default: 10, max: 50)",
"exclusiveMinimum": 0
},
"query": {
"type": "string",
"description": "Search by station name (e.g., \"Times Square\", \"Broadway\")"
},
"borough": {
"type": "string",
"description": "Filter by borough (Manhattan, Brooklyn, Queens, Bronx)"
},
"min_bikes": {
"type": "number",
"minimum": 0,
"description": "Minimum bikes available"
},
"min_docks": {
"type": "number",
"minimum": 0,
"description": "Minimum docks available"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "object",
"required": [
"filters",
"stations",
"totalFound",
"lastUpdated"
],
"properties": {
"query": {
"type": "string",
"description": "Name query that was applied"
},
"filters": {
"type": "object",
"properties": {
"borough": {
"type": "string"
},
"minBikes": {
"type": "number"
},
"minDocks": {
"type": "number"
},
"neighborhood": {
"type": "string"
}
},
"description": "Filters that were applied",
"additionalProperties": true
},
"stations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"borough": {
"type": "string"
},
"capacity": {
"type": "number"
},
"isRenting": {
"type": "boolean"
},
"stationId": {
"type": "string"
},
"isReturning": {
"type": "boolean"
},
"lastUpdated": {
"type": "string",
"description": "ISO timestamp"
},
"stationName": {
"type": "string"
},
"neighborhood": {
"type": "string"
},
"stationStatus": {
"type": "string",
"description": "operational, renting_only, returning_only, temporarily_closed, or not_installed"
},
"bikesAvailable": {
"type": "number"
},
"docksAvailable": {
"type": "number"
},
"ebikesAvailable": {
"type": "number"
},
"availabilityLevel": {
"type": "string",
"description": "empty, low, medium, high, or full"
}
},
"additionalProperties": true
},
"description": "Matching Citibike stations with availability"
},
"totalFound": {
"type": "number",
"description": "Total number of matching stations"
},
"lastUpdated": {
"type": "string",
"description": "ISO timestamp of last feed update"
}
},
"additionalProperties": true
}
},
"description": "Citibike station search results",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "bike-search-results",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}bike_get_availability_summary — Get Citibike Availability Summary
Get an overview of Citibike availability by borough. Shows total bikes, docks, and station availability.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"borough": {
"type": "string",
"description": "Get summary for specific borough (Manhattan, Brooklyn, Queens, Bronx). Omit for all boroughs."
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"summaries"
],
"properties": {
"summaries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"area": {
"type": "string",
"description": "Borough or area name"
},
"totalBikes": {
"type": "number"
},
"totalDocks": {
"type": "number"
},
"totalEbikes": {
"type": "number"
},
"totalStations": {
"type": "number"
},
"stationsWithBikes": {
"type": "number"
},
"stationsWithDocks": {
"type": "number"
},
"averageAvailability": {
"type": "number",
"description": "Average availability percentage (0-100)"
}
},
"additionalProperties": true
},
"description": "Per-area Citibike availability summaries"
}
},
"description": "Area-wide Citibike availability overview",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "bike-availability-summary",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}rail_get_departures — Get Rail Departures
Get upcoming LIRR or Metro-North departures at a station. Accepts station ID or name (e.g., "PENN", "Grand Central").
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"station_id"
],
"properties": {
"limit": {
"type": "number",
"default": 10,
"maximum": 50,
"description": "Max departures to return (default: 10, max: 50)",
"exclusiveMinimum": 0
},
"branch": {
"type": "string",
"description": "Filter by branch (e.g., \"Babylon\", \"Hudson\", \"New Haven\")"
},
"system": {
"enum": [
"LIRR",
"MNR"
],
"type": "string",
"description": "Filter by rail system (LIRR or MNR)"
},
"direction": {
"enum": [
"inbound",
"outbound",
"eastbound",
"westbound"
],
"type": "string",
"description": "Filter by direction"
},
"station_id": {
"type": "string",
"description": "Station ID or name (e.g., \"PENN\", \"Jamaica\", \"Grand Central\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"stationId",
"stationName",
"system",
"departures",
"lastUpdated"
],
"properties": {
"system": {
"type": "string",
"description": "Rail system (LIRR or MNR)"
},
"stationId": {
"type": "string"
},
"departures": {
"type": "array",
"items": {
"type": "object",
"properties": {
"delay": {
"type": "number",
"description": "Delay in minutes"
},
"stops": {
"type": "array",
"items": {
"type": "string"
},
"description": "Stop IDs for this trip"
},
"branch": {
"type": "string"
},
"isPeak": {
"type": "boolean",
"description": "Peak vs off-peak service"
},
"status": {
"type": "string",
"description": "on_time, delayed, or cancelled"
},
"platform": {
"type": "string"
},
"branchColor": {
"type": "string",
"description": "Hex color"
},
"destination": {
"type": "string",
"description": "Terminal station ID"
},
"minutesAway": {
"type": "number"
},
"trainNumber": {
"type": "string"
},
"departureTime": {
"type": "string",
"description": "ISO timestamp"
},
"destinationName": {
"type": "string",
"description": "e.g., \"Babylon\" or \"Grand Central\""
}
},
"additionalProperties": true
},
"description": "Upcoming rail departures at the station"
},
"lastUpdated": {
"type": "string",
"description": "ISO timestamp of last feed update"
},
"stationName": {
"type": "string"
}
},
"description": "Upcoming LIRR/Metro-North departures at a station",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "rail-departures",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}rail_list_alerts — List Rail Alerts
Get active LIRR and Metro-North service alerts. Optionally filter by system, branch, or severity.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"branch": {
"type": "string",
"description": "Filter by branch (e.g., \"Babylon\", \"Hudson\", \"New Haven\")"
},
"system": {
"enum": [
"LIRR",
"MNR"
],
"type": "string",
"description": "Filter by rail system"
},
"severity": {
"enum": [
"info",
"warning",
"severe"
],
"type": "string",
"description": "Filter by severity level"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"alerts"
],
"properties": {
"alerts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cause": {
"type": "string"
},
"effect": {
"type": "string"
},
"system": {
"type": "string",
"description": "Rail system (LIRR or MNR)"
},
"severity": {
"type": "string",
"description": "info, warning, or severe"
},
"headerText": {
"type": "string"
},
"activePeriods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"end": {
"type": "string"
},
"start": {
"type": "string"
}
},
"additionalProperties": true
}
},
"descriptionText": {
"type": "string"
},
"affectedBranches": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedStations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
},
"description": "Rail service alerts"
},
"branch": {
"type": "string",
"description": "Branch filter that was applied"
},
"system": {
"type": "string",
"description": "System filter that was applied"
},
"severity": {
"type": "string",
"description": "Severity filter that was applied"
}
},
"description": "LIRR/Metro-North service alerts with applied filters",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "rail-alerts",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}rail_search_stations — Search Rail Stations
Search LIRR and Metro-North stations by name, system, or branch. Use this to find station IDs for rail_get_departures.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"description": "Max results to return (default: 20, max: 50)",
"exclusiveMinimum": 0
},
"query": {
"type": "string",
"description": "Search by station name (e.g., \"Jamaica\", \"125th Street\", \"Grand Central\")"
},
"branch": {
"type": "string",
"description": "Filter by branch (e.g., \"Babylon\", \"Hudson\", \"New Haven\")"
},
"system": {
"enum": [
"LIRR",
"MNR"
],
"type": "string",
"description": "Filter by rail system"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"stations",
"totalFound"
],
"properties": {
"query": {
"type": "string",
"description": "Name query that was applied"
},
"branch": {
"type": "string",
"description": "Branch filter that was applied"
},
"system": {
"type": "string",
"description": "System filter that was applied"
},
"stations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"zone": {
"type": "number",
"description": "Fare zone"
},
"branch": {
"type": "string",
"description": "Primary branch label"
},
"system": {
"type": "string",
"description": "Rail system (LIRR or MNR)"
},
"branches": {
"type": "array",
"items": {
"type": "string"
},
"description": "All branches serving this station"
},
"stationId": {
"type": "string"
},
"stationName": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Matching rail stations"
},
"totalFound": {
"type": "number",
"description": "Total number of matching stations"
}
},
"description": "Rail station search results with applied filters",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "rail-stations",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}rail_get_station_info — Get Rail Station Info
Get detailed information about a LIRR or Metro-North station including accessibility, platforms, parking, and zone.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"station_id"
],
"properties": {
"station_id": {
"type": "string",
"description": "Station ID or name (e.g., \"Jamaica\", \"125th Street\", \"Grand Central\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"station"
],
"properties": {
"station": {
"type": "object",
"required": [
"id",
"gtfsId",
"name",
"lat",
"lon",
"system",
"branch",
"branches",
"accessibility",
"platforms"
],
"properties": {
"id": {
"type": "string"
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"name": {
"type": "string"
},
"zone": {
"type": "number",
"description": "Fare zone"
},
"branch": {
"type": "string",
"description": "Primary branch label for display"
},
"gtfsId": {
"type": "string",
"description": "Numeric stop_id from MTA GTFS"
},
"system": {
"type": "string",
"description": "Rail system (LIRR or MNR)"
},
"parking": {
"type": "boolean"
},
"branches": {
"type": "array",
"items": {
"type": "string"
},
"description": "All branches serving this station"
},
"platforms": {
"type": "array",
"items": {
"type": "string"
},
"description": "Platform identifiers"
},
"accessibility": {
"type": "boolean",
"description": "ADA accessible"
},
"bikeParkingRacks": {
"type": "number"
}
},
"additionalProperties": true
}
},
"description": "Detailed rail station information",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "rail-station",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}transit_ask — Ask About NYC Transit
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?"
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"minLength": 3,
"description": "Your question about NYC transit"
},
"location": {
"type": "string",
"description": "Your current location for context (e.g., \"Times Square\", \"40.758, -73.986\")"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"answer",
"toolsCalled",
"confidence"
],
"properties": {
"answer": {
"type": "string",
"description": "Synthesized plain-language answer to the query"
},
"reasoning": {
"type": "string",
"description": "Explanation of how the answer was determined"
},
"confidence": {
"type": "string",
"description": "One of: high, medium, low"
},
"toolsCalled": {
"type": "array",
"items": {
"type": "object",
"properties": {
"args": {
"type": "object",
"description": "Arguments passed to the tool",
"additionalProperties": {}
},
"tool": {
"type": "string",
"description": "Name of the MCP tool called"
},
"result": {
"type": "object",
"properties": {
"data": {},
"error": {
"type": "string"
},
"success": {
"type": "boolean"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
},
"description": "MCP tools that were called to gather data"
},
"followUpSuggestions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Suggested related follow-up queries"
}
},
"description": "AI-generated answer to a natural language transit question",
"additionalProperties": true
},
"type": {
"type": "string",
"const": "transit-answer",
"description": "Structured content type identifier"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}search — Search NYC Transit
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Search query (station name, landmark, or subway line)"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"url"
],
"properties": {
"id": {
"type": "string",
"description": "Result ID for the fetch tool (station:<id> or line:<line>)"
},
"url": {
"type": "string",
"description": "Canonical URL for the result"
},
"title": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Matching stations and lines"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}fetch — Fetch NYC Transit Details
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Result ID from the search tool, e.g. \"station:127\" or \"line:A\""
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"title",
"text",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string",
"description": "Canonical URL for the document"
},
"text": {
"type": "string",
"description": "Markdown document with the requested transit details"
},
"title": {
"type": "string"
},
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}Prompts
3 advertised
next-trains — Next Trains at Station
Get the next arriving trains at any NYC subway station
- station
- Station name or ID (e.g. "Times Square", "14 St-Union Sq") (required)
- line
- Filter by subway line (e.g. "A", "1", "N") — optional
plan-trip — Plan My Subway Trip
Get step-by-step directions between two NYC subway stations
- from
- Starting station name (e.g. "Times Square", "Jay St-MetroTech") (required)
- to
- Destination station name (e.g. "Fulton St", "Atlantic Av") (required)
line-status — Check Subway Line Status
Check current service status and alerts for a specific subway line
- line
- Subway line to check (e.g. "A", "1", "N", "L", "7") (required)
Resources
2 advertised
mta-widget
ui://mta/widget.htmlmta-widget-app
ui://widget/mta.html90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1838 ms
- 95th percentile latency
- 2180 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1457 ms · 26 tool(s), 2 resource(s), 0 resource template(s), 3 prompt(s)
- · probe · passed · 2218 ms · metadata changed · 26 tool(s), 2 resource(s), 0 resource template(s), 3 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http subwayinfo-nyc-mcp https://subwayinfo.nyc/mcpCodex
codex mcp add subwayinfo-nyc-mcp --url https://subwayinfo.nyc/mcpCursor
{
"mcpServers": {
"subwayinfo-nyc-mcp": {
"url": "https://subwayinfo.nyc/mcp"
}
}
}Cline
{
"mcpServers": {
"subwayinfo-nyc-mcp": {
"type": "streamableHttp",
"url": "https://subwayinfo.nyc/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"subwayinfo-nyc-mcp": {
"type": "http",
"url": "https://subwayinfo.nyc/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http subwayinfo-nyc-mcp https://subwayinfo.nyc/mcpClaude Desktop
https://subwayinfo.nyc/mcpWindsurf
{
"mcpServers": {
"subwayinfo-nyc-mcp": {
"serverUrl": "https://subwayinfo.nyc/mcp"
}
}
}Let your agent find its tools
Find servers like SubwayInfo NYC MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Frequently asked questions
- Can I use this server to check current service status and alerts for subway lines?
- Yes. The server provides tools like `mta_list_alerts` and `mta_get_line_status` to retrieve current service status and alerts for subway lines.
- Does the no-sign-in access apply to all tools?
- No. While connecting and listing tools requires no sign-in, individual tools may still need a vendor account, credentials, or permissions. You must check the documented prerequisites for each specific task.
- Can I plan trips across the NYC transit network using this server?
- Yes. The `mta_plan_trip` tool allows AI assistants to plan trips across the NYC transit network using natural language or structured parameters.
- What transit modes are supported by the 22 tools?
- The server supports subways, buses, ferries, rail, and bikes. Tools cover arrivals, line statuses, alerts, station info, and trip planning for these modes.
Do you run SubwayInfo NYC MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.