[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Canada Gazette consultations](https://spiral.ai/integrations/codex/canada-gazette-consultations)

# How to Use Canada Gazette consultations in Codex

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.

|  |  |
| --- | --- |
| Model | Canada Gazette consultations |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Canada Gazette consultations in Codex

- Use Canada Gazette consultations to find proposals with aviation in the title and add the returned publication references to this project's research notes.
- 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 Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
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.

```bash
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.

```bash
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.

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

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## Canada Gazette consultations tools and prices

- [Canada Gazette · List consultations](https://spiral.ai/tools/alexandria/gazette-gc-ca/legislation/list_consultations) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| query |  | — | Words that must all appear in the title (case-insensitive). |
| status | open, closed | — | Default open. |

## What can you do with Canada Gazette consultations 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Codex guides](https://spiral.ai/integrations/codex)

## Canada Gazette consultations in other agents

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

## More Codex guides

- [California code table of contents](https://spiral.ai/integrations/codex/california-code-table-of-contents)
- [Canada Gazette document](https://spiral.ai/integrations/codex/canada-gazette-document)
- [California code section](https://spiral.ai/integrations/codex/california-code-section)
- [Canada Gazette issue contents](https://spiral.ai/integrations/codex/canada-gazette-issue-contents)
- [California code article](https://spiral.ai/integrations/codex/california-code-article)
- [Canada Gazette issues](https://spiral.ai/integrations/codex/canada-gazette-issues)

## Questions about Canada Gazette consultations in Codex

**Can Codex use Canada Gazette consultations?**

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

**How much does Canada Gazette consultations 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 consultations in Codex?**

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 Codex?**

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

**Does Codex wait while Canada Gazette consultations runs?**

Canada Gazette consultations 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.

