[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Amtrak station details](https://spiral.ai/integrations/muse-code/amtrak-station-details)

# How to Use Amtrak station details in Muse Code

Returns an Amtrak station’s address, hours, and amenities. Use it to prepare for a station visit after finding the right stop in a station search or route.

|  |  |
| --- | --- |
| Model | Amtrak station details |
| 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 station details in Muse Code

- Use Amtrak station details for Chicago Union Station and populate the station component with its returned address, hours, and amenities.
- Use Amtrak station details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Amtrak station details and tell me what changed since last week.
- Check Amtrak station details and summarize what you find in three bullet points.
- Pull the newest data from Amtrak station details and give me the result as a table.

## How to set up Amtrak station details in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 station details**: 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/get_station",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Amtrak station details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Amtrak station details tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Station page URL, e.g. https://www.amtrak.com/stations/nyp; alternative to `code` |
| code |  | — | Amtrak 3-letter station code, e.g. NYP, WAS, CHI (case-insensitive). Pattern: ^[A-Za-z]{3}$. |

## What can you do with Amtrak station details in Muse Code?

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.

### Prepare a route stop guide

Find Coast Starlight in the route directory and retrieve its ordered stops. Browse the station directory, resolve station names through search, and retrieve station details for a practical stop-by-stop reference.

### Prepare station accessibility questions

Discover routes and stops for a proposed rail journey, then browse and search the station listings to identify the intended stations. Use their reported amenities and hours to prepare specific accessibility questions before travel.

### Answer a hotel guest’s rail arrival question

Find the guest’s named route and its stops, then browse nearby Amtrak stations and resolve the arrival station by name. Retrieve its address and amenities to prepare an arrival guide for the front desk.

### Research rail destinations

Browse Amtrak routes and station listings to shortlist places for a rail trip. Inspect route stops, search for the shortlisted stations, and compare their reported hours and amenities before researching dated travel options separately.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Amtrak station details in other agents

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

## More Muse Code guides

- [Amtrak route directory](https://spiral.ai/integrations/muse-code/amtrak-route-directory)
- [Amtrak station directory](https://spiral.ai/integrations/muse-code/amtrak-station-directory)
- [Amtrak route details](https://spiral.ai/integrations/muse-code/amtrak-route-details)
- [Amtrak station search](https://spiral.ai/integrations/muse-code/amtrak-station-search)
- [Amtrak live train positions](https://spiral.ai/integrations/muse-code/amtrak-live-train-positions)
- [Amtrak train status](https://spiral.ai/integrations/muse-code/amtrak-train-status)

## Questions about Amtrak station details in Muse Code

**Can Muse Code use Amtrak station details?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Amtrak station details like any built-in tool.

**How much does Amtrak station details cost in Muse Code?**

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

**Do I need an Alexandria account to use Amtrak station details in Muse Code?**

No. Spiral runs Amtrak station details 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 station details in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Amtrak station details runs?**

Amtrak station details runs in the background. Muse Code 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.

