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

Gemini CLI · Public Records

How to Use Canada Gazette consultations in Gemini CLI

Find proposed regulations in the Canada Gazette's open consultations or closed consultations with published comments. Use the list to identify proposals and review their consultation dates before reading the underlying documents.

Prompts to try with Canada Gazette consultations in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Canada Gazette consultations to find proposals with aviation in the title and add the returned publication references to this project's research notes.

Canada Gazette consultationsGemini CLI
Try asking
  • Use Canada Gazette consultations to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Canada Gazette consultations and tell me what changed since last week.

  • Check Canada Gazette consultations and summarize what you find in three bullet points.

  • Pull the newest data from Canada Gazette consultations and give me the result as a table.

How to set up Canada Gazette consultations in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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 Canada Gazette consultations

    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": "gazette-gc-ca/legislation/list_consultations",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Canada Gazette consultations on Spiral, shows the price and runs it.

Canada Gazette consultations providers and prices

Spiral runs Canada Gazette consultations through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
Canada Gazette · List consultations
gazette-gc-ca/legislation/list_consultations

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Statusopen or closed

Default open.

Every API field of Canada Gazette · List consultations is on its tool page: open its card above.

What can you do with Canada Gazette consultations in Gemini CLI?

Build a searchable index of Canadian federal proposals and published instruments in your project. A coding agent can organize Gazette references by issue date and registration number, then attach document summaries for review.

Prepare a federal regulatory briefing

Locate recent editions, review their contents, identify related consultations, and read the selected documents. Build a briefing that separates proposed changes from enacted instruments.

Research a consultation response

Find a proposal in the consultation list, locate its publication issue, and read its proposed wording. Prepare questions and a response outline with links to the relevant Gazette documents.

Build a sector reading list

Collect Gazette publications and consultations concerning Canadian aviation, banking, energy, or another defined sector. Review issue contents and document text to explain why each selection belongs.

Assemble a proposal publication history

Start with an open or closed consultation, identify the original issue, and read the proposal. Search subsequent editions for related instruments and document the connections supported by their text.

Questions about Canada Gazette consultations in Gemini CLI

Can Gemini CLI use Canada Gazette consultations?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Canada Gazette consultations like any built-in tool.

How much does Canada Gazette consultations cost in Gemini CLI?

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

Do I need an Alexandria account to use Canada Gazette consultations in Gemini CLI?

No. Spiral runs Canada Gazette consultations on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Canada Gazette consultations in Gemini CLI?

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

Does Gemini CLI wait while Canada Gazette consultations runs?

Canada Gazette consultations runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

What is the difference between Part I and Part II?

Part I publishes federal notices, appointments, and proposed regulations. Part II publishes enacted regulations and other statutory instruments, including orders and proclamations.

When does new Gazette material appear?

Regular Part I editions become available on Fridays at 2 pm Eastern time with a Saturday publication date. Regular Part II editions appear every second Wednesday at 9 am Eastern time.

How far back can I research Gazette publications?

The Gazette website lists publications from 1998 onward and directs readers to Library and Archives Canada for 1841 through 1997. Its stated HTML availability is the last five years, with older editions available only as PDFs.

Is the HTML text the official edition?

The Gazette labels HTML editions unofficial. The official edition is the bilingual PDF, so use that edition when checking the published wording.

What can a Part II issue index tell me?

It lists regulations, the associated statutes, registration numbers, dates, and comments. That makes it useful for locating a particular instrument before reading its text.

Get started

Start using Canada Gazette consultations in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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