How to Use Federal Court decision search in opencode
Returns published Federal Court decisions matching a legal topic or party name. Use it to find relevant cases on subjects such as patent infringement or procedural fairness when you do not have a citation.
Prompts to try with Federal Court decision search in opencode
Copy an example into opencode, or ask in your own words.
Use Federal Court decision search to find published patent decisions involving Pfizer from 2023 through 2025, then create a reading list in the project's research folder.
Use Federal Court decision search to find copyright decisions involving the Canadian Broadcasting Corporation and add the returned references to our research notes.
Use Federal Court decision search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Federal Court decision search and tell me what changed since last week.
Check Federal Court decision search and summarize what you find in three bullet points.
How to set up Federal Court decision search in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- 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.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Federal Court decision search
One request; the result comes back by polling or a webhook.
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": "decisions-fct-cf-gc-ca/court-cases/search_decisions", "input": { "query": "<query>" } }'
Then paste one of the prompts above: opencode finds Federal Court decision search on Spiral, shows the price and runs it.
Federal Court decision search providers and prices
Spiral runs Federal Court decision search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 400 | Result page, 25 per page (default 1); the next page number is the continuation cursor. | |
| Sort | relevance or date | 'relevance' (default) or 'date' (newest first). | |
| Language | en or fr | Page language: 'en' (default) or 'fr'. Recent decisions often exist only in English until the Court publishes the French version. |
Every API field of Federal Court of Canada Decisions · Search decisions is on its tool page: open its card above.
What can you do with Federal Court decision search in opencode?
Build a Federal Court research index that connects decision citations with excerpts from the reasons. A coding agent can organize retrieved material in project files and check whether draft quotations match numbered paragraphs.
Patent decisions digest
Review published entries, search for patent issues involving companies such as Pfizer, look up citations selected for the digest, and read the reasons before describing each ruling.
Copyright research notebook
Browse published decisions, find copyright cases involving broadcasters or publishers, resolve cited Federal Court authorities, and collect the paragraphs supporting each research note.
Judicial review teaching pack
Select published decisions, search for procedural fairness and statutory interpretation, locate known citations, and assemble excerpts with paragraph references for classroom discussion.
Published decisions research index
Build an index from browsed entries, use topic searches to assemble subject reading lists, match citations to decision references, and attach short excerpts from the reasons.
Public interest reporting
Find published decisions involving public organizations such as the Canadian Civil Liberties Association and verify quotations against the reasons before preparing an article.
New decisions reading queue
Review newly encountered entries, search for subjects relevant to a research team, and retrieve the reasons for the decisions selected for discussion.
More on Federal Court decision search and opencode
Overview
Federal Court decision search in other agents
Questions about Federal Court decision search in opencode
Can opencode use Federal Court decision search?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Federal Court decision search like any built-in tool.
How much does Federal Court decision search 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 Federal Court decision search in opencode?
No. Spiral runs Federal Court decision 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 Federal Court decision search in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Federal Court decision search runs?
Federal Court decision search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does this source cover court decisions from every province?
The Federal Court hears federal matters across Canada, but it does not have the general jurisdiction of provincial superior courts. This source is for Federal Court decisions, rather than a nationwide collection of every court's judgments.
Does the Court publish every interim ruling?
No. Interlocutory decisions are generally absent from the Court's website, although the Court may publish those it considers to have precedential value.
How soon should a decision appear online?
The Court's publication notice specifies no later than two days after the Registry sends the decision to counsel of record. For an unrepresented party, it specifies no later than ten days after sending the decision to that party.
Are English and French decisions always available together?
No. Section 20 of the Official Languages Act permits qualifying decisions to be issued in one official language first, with the other following at the earliest possible time.
Does a published decision include the complete court file?
No. The Court directs readers to its separate Court Files service for filed documents and procedural histories. A published judgment should not be treated as the complete litigation record.
Start using Federal Court decision search in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


