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

# How to Use Canadian patent search in Muse 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 Muse 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 Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse 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: Muse Code finds Canadian patent search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-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 Muse 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 Muse Code guides](https://spiral.ai/integrations/muse-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)
- [Claude Code](https://spiral.ai/integrations/claude-code/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)
- [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 Muse Code guides

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

## Questions about Canadian patent search in Muse Code

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

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

**How much does Canadian patent search cost in Muse 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 Muse Code plan is separate.

**Do I need an Alexandria account to use Canadian patent search in Muse 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 Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

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

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

