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.
Prompts to try with GO Transit Union departures in Muse Code
Copy an example into Muse Code, or ask in your own words.
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
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run GO Transit Union departures
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": "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.
GO Transit Union departures providers and prices
Spiral runs GO Transit Union departures through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 100 | 25 | Most departures to return. |
Every API field of GO Tracker (GO Transit) · Union departures is on its tool page: open its card above.
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.
More on GO Transit Union departures and Muse Code
Overview
GO Transit Union departures in other agents
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.
Start using GO Transit Union departures in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


