[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Canada Gazette document](https://spiral.ai/integrations/claude-code/canada-gazette-document)

# How to Use Canada Gazette document in Claude Code

Fetch the text of a Canada Gazette notice, proposed regulation, or registered instrument. Use it to read the provisions and explanatory material behind a title found in an issue or consultation list.

|  |  |
| --- | --- |
| Model | Canada Gazette document |
| 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 document in Claude Code

- Use Canada Gazette document to read SOR/2026-232 and draft a short description for this project's Canadian payments research index.
- Use Canada Gazette document to read https://gazette.gc.ca/rp-pr/p1/2026/2026-10-24/html/reg1-eng.html and create a cited outline of the proposed Stablecoin Regulations in this project's notes.
- Use Canada Gazette document to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Canada Gazette document and tell me what changed since last week.
- Check Canada Gazette document and summarize what you find in three bullet points.

## How to set up Canada Gazette document in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 document**: 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/get_document",
    "input": {
      "registration": "<registration>"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Canada Gazette document tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A gazette.gc.ca /rp-pr/p1 or /rp-pr/p2 HTML document URL. Mutually exclusive with registration. |
| registration |  | — | Part II registration number: SOR/YYYY-N or SI/YYYY-N (DORS/TR and two-digit years accepted). Mutually exclusive with url. |
| max_text_chars | 0 to 200000 | — | Cap on the returned text (default 20000). 0 returns metadata only. |

## What can you do with Canada Gazette document in Claude Code?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Canada Gazette document in other agents

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

## More Claude Code guides

- [Canada Gazette consultations](https://spiral.ai/integrations/claude-code/canada-gazette-consultations)
- [Canada Gazette issue contents](https://spiral.ai/integrations/claude-code/canada-gazette-issue-contents)
- [California code table of contents](https://spiral.ai/integrations/claude-code/california-code-table-of-contents)
- [Canada Gazette issues](https://spiral.ai/integrations/claude-code/canada-gazette-issues)
- [California code section](https://spiral.ai/integrations/claude-code/california-code-section)
- [CelesTrak satellite catalog record](https://spiral.ai/integrations/claude-code/celestrak-satellite-catalog-record)

## Questions about Canada Gazette document in Claude Code

**Can Claude Code use Canada Gazette document?**

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

**How much does Canada Gazette document cost in Claude 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 Claude Code plan is separate.

**Do I need an Alexandria account to use Canada Gazette document in Claude Code?**

No. Spiral runs Canada Gazette document 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 document in Claude Code?**

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

**Does Claude Code wait while Canada Gazette document runs?**

Canada Gazette document runs in the background. Claude Code 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.

