[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Canada Gazette issue contents](https://spiral.ai/integrations/opencode/canada-gazette-issue-contents)

# How to Use Canada Gazette issue contents in opencode

Fetch the contents of one Canada Gazette issue to identify its notices and regulations. Use it to review a publication date before choosing individual documents to read.

|  |  |
| --- | --- |
| Model | Canada Gazette issue contents |
| 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 issue contents in opencode

- Use Canada Gazette issue contents for Part II dated November 18, 2026, and build a table of instrument titles, enabling statutes, registration numbers, and dates.
- Use Canada Gazette issue contents to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Canada Gazette issue contents and tell me what changed since last week.
- Check Canada Gazette issue contents and summarize what you find in three bullet points.
- Pull the newest data from Canada Gazette issue contents and give me the result as a table.

## How to set up Canada Gazette issue contents in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 issue contents**: 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_issue",
    "input": {
      "date": "<date>",
      "part": "I"
    }
  }'
```

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

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

## Canada Gazette issue contents tools and prices

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

## What can you do with Canada Gazette issue contents in opencode?

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.

## Overview

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

## Canada Gazette issue contents in other agents

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

## More opencode guides

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

## Questions about Canada Gazette issue contents in opencode

**Can opencode use Canada Gazette issue contents?**

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

**How much does Canada Gazette issue contents cost in opencode?**

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

**Do I need an Alexandria account to use Canada Gazette issue contents in opencode?**

No. Spiral runs Canada Gazette issue contents 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 issue contents in opencode?**

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

**Does opencode wait while Canada Gazette issue contents runs?**

Canada Gazette issue contents runs in the background. opencode 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.

