Spiral gives your agent every tool with one account. Browse the tools →

Windsurf · Public Records

How to Use Supreme Court of Canada judgment search in Windsurf

Find Supreme Court of Canada decisions by legal topic or case name. Use it to build a shortlist for questions such as corporate liability or contractual good faith, then read the relevant judgments.

Prompts to try with Supreme Court of Canada judgment search in Windsurf

Copy an example into Windsurf, or ask in your own words.

Use Supreme Court of Canada judgment search to find decisions about contractual good faith from 2014 through 2024, and add a candidate reading list to docs/legal/.

Supreme Court of Canada judgment searchWindsurf
Try asking
  • Use Supreme Court of Canada judgment search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Supreme Court of Canada judgment search and tell me what changed since last week.

  • Check Supreme Court of Canada judgment search and summarize what you find in three bullet points.

  • Pull the newest data from Supreme Court of Canada judgment search and give me the result as a table.

How to set up Supreme Court of Canada judgment search in Windsurf

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

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Supreme Court of Canada judgment 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-scc-csc-ca/court-cases/search_decisions",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Windsurf finds Supreme Court of Canada judgment search on Spiral, shows the price and runs it.

Supreme Court of Canada judgment search providers and prices

Spiral runs Supreme Court of Canada judgment search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
Supreme Court of Canada Judgments · Search decisions
decisions-scc-csc-ca/court-cases/search_decisions

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 400

Result page, 25 per page (default 1); the next page number is the continuation cursor.

Sortrelevance or date

'relevance' (default) or 'date' (newest first).

Languageen or fr

Page language: 'en' (default) or 'fr'. Every judgment is published in both official languages.

Every API field of Supreme Court of Canada Judgments · Search decisions is on its tool page: open its card above.

What can you do with Supreme Court of Canada judgment search in Windsurf?

Build a cited Supreme Court research index for your project’s legal documentation. The agent can organize judgment records and connect summaries to the Court’s reasons, keeping staff summaries separate from judicial text.

Prepare a weekly judgment digest

Review the judgment list, search for decisions relevant to Canadian businesses, and read the reasons before drafting summaries. Check citations mentioned in each draft against the corresponding decision records.

Build a corporate law reading list

Combine browsing and topic searches to select judgments on contractual good faith, corporate liability, or insolvency. Match known citations to decision records and use the reasons to explain why each case belongs on the list.

Research a legal topic

Search for judgments on a defined issue, such as customary international law and corporate liability, then read the selected reasons to compare the Court’s approaches.

Prepare a bilingual case study

Choose a judgment from the published list or a topic search, confirm its citation, and retrieve its English and French reasons. Compare how the two texts express the legal test.

Create a seminar case packet

Browse judgments and search a course topic to choose readings. Resolve the assigned citations and extract the relevant reasoning for discussion questions on majority and dissenting approaches.

Questions about Supreme Court of Canada judgment search in Windsurf

Can Windsurf use Supreme Court of Canada judgment search?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Supreme Court of Canada judgment search like any built-in tool.

How much does Supreme Court of Canada judgment search cost in Windsurf?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

Do I need an Alexandria account to use Supreme Court of Canada judgment search in Windsurf?

No. Spiral runs Supreme Court of Canada judgment 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 Supreme Court of Canada judgment search in Windsurf?

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

Does Windsurf wait while Supreme Court of Canada judgment search runs?

Supreme Court of Canada judgment search runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

Does the website contain every historical Supreme Court judgment?

Do not assume complete historical coverage. In November 2024, the Court announced that only translated judgments would appear on its website, directing readers seeking the complete historical collection to other open databases.

Are judgments available in English and French?

The Court provides reasons for judgment in both English and French. Its policy of displaying only translated judgments also creates a boundary for older material available through the website.

How soon is the official version available?

Preparing a decision for the official Supreme Court Reports takes several months. Earlier digital versions are available, but the Court warns that they can contain computer-generated errors or discrepancies from the later official text.

Why might a decision have no written reasons?

The Court does not give reasons for decisions on leave applications. An appeal can also be decided orally, with written reasons following later.

Can I republish judgment text and headnotes on the same terms?

Decisions and reasons may be reproduced under the Reproduction of Federal Law Order if accuracy is checked and the copy is not presented as official. Headnotes and editorial features, including paragraph numbers and citation lists, fall outside that order and have separate conditions.

Get started

Start using Supreme Court of Canada judgment search in Windsurf

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Windsurf:

Set up Windsurf

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options