[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Federal Court decision text](https://spiral.ai/integrations/claude-code/federal-court-decision-text)

# How to Use Federal Court decision text in Claude Code

Returns a published Federal Court decision's text, citation, court file numbers, and judge. Use it to read the reasons and extract supporting paragraphs after locating a case.

|  |  |
| --- | --- |
| Model | Federal Court decision text |
| 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 Federal Court decision text in Claude Code

- Locate the published decision for 2024 FC 42, then use Federal Court decision text to check the quotations in my draft against its numbered paragraphs.
- Use Federal Court decision text 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 text and tell me what changed since last week.
- Check Federal Court decision text and summarize what you find in three bullet points.
- Pull the newest data from Federal Court decision text and give me the result as a table.

## How to set up Federal Court decision text 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 Federal Court decision text**: 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": "decisions-fct-cf-gc-ca/court-cases/get_decision",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Federal Court decision text on Spiral, shows the price and runs it.

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

## Federal Court decision text tools and prices

- [Federal Court of Canada Decisions · Get decision](https://spiral.ai/tools/alexandria/decisions-fct-cf-gc-ca/court-cases/get_decision) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A decision URL instead of item_id, e.g. https://decisions.fct-cf.gc.ca/fc-cf/decisions/en/item/531684/index.do (decisions.fct-cf.ca links work too). Its language is used unless language is set. |
| offset | 0 to … | — | Character offset into the decision text (default 0); use the continuation cursor. |
| item_id | 1 to … | — | Decisia item id, from the other functions or a decision URL (/item/531684/). |
| language | en, fr | — | Page language: 'en' (default) or 'fr'. When the French version does not exist yet the English one is returned with a warning. |
| max_chars | 500 to 100000 | — | Most characters of text to return (default 30000). |

## What can you do with Federal Court decision text in Claude Code?

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.

### Brief citation review

Locate Federal Court citations already used in a draft, read the corresponding reasons, and compare each cited paragraph with the proposition it is meant to support.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Federal Court decision text in other agents

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

## More Claude Code guides

- [Federal Court decision search](https://spiral.ai/integrations/claude-code/federal-court-decision-search)
- [Federal Court decisions list](https://spiral.ai/integrations/claude-code/federal-court-decisions-list)
- [Federal Court citation lookup](https://spiral.ai/integrations/claude-code/federal-court-citation-lookup)
- [Federal Court of Appeal citation lookup](https://spiral.ai/integrations/claude-code/federal-court-of-appeal-citation-lookup)
- [FEMA state and local recovery resources](https://spiral.ai/integrations/claude-code/fema-state-and-local-recovery-resources)
- [Federal Court of Appeal decision listings](https://spiral.ai/integrations/claude-code/federal-court-of-appeal-decision-listings)

## Questions about Federal Court decision text in Claude Code

**Can Claude Code use Federal Court decision text?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Federal Court decision text like any built-in tool.

**How much does Federal Court decision text 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 Federal Court decision text in Claude Code?**

No. Spiral runs Federal Court decision text 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 text in Claude Code?**

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

**Does Claude Code wait while Federal Court decision text runs?**

Federal Court decision text runs in the background. Claude Code 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.

