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

Codex · Public Records

How to Use Canada Gazette issues in Codex

Find Canada Gazette editions by publication date, including regular and extra editions. Use the publication list to locate an issue; Part II listings also identify the registration numbers it contains.

Prompts to try with Canada Gazette issues in Codex

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

Use Canada Gazette issues to find the available 2026 Part II editions and add their publication references to this project's research index.

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

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

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

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

How to set up Canada Gazette issues in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 issues

    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_issues",
        "input": {
          "part": "I",
          "year": 1998
        }
      }'

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

Canada Gazette issues providers and prices

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

AlexandriaPublic Records
Canada Gazette · List issues
gazette-gc-ca/legislation/list_issues

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
PartI, II, or III

Gazette part.

Year1998 to 2100

Calendar year, e.g. 2026.

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

What can you do with Canada Gazette issues in Codex?

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.

Index registered instruments

Locate Part II editions and collect their instrument titles, enabling statutes, registration numbers, and dates. Read selected documents to add a short description to a research index.

Find historical publication references

Locate older Gazette editions and record their publication references for an archive bibliography. Identify PDF-only editions before planning document extraction.

Questions about Canada Gazette issues in Codex

Can Codex use Canada Gazette issues?

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

How much does Canada Gazette issues cost in Codex?

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

Do I need an Alexandria account to use Canada Gazette issues in Codex?

No. Spiral runs Canada Gazette issues 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 issues in Codex?

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

Does Codex wait while Canada Gazette issues runs?

Canada Gazette issues runs in the background. Codex 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 issues in Codex

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

Paste this into Codex:

Set up Codex

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