[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [GO Transit Union departures](https://spiral.ai/integrations/muse-code/go-transit-union-departures)

# How to Use GO Transit Union departures in Muse Code

Returns Union Station's GO train departure board with platform information. Use it to check outbound trains from Union and find the platform reported for your departure.

|  |  |
| --- | --- |
| Model | GO Transit Union departures |
| 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 Union departures in Muse Code

- Use GO Transit Union departures to fetch Lakeshore East departures and add a table showing the returned departure times and platforms.
- Use GO Transit Union departures to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from GO Transit Union departures and tell me what changed since last week.
- Check GO Transit Union departures and summarize what you find in three bullet points.
- Pull the newest data from GO Transit Union departures and give me the result as a table.

## How to set up GO Transit Union departures 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 GO Transit Union departures**: 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/union_departures",
    "input": {
      "line": "<line>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds GO Transit Union departures on Spiral, shows the price and runs it.

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

## GO Transit Union departures tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| line |  | — | Line code or name: BR Barrie, GT Kitchener, LE Lakeshore East, LW Lakeshore West, MI Milton, RH Richmond Hill, ST Stouffville. |
| limit | 1 to 100 | 25 | Most departures to return. |

## What can you do with GO Transit Union departures in Muse 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.

### 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.

### Station information display

Build a public departure display with recognizable line and station names, expected times, boarding platforms, and a separate area for station service messages.

### 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 Muse Code guides](https://spiral.ai/integrations/muse-code)

## GO Transit Union departures in other agents

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

## More Muse Code guides

- [Fresha venue details](https://spiral.ai/integrations/muse-code/fresha-venue-details)
- [GO Transit lines and stations](https://spiral.ai/integrations/muse-code/go-transit-lines-and-stations)
- [Fresha treatment and venue lookup](https://spiral.ai/integrations/muse-code/fresha-treatment-and-venue-lookup)
- [GO Transit station alerts](https://spiral.ai/integrations/muse-code/go-transit-station-alerts)
- [Fresha salon and spa search](https://spiral.ai/integrations/muse-code/fresha-salon-and-spa-search)
- [GO Transit station departures](https://spiral.ai/integrations/muse-code/go-transit-station-departures)

## Questions about GO Transit Union departures in Muse Code

**Can Muse Code use GO Transit Union departures?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run GO Transit Union departures like any built-in tool.

**How much does GO Transit Union departures 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 GO Transit Union departures in Muse Code?**

No. Spiral runs GO Transit Union departures 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 Union departures in Muse Code?**

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

**Does Muse Code wait while GO Transit Union departures runs?**

GO Transit Union departures runs in the background. Muse 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.

