[Integrations](https://spiral.ai/integrations) › [Grok Build](https://spiral.ai/integrations/grok-build) › [Amtrak train status](https://spiral.ai/integrations/grok-build/amtrak-train-status)

# How to Use Amtrak train status in Grok Build

Returns a train’s currently tracked runs with scheduled, estimated, and actual times at each stop. Use it to check arrival progress in more detail than a network position snapshot.

|  |  |
| --- | --- |
| Model | Amtrak train status |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Amtrak train status in Grok Build

- Use Amtrak train status for train 14 and add a stop table that separates scheduled, estimated, and actual arrival and departure times.
- Use Amtrak train status to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Amtrak train status and tell me what changed since last week.
- Check Amtrak train status and summarize what you find in three bullet points.
- Pull the newest data from Amtrak train status and give me the result as a table.

## How to set up Amtrak train status in Grok Build

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Add `--scope project` to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

```bash
grok mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `grok` and run `/mcps`. Select Spiral and press `i`. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
grok mcp doctor spiral
```

### Use the Spiral skill

1. **Send Grok Build this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Amtrak train status**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "amtrak-com/train-status/train_status",
    "input": {
      "train_number": "<train_number>"
    }
  }'
```

Then paste one of the prompts above: Grok Build finds Amtrak train status on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok-build

## Amtrak train status tools and prices

- [Amtrak · Train status](https://spiral.ai/tools/alexandria/amtrak-com/train-status/train_status) (Alexandria): $0.00873 per call.

## What can you do with Amtrak train status in Grok Build?

Build a rail travel view that connects Amtrak station information, route stops, and reported train progress. A coding agent can use these responses to populate the project’s station pages and keep scheduled, estimated, and actual stop times distinct.

### Time a station pickup

Find the relevant train in the reported position snapshot, then inspect its estimated or actual arrival at the pickup station. Use the stop times to explain whether the arrival estimate has changed.

### Prepare a corridor status briefing

Survey reported train positions on Northeast Regional, then inspect individual runs for stop-level timing. Summarize which services have estimated arrivals later than their scheduled arrivals.

### Review a connection

Locate the two relevant trains in the current snapshot and compare their reported arrival and departure times at the connecting station. Calculate the gap between the estimates without presenting it as a guaranteed connection.

### Explain a train’s progress

Pair a train’s reported position with its scheduled, estimated, and actual stop times. Produce a plain-English account of where it was last reported and how its progress compares with the schedule.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok Build guides](https://spiral.ai/integrations/grok-build)

## Amtrak train status in other agents

- [Amp](https://spiral.ai/integrations/amp/amtrak-train-status)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/amtrak-train-status)
- [Claude](https://spiral.ai/integrations/claude-desktop/amtrak-train-status)
- [Claude Code](https://spiral.ai/integrations/claude-code/amtrak-train-status)
- [Cline](https://spiral.ai/integrations/cline/amtrak-train-status)
- [Codex](https://spiral.ai/integrations/codex/amtrak-train-status)
- [Cursor](https://spiral.ai/integrations/cursor/amtrak-train-status)
- [Devin](https://spiral.ai/integrations/devin/amtrak-train-status)
- [dots](https://spiral.ai/integrations/dots/amtrak-train-status)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/amtrak-train-status)
- [Gemini](https://spiral.ai/integrations/gemini/amtrak-train-status)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/amtrak-train-status)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/amtrak-train-status)
- [goose](https://spiral.ai/integrations/goose/amtrak-train-status)
- [Grok](https://spiral.ai/integrations/grok/amtrak-train-status)
- [Hermes](https://spiral.ai/integrations/hermes/amtrak-train-status)
- [Instinct](https://spiral.ai/integrations/instinct/amtrak-train-status)
- [Manus](https://spiral.ai/integrations/manus/amtrak-train-status)
- [Muse](https://spiral.ai/integrations/muse/amtrak-train-status)
- [Muse Code](https://spiral.ai/integrations/muse-code/amtrak-train-status)
- [n8n](https://spiral.ai/integrations/n8n/amtrak-train-status)
- [Notion](https://spiral.ai/integrations/notion/amtrak-train-status)
- [OpenClaw](https://spiral.ai/integrations/openclaw/amtrak-train-status)
- [opencode](https://spiral.ai/integrations/opencode/amtrak-train-status)
- [Perplexity](https://spiral.ai/integrations/perplexity/amtrak-train-status)
- [Raycast](https://spiral.ai/integrations/raycast/amtrak-train-status)
- [VS Code](https://spiral.ai/integrations/vscode/amtrak-train-status)
- [Windsurf](https://spiral.ai/integrations/windsurf/amtrak-train-status)
- [Zapier](https://spiral.ai/integrations/zapier/amtrak-train-status)

## More Grok Build guides

- [Amtrak station search](https://spiral.ai/integrations/grok-build/amtrak-station-search)
- [BBB business complaints](https://spiral.ai/integrations/grok-build/bbb-business-complaints)
- [Amtrak station directory](https://spiral.ai/integrations/grok-build/amtrak-station-directory)
- [BBB business link lookup](https://spiral.ai/integrations/grok-build/bbb-business-link-lookup)
- [Amtrak station details](https://spiral.ai/integrations/grok-build/amtrak-station-details)
- [BBB business profile](https://spiral.ai/integrations/grok-build/bbb-business-profile)

## Questions about Amtrak train status in Grok Build

**Can Grok Build use Amtrak train status?**

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Amtrak train status like any built-in tool.

**How much does Amtrak train status cost in Grok Build?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok Build plan is separate.

**Do I need an Alexandria account to use Amtrak train status in Grok Build?**

No. Spiral runs Amtrak train status on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Amtrak train status in Grok Build?**

About two minutes: add the server, then sign in, then check it.

**Does Grok Build wait while Amtrak train status runs?**

Amtrak train status runs in the background. Grok Build starts the run, checks on it and gives you the json when it's ready.

**Does the data cover Canadian stops?**

Amtrak says Track Your Train represents its routes, stations, and active trains across the United States and into Canada. That is Amtrak coverage, rather than a directory of every Canadian rail operator.

**Does this include fares or schedules for a future travel date?**

The provider explicitly excludes fares, schedules by date, and booking. A route’s stop list or a currently tracked train’s times cannot establish what is available for a future trip.

**What station information is available?**

The provider documents station addresses, hours, and amenities alongside station discovery. For example, Amtrak lists Chicago Union Station at 255 South Clinton Street.

**What is the difference between route information and train status?**

Route information supplies ordered stops and train numbers for a named service. Train status supplies currently tracked runs with scheduled, estimated, and actual stop times.

**Are reported arrival times actual arrivals?**

The train status data distinguishes scheduled, estimated, and actual times. An estimated arrival is a prediction; use the actual arrival value when describing a stop the train has reached.

