[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Canadian patent details](https://spiral.ai/integrations/opencode/canadian-patent-details)

# How to Use Canadian patent details in opencode

Canadian patent details returns a CIPO record's bibliographic data, abstract, status, and document list. Use it when you already have a Canadian patent number and need to examine the invention or its recorded ownership.

|  |  |
| --- | --- |
| Model | Canadian patent details |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Canadian patent details in opencode

- Use Canadian patent details for CA 2553707. Add its title, abstract, filing date, and recorded status to our patent research file.
- Use Canadian patent details for CA 3110539, including the available claims text. Create a research note with the invention summary and document references.
- Use Canadian patent details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Canadian patent details and tell me what changed since last week.
- Check Canadian patent details and summarize what you find in three bullet points.

## How to set up Canadian patent details 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 Canadian patent details**: 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": "brevets-patents-ic-gc-ca/intellectual-property/get_patent",
    "input": {
      "patent_number": "<patent_number>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Canadian patent details on Spiral, shows the price and runs it.

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

## Canadian patent details tools and prices

- [Canadian Patents Database (CIPO) · Get patent](https://spiral.ai/tools/alexandria/brevets-patents-ic-gc-ca/intellectual-property/get_patent) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A CPD patent page URL (`.../opic-cipo/cpd/eng/patent/<number>/summary.html` or the French `.../fra/brevet/<number>/sommaire.html`) instead of `patent_number`. |
| language | en, fr | en | Interface language of the summary page (labels such as status, event descriptions and fee types). Titles and abstracts are always returned in both languages when the record has them. |
| include_text |  | — | Also return the full claims and description text (can be tens of kilobytes). |
| patent_number |  | — | CA patent or application number, digits only or prefixed with `CA` (e.g. `2553707`, `CA 3110539`). |

## What can you do with Canadian patent details in opencode?

Build a Canadian patent research table with patent numbers, invention summaries, and recorded company ownership. A coding agent can compare retrieved CIPO records with the project's existing research files.

### Prepare a technology review

Find Canadian patents about heat pumps, then examine abstracts and claims to organize the results by technical approach.

### Compare company patent portfolios

Find records associated with companies such as BlackBerry and Nokia, then compare their recorded owners, classifications, and invention summaries.

### Build a publication watch

Search a recent publication window for battery recycling, then examine newly found records for a recurring research digest.

### Check a company's recorded patent interests

Find applications and patents associated with a public company, then inspect the applicant and owner information for each shortlisted record.

### Collect material for a prior-art review

Search technical phrases and classifications, then collect relevant Canadian patent numbers, abstracts, and document references for further examination.

### Explain a patent in a research brief

Find a Canadian application mentioned in a technology discussion, then use its abstract, claims, dates, and recorded status to prepare a sourced explanation.

## Overview

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

## Canadian patent details in other agents

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

## More opencode guides

- [CSLB contractors by location](https://spiral.ai/integrations/opencode/cslb-contractors-by-location)
- [Canadian patent search](https://spiral.ai/integrations/opencode/canadian-patent-search)
- [CSLB contractor license personnel](https://spiral.ai/integrations/opencode/cslb-contractor-license-personnel)
- [Colorado business entity details](https://spiral.ai/integrations/opencode/colorado-business-entity-details)
- [CSLB contractor license details](https://spiral.ai/integrations/opencode/cslb-contractor-license-details)
- [Colorado business filing history](https://spiral.ai/integrations/opencode/colorado-business-filing-history)

## Questions about Canadian patent details in opencode

**Can opencode use Canadian patent details?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Canadian patent details like any built-in tool.

**How much does Canadian patent details 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 Canadian patent details in opencode?**

No. Spiral runs Canadian patent details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Canadian patent details in opencode?**

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

**Does opencode wait while Canadian patent details runs?**

Canadian patent details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**How far back does the Canadian Patents Database go?**

CIPO lists applications and patents from 1869 to the present. Searchable text has narrower coverage: abstract searches retrieve publicly opened applications and patents filed after August 15, 1978.

**How often does CIPO update the database?**

CIPO documents daily updates. A daily refresh does not mean every newly filed application is public.

**Can I find an application immediately after it is filed?**

Applications generally appear in the public database 18 months after filing or the earliest priority date. Applicants can request earlier publication.

**Can a broad search return every matching patent?**

CIPO displays at most 5,000 applications or patents per search. If a query reaches that ceiling, narrow it into date ranges before treating the results as complete.

**Does Allowed mean a patent has been granted?**

No. Allowed means CIPO has sent a notice of allowance; Granted and Issued is the status CIPO defines as granted, issued, and active.

