Amtrak logo

Amtrak

Live Amtrak train tracking, station boards, route activity, and station details through MCP.

Install Amtrak

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "amtrak": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-amtrak"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 4 tools correctly (6d ago).

Overview

The Amtrak MCP server connects AI clients to live Amtrak tracking data through the community Amtraker API. It provides tools for train GPS status, station arrivals, active route summaries, and station lookups. Use it to answer current questions about train locations, delays, upcoming station activity, or station metadata. It can run through the Pipeworx MCP gateway or locally as a standalone stdio package.

Use cases

  • Track a train by number or route
  • Check upcoming arrivals at a station
  • Review active trains and route delays
  • Look up station codes and locations

Key features

  • Live train GPS and status data
  • Station arrivals and departures boards
  • Active trains grouped by route
  • Station metadata and inbound counts
  • Remote gateway and local stdio modes

Tools4

What Amtrak lets your agent do. Expand a tool for its parameters.

Verified live~652 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

8/8 checks healthy over the last 46d

What it can do

From the 4 tools this server returned when we ran it.

Read-only tools · 4
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age93 days
Maintainers1

Observed 2026-10-17 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · @pipeworx/mcp-amtrak (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads277Package downloads in the last 30 days.
Last commit28d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Amtrak works

What Amtrak MCP server does

The Amtrak MCP server exposes current Amtrak operations data to MCP-compatible AI clients. Its primary source is a community mirror of Amtrak’s tracking feed at api-v3.amtraker.com, with train positions updating approximately every few minutes. The available tools cover individual train tracking, station activity, network-wide route summaries, and station metadata.

Train searches accept either a train number, such as 6 or 2150, or a route name such as Coast Starlight or Empire Builder. Station tools accept a three-letter Amtrak code, such as CHI, NYP, or LAX, or a station name.

How it works

The Amtrak MCP server can be connected as a remote MCP endpoint at https://gateway.pipeworx.io/amtrak/mcp. That endpoint lists the Amtrak tools along with shared Pipeworx tools, including routing and discovery functions. The full Pipeworx endpoint is also available when an agent needs direct access to the broader catalog of data sources.

A local alternative uses the @pipeworx/mcp-amtrak package over standard input and output. The standalone process exposes only this pack’s four tools and does not include the gateway’s shared meta-tools. The gateway and local package use the same source and tool set for Amtrak data.

Setup and configuration

For a remote connection, add the gateway URL to the MCP client configuration:

config.json
{
  "mcpServers": {
    "amtrak": {
      "url": "https://gateway.pipeworx.io/amtrak/mcp"
    }
  }
}

For local stdio operation, configure the client to run:

config.json
{
  "mcpServers": {
    "amtrak": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-amtrak"]
    }
  }
}

Tools can also be called over HTTP through the Pipeworx tool endpoint, including a direct POST request to https://gateway.pipeworx.io/v1/tools/amtrak_train_status.

Tools and capabilities

  • amtrak_train_status returns active instances, GPS position, speed, heading, timeliness, next station, estimated arrival, delay minutes, and scheduled versus actual origin and destination times.
  • amtrak_station_board returns en-route trains for a station, including route, scheduled and estimated arrival, delay, and status.
  • amtrak_routes_active summarizes active trains by route, with counts, train numbers, and the worst delay in minutes.
  • amtrak_station_info returns a station’s name, code, city and state, address, timezone, coordinates, and current inbound train count.

Limitations and notes

The Amtrak MCP server relies on a community mirror rather than a directly documented Amtrak API. Results describe live tracking and operational status, so they may change between calls.

Remote pack connections include shared Pipeworx meta-tools in addition to the listed Amtrak tools. The standalone package avoids those gateway tools but requires the local npx command.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Amtrak

Amtrak is an MCP server that connects AI clients to a community mirror of Amtrak’s live tracking feed. Its main tools report train status and GPS data, show station boards, summarize active trains by route, and look up station information such as codes, addresses, coordinates, and inbound train counts.

Install it locally by configuring your MCP client to run `npx -y @pipeworx/mcp-amtrak`. This starts the standalone stdio server without a Pipeworx account. You can instead connect to `https://gateway.pipeworx.io/amtrak/mcp` as a remote MCP endpoint.

Yes, Amtrak works with Cursor through the documented remote MCP configuration. Add the gateway URL under an `amtrak` MCP server entry. The README also names Claude Desktop and Windsurf as supported setup examples.

Yes, the `amtrak_train_status` tool accepts a route name as well as a train number. Queries such as Coast Starlight or Empire Builder can return active instances with location, speed, heading, timeliness, next station, ETA, and delay information.

Yes, use `amtrak_station_board` with a three-letter station code or station name. It returns trains currently en route to that station, including route, scheduled and estimated arrival times, delay minutes, and status.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAmtrak AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/amtrak?style=directory)](https://allmcps.com/mcp/amtrak)
HTML Embed
<a href="https://allmcps.com/mcp/amtrak"><img src="https://allmcps.com/api/badge/amtrak?style=directory" alt="Amtrak on AllMCPs" /></a>