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

Factory Droid · Maps & Reviews

How to Use GO Transit train positions in Factory Droid

Returns live GO train locations and delays. Use it to see where active trains are on a line and investigate a late service beyond the station departure board.

Prompts to try with GO Transit train positions in Factory Droid

Copy an example into Factory Droid, or ask in your own words.

Use GO Transit train positions to fetch active Kitchener line trains and add their reported locations and delays to this project's map.

GO Transit train positionsFactory Droid
Try asking
  • Use GO Transit train positions to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from GO Transit train positions and tell me what changed since last week.

  • Check GO Transit train positions and summarize what you find in three bullet points.

  • Pull the newest data from GO Transit train positions and give me the result as a table.

How to set up GO Transit train positions in Factory Droid

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

Use Spiral's MCP server

  1. Add the server

    Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.

    droid mcp add spiral https://api.spiral.ai/mcp --type http
  2. Sign in

    Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

  3. Check it

    Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.

    droid mcp list

Use the Spiral skill

  1. Send Factory Droid 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 GO Transit train positions

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

Then paste one of the prompts above: Factory Droid finds GO Transit train positions on Spiral, shows the price and runs it.

GO Transit train positions providers and prices

Spiral runs GO Transit train positions through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews
GO Tracker (GO Transit) · Train positions
gotracker-ca/transit-realtime/train_positions

What can you do with GO Transit train positions in Factory Droid?

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.

Rail disruption desk

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

Questions about GO Transit train positions in Factory Droid

Can Factory Droid use GO Transit train positions?

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run GO Transit train positions like any built-in tool.

How much does GO Transit train positions cost in Factory Droid?

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

Do I need an Alexandria account to use GO Transit train positions in Factory Droid?

No. Spiral runs GO Transit train positions 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 train positions in Factory Droid?

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

Does Factory Droid wait while GO Transit train positions runs?

GO Transit train positions runs in the background. Factory Droid 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.

Get started

Start using GO Transit train positions in Factory Droid

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

Paste this into Factory Droid:

Set up Factory Droid

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