[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Canadian patent search](https://spiral.ai/integrations/claude-code/canadian-patent-search)

# How to Use Canadian patent search in Claude Code

Canadian patent search finds matching CIPO applications and patents by technology, company, classification, or date. Use the returned patent numbers to shortlist records before examining their details.

|  |  |
| --- | --- |
| Model | Canadian patent search |
| 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 search in Claude Code

- Use Canadian patent search to find records with "heat pump" in the title published during 2025. Save the returned patent numbers and titles as a CSV in this project.
- Use Canadian patent search to find applications listing BlackBerry as applicant. Compare the returned numbers with patents.csv and list records absent from the file.
- Use Canadian patent search for "battery recycling" in abstracts published in 2025. Create a table of the returned patent numbers and titles, and flag if the search reaches CIPO's display ceiling.
- Use Canadian patent search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Canadian patent search and tell me what changed since last week.

## How to set up Canadian patent search 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 Canadian patent search**: 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/search_patents",
    "input": {
      "query": "<query>"
    }
  }'
```

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

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

## Canadian patent search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| field | title, abstract, claims, description, inventor, applicant, current-owner, owners-on-record, ipc, pct-number, intl-number | — | Restrict `query` to one bibliographic field (the CPD advanced-search field list). `intl-number` is the WO international publication number, `pct-number` the PCT filing number. |
| cursor |  | — | `next_cursor` from the previous page (the zero-based offset of the next hit). Keep every other input identical. Pattern: ^[0-9]{1,5}$. |
| to_date |  | — | Inclusive range end, YYYY-MM-DD. Requires `date_type` and `from_date`. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| language | en, fr | en | Interface language of the results (English or French titles and summary URLs). The query syntax is the same in both. |
| date_type | issue-date, filing-date, exam-request-date, publication-date, priority-date, national-entry-date, green-technology-granted-date | — | Which date the `from_date`/`to_date` range applies to. Requires both dates. |
| from_date |  | — | Inclusive range start, YYYY-MM-DD. Requires `date_type` and `to_date`. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |

## What can you do with Canadian patent search in Claude Code?

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 Claude Code guides](https://spiral.ai/integrations/claude-code)

## Canadian patent search in other agents

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

## More Claude Code guides

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

## Questions about Canadian patent search in Claude Code

**Can Claude Code use Canadian patent search?**

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

**How much does Canadian patent search 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 Canadian patent search in Claude Code?**

No. Spiral runs Canadian patent search 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 search in Claude Code?**

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

**Does Claude Code wait while Canadian patent search runs?**

Canadian patent search runs in the background. Claude Code 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.

