[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [GO Transit trip details](https://spiral.ai/integrations/claude-code/go-transit-trip-details)

# How to Use GO Transit trip details in Claude Code

Returns today's stop-by-stop times for a GO train trip. Use it to inspect one service's progress along its route after identifying the train you need.

|  |  |
| --- | --- |
| Model | GO Transit trip 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 GO Transit trip details in Claude Code

- Use GO Transit trip details for a currently operating Lakeshore West train and build a view of today's returned stop-by-stop times.
- Use GO Transit trip details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from GO Transit trip details and tell me what changed since last week.
- Check GO Transit trip details and summarize what you find in three bullet points.
- Pull the newest data from GO Transit trip details and give me the result as a table.

## How to set up GO Transit trip details in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

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

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude 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 GO Transit trip 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": "gotracker-ca/transit-realtime/trip_detail",
    "input": {
      "trip_number": "<trip_number>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds GO Transit trip details on Spiral, shows the price and runs it.

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

## GO Transit trip details tools and prices

- [GO Tracker (GO Transit) · Trip detail](https://spiral.ai/tools/alexandria/gotracker-ca/transit-realtime/trip_detail) (Alexandria): $0.00873 per call.

## What can you do with GO Transit trip details in Claude Code?

Build a GO rail board that combines line names, station notices, and current train information. Your coding agent can turn the returned data into departure tables, train maps, and trip views in your project.

### Morning commute briefing

Prepare an Oakville-to-Union briefing with the line and stations, current station notices, expected departures, train locations, and the selected trip's stop times.

### Event exit planning

Help attendees leaving an event near Union compare outbound departures and platforms, inspect stopping patterns, locate trains, and check station notices for their destination.

### Hotel transit concierge

Answer guests' GO rail questions using station names, departure estimates, platforms, notices, train locations, and stop-by-stop information for the service they select.

### Live rail map

Label active GO trains by line, show their reported locations, and let users inspect trip stops and station service messages.

### Train progress report

Turn a selected GO trip into a readable progress report with its line, reported location, delay, and today's stop-by-stop times.

### Union platform change monitor

Compare successive Union departure boards to identify changes in reported platforms and times. Add the line's station list, relevant service messages, and selected trip details for context.

### Rail disruption desk

Give a transit support team a current view of affected stations, departure estimates, Union platforms, train positions, and individual trip progress.

## Overview

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

## GO Transit trip details in other agents

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

## More Claude Code guides

- [GO Transit train positions](https://spiral.ai/integrations/claude-code/go-transit-train-positions)
- [Gartner conference calendar](https://spiral.ai/integrations/claude-code/gartner-conference-calendar)
- [GO Transit station departures](https://spiral.ai/integrations/claude-code/go-transit-station-departures)
- [Gartner public content](https://spiral.ai/integrations/claude-code/gartner-public-content)
- [GO Transit station alerts](https://spiral.ai/integrations/claude-code/go-transit-station-alerts)
- [Gartner webinar details](https://spiral.ai/integrations/claude-code/gartner-webinar-details)

## Questions about GO Transit trip details in Claude Code

**Can Claude Code use GO Transit trip details?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run GO Transit trip details like any built-in tool.

**How much does GO Transit trip details cost in Claude 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 Claude Code plan is separate.

**Do I need an Alexandria account to use GO Transit trip details in Claude Code?**

No. Spiral runs GO Transit trip 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 GO Transit trip details in Claude Code?**

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

**Does Claude Code wait while GO Transit trip details runs?**

GO Transit trip details runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**What area and transport services does GO Tracker cover?**

The provider documents GO Transit rail data for the Toronto region, covering seven rail lines and their stations.

**How fresh is GO Tracker information?**

Metrolinx describes GO Tracker information as updated in real time. Its description does not specify a fixed refresh interval in seconds.

**Are the departure times guaranteed?**

Metrolinx calls GO Tracker departure times estimates based on actual train activity. A displayed expected departure is therefore an estimate that can change.

**What time period do the trip details cover?**

The provider documents today's stop-by-stop trip times. That documented scope does not establish access to previous days' trip records.

**Does every train stop at every station on its line?**

GO Tracker distinguishes express trips from all-stops trips. Check the individual trip's stopping pattern before choosing a train for an intermediate station.

