Spiral gives your agent every tool with one account. Browse the tools →

Google Antigravity · Maps & Reviews

How to Use Amtrak station directory in Google Antigravity

Returns Amtrak station listings for browsing and identifying stops. Use it to assemble a station shortlist before requesting detailed addresses, hours, and amenities.

Prompts to try with Amtrak station directory in Google Antigravity

Copy an example into Google Antigravity, or ask in your own words.

Use Amtrak station directory to retrieve California stations and build a searchable station table in this project.

Amtrak station directoryGoogle Antigravity
Try asking
  • Use Amtrak station directory to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Amtrak station directory and tell me what changed since last week.

  • Check Amtrak station directory and summarize what you find in three bullet points.

  • Pull the newest data from Amtrak station directory and give me the result as a table.

How to set up Amtrak station directory in Google Antigravity

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

Use Spiral's MCP server

  1. Open the MCP config

    * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.

  2. Add the server

    Add Spiral under mcpServers:

    {
      "mcpServers": {
        "spiral": {
          "serverUrl": "https://api.spiral.ai/mcp"
        }
      }
    }
  3. Sign in

    In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

Use the Spiral skill

  1. Send Google Antigravity 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.

    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 directory

    One request; the result comes back by polling or a webhook.

    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/list_stations",
        "input": {
          "state": "<state>"
        }
      }'

Then paste one of the prompts above: Google Antigravity finds Amtrak station directory on Spiral, shows the price and runs it.

Amtrak station directory providers and prices

Spiral runs Amtrak station directory through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews
Amtrak · List stations
amtrak-com/train-status/list_stations

What can you do with Amtrak station directory in Google Antigravity?

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.

Questions about Amtrak station directory in Google Antigravity

Can Google Antigravity use Amtrak station directory?

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run Amtrak station directory like any built-in tool.

How much does Amtrak station directory cost in Google Antigravity?

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

Do I need an Alexandria account to use Amtrak station directory in Google Antigravity?

No. Spiral runs Amtrak station directory 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 directory in Google Antigravity?

About two minutes: open the MCP config, then add the server, then sign in.

Does Google Antigravity wait while Amtrak station directory runs?

Amtrak station directory runs in the background. Google Antigravity 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.

Get started

Start using Amtrak station directory in Google Antigravity

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Google Antigravity:

Set up Google Antigravity

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options