How to connect Amtrak to Cursor
Add the Firecrawl MCP server to Cursor once and it can call the Amtrak API and every other provider in Firecrawl Alexandria, with no Amtrak integration code.
To connect Amtrak to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for Amtrak data in plain language. The connection works in Cursor's agent and chat, and you set it up once.
Cursor uses Amtrak as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Amtrak.
Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.
How do I connect Amtrak to Cursor?
Install the Firecrawl MCP server
Open the install dialog in Cursor, check that the URL is Firecrawl's hosted server, then select Install.

Connect your Firecrawl account
Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

Ask Cursor's agent for the data
In the agent chat, ask in plain language and mention Amtrak or Firecrawl Alexandria. The agent finds the Amtrak capability that fits and runs it. For example:
Use Firecrawl to show Chicago Union Station’s Amtrak address, staffed hours, parking and accessibility information.
What can Cursor do with Amtrak?
Amtrak (US national passenger rail) read-only: station directory and search with addresses, hours and amenities; named routes with ordered stops and train numbers; live train positions and stop-by-stop status decrypted from the public Track Your Train feed. Public feeds of www.amtrak.com and maps.amtrak.com, no login. Fares, schedules by date and booking are not covered (the /dotcom/ APIs sit behind Akamai Bot Manager).
Cursor can run any of Amtrak's 7 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.
- Get route: One route by code (e.g. NERG) or exact name (e.g. Northeast Regional): cities served, ordered stops with station names, and the train numbers Amtrak maps to the route. Costs 5 Firecrawl credits per call.
- Get station: One station by 3-letter code: identity and timezone from the station reference feed, service flags, street address and coordinates from the station finder, and the station page tabs (hours by service, parking, baggage, features, accessibility). Costs 5 Firecrawl credits per call.
- List routes: All Amtrak named routes from the public route list (code, name, cities served) joined with the ordered station-code stop list the site publishes for the routes that have one. Costs 5 Firecrawl credits per call.
- List stations: All Amtrak stations (rail and connecting bus stops, US and Canada) from the public station reference feed, joined with the per-station service flags (staffed, accessible, Quik-Trak, wheelchair). Optional filter by state/province code. Costs 5 Firecrawl credits per call.
- Live trains: Live positions and status of every Amtrak train currently in the tracking feed (active, pre-departure and recently completed runs): coordinates, heading, speed, route, origin/destination and last event. Decrypts the public maps.amtrak.com feed the Track Your Train map uses. Optional filters by route name, train number or state; `limit` caps the list (the output then says it is partial). Costs 5 Firecrawl credits per call.
- Search stations: Station finder autocomplete of amtrak.com: free-text search by station name, city, alias or 3-letter code. Returns matching stations with street address and coordinates. Non-station place suggestions the geocoder returns are counted, not listed. Costs 5 Firecrawl credits per call.
- Train status: Status of one train number from the live tracking feed: every run of that number currently tracked (a long-distance number can be tracked on two consecutive service days), each with position, state and stop-by-stop scheduled, estimated and actual times with delay comments. Costs 5 Firecrawl credits per call.
What should I ask Cursor?
Name Amtrak or Firecrawl Alexandria in the prompt so Cursor reaches for it. Each example opens in Cursor with the prompt filled in.
- Use Firecrawl to show Chicago Union Station’s Amtrak address, staffed hours, parking and accessibility information.
- Use Firecrawl to answer this: Which stops and train numbers belong to Amtrak’s Northeast Regional route, in route order?
- Use Firecrawl to show up to 10 active Northeast Regional trains with their live positions, speed and latest reported status.
- Use Firecrawl to show Amtrak train 14’s currently tracked runs and the scheduled, estimated and actual times at each stop.
Troubleshooting
Why can't Cursor find Amtrak?
If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.
Firecrawl shows a red dot in Cursor. What should I do?
Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.
Use Amtrak in other AI apps
The same Firecrawl account reaches Amtrak from other AI apps. Pick one for its setup steps:
Other data providers you can connect to Cursor
Frequently Asked Questions
What is Firecrawl?
Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl MCP server brings those tools into Cursor, along with every data provider in Firecrawl Alexandria.
What is Firecrawl Alexandria?
Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, Amtrak among them. Each provider returns structured data through documented capabilities. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.
Is there a Amtrak MCP server for Cursor?
Cursor reaches Amtrak through Firecrawl's hosted MCP server, which serves Amtrak and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for Amtrak.
What does connecting Amtrak to Cursor unlock?
Cursor can run all 7 of Amtrak's capabilities, including Get route, Get station and List routes, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to show Chicago Union Station’s Amtrak address, staffed hours, parking and accessibility information." In the same conversation, Cursor can combine Amtrak with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.
Do I need my own Amtrak account or API key to use it in Cursor?
No. Cursor calls Amtrak through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Amtrak account or API key.
How much does it cost to use Amtrak in Cursor?
Each Amtrak call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Cursor, and finding the right capability is free.
Can Cursor use other providers besides Amtrak?
Yes. The same Firecrawl MCP server reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.
Can I use Amtrak in other AI apps?
Yes. Connect Firecrawl to ChatGPT, Claude, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same Amtrak capabilities are available there. Keyless connections don't include Alexandria.