- Explore MCP Servers
- mta-mcp
Mta Mcp
What is Mta Mcp
mta-mcp is a simple MCP server designed to provide real-time information about the next train arrivals at specific New York transit stations and directions.
Use cases
Use cases for mta-mcp include providing users with the next train arrival times at specific stations, integrating with chatbots for transit inquiries, and enhancing mobile apps focused on public transport.
How to use
To use mta-mcp, run the command ‘uv run subway.py’ in your terminal. Additionally, configure your .cursor/mcp.json file to include the server settings for mta_subway_tracker.
Key features
Key features of mta-mcp include real-time tracking of train arrivals, support for multiple subway lines, and the ability to handle specific queries regarding train schedules.
Where to use
mta-mcp can be used in applications related to public transportation, travel planning, and urban mobility solutions, particularly in New York City.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mta Mcp
mta-mcp is a simple MCP server designed to provide real-time information about the next train arrivals at specific New York transit stations and directions.
Use cases
Use cases for mta-mcp include providing users with the next train arrival times at specific stations, integrating with chatbots for transit inquiries, and enhancing mobile apps focused on public transport.
How to use
To use mta-mcp, run the command ‘uv run subway.py’ in your terminal. Additionally, configure your .cursor/mcp.json file to include the server settings for mta_subway_tracker.
Key features
Key features of mta-mcp include real-time tracking of train arrivals, support for multiple subway lines, and the ability to handle specific queries regarding train schedules.
Where to use
mta-mcp can be used in applications related to public transportation, travel planning, and urban mobility solutions, particularly in New York City.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
MTA MCP Server
This is a simple model context protocol (MCP) server that provides information about the next train arrival at a given station and direction using New York City’s MTA subway system.
Next steps:
- Integrate location?
- More testing with different lines and spelling issues
How to run
To get started please follow the instructions in the MCP documentation.
uv run subway.py
Next add this to your .cursor/mcp.json file:
{
"mcpServers": {
"mta_subway_tracker": {
"command": "uv",
"args": [
"--directory",
"<path to your project>",
"run",
"subway.py"
]
}
}
}
Example questions:
When is the next express south train arriving at 14th street?
Answer:
Okay, I can help you with that. I'll check for the next southbound train at 14th St-Union Sq using the feed for lines 1, 2, 3, 4, 5, and 6. Ran tool The next express southbound trains arriving at 14th St-Union Sq are: - 4 train at 15:52:41 - 5 train at 15:56:24 There are also local 6 trains arriving, the next one is at 15:46:27.
Created by Jonathan Allen and Noah Kasmanoff
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










