nkasmanoff/mta-mcp
3.3
If you are the rightful owner of mta-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This server provides real-time information about the next train arrivals at specific stations and directions using the New York City MTA subway system.
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