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

Claude Code · Public Records

How to Use California Courts website search in Claude Code

Returns matching pages from the California Courts website. Use it to locate guidance and program information when you do not yet know the relevant form or rule number.

Prompts to try with California Courts website search in Claude Code

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

Use California Courts website search to look this up and give me the result as a table. Save the result in ./assets.

California Courts website searchClaude Code
Try asking
  • Pull the latest numbers from California Courts website search and tell me what changed since last week.

  • Check California Courts website search and summarize what you find in three bullet points.

  • Pull the newest data from California Courts website search and give me the result as a table.

  • Check California Courts website search every morning and tell me only when something changed.

How to set up California Courts website 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.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run California Courts website 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": "courts-ca-gov/court-rules-forms-opinions/site_search",
        "input": {
          "query": "<query>"
        }
      }'

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

California Courts website search providers and prices

Spiral runs California Courts website search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
California Courts (courts.ca.gov) · Site search
courts-ca-gov/court-rules-forms-opinions/site_search

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page0 to 10000

page

Every API field of California Courts (courts.ca.gov) · Site search is on its tool page: open its card above.

What can you do with California Courts website search in Claude Code?

Check a project's California court references against official form editions, rule text, or recent opinion records. Use the returned identifiers and source links to prepare specific documentation corrections for review.

Civil procedure research packet

Assemble statewide civil form references, relevant rule headings and text, recent opinion records, and court guidance for a legal researcher's review.

Appellate practice reference

Build an appellate reading packet with appeal form editions, procedural rules, recent decision links, and explanatory court pages. Keep published and unpublished decisions labeled separately.

Forms library edition audit

Compare a reference library's form numbers and edition dates with the statewide catalog. Look up individual descriptions and use court guidance to resolve unclear titles.

Practice guide reference review

Check numbered rule references and recent opinion citations in a draft practice guide. Identify the source documents an editor should read before approving a procedural statement.

Legal research training exercises

Prepare exercises that connect a procedural topic to form descriptions, rule text, and recent opinion records. Ask trainees to distinguish a form's effective date from an opinion's filing date.

Statewide filing reference checklist

Identify statewide forms, their stated purposes, and related procedural rules for a filing reference checklist. Include a separate local court review because county requirements can add forms.

Recent opinions reading list

Prepare a reading list of recent appellate decisions with case numbers, filing dates, publication labels, and document links. Add the text of procedural rules needed to interpret the source's citation guidance.

Court forms subject directory

Organize statewide form references into subjects such as discovery, appeals, and small claims. Add each form's purpose and effective date, plus links to explanatory court pages.

Questions about California Courts website search in Claude Code

Can Claude Code use California Courts website search?

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

How much does California Courts website 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 California Courts website search in Claude Code?

No. Spiral runs California Courts website 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 California Courts website search in Claude Code?

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

Does Claude Code wait while California Courts website search runs?

California Courts website search runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

Does the forms catalog include every county's required forms?

The catalog covers statewide Judicial Council forms. County Superior Courts may also require local forms, so a statewide form list does not establish that a filing packet is complete.

How far back do the opinion lists go?

Published slip opinions remain in the list for 120 days, and unpublished opinions for 60 days. Older decisions use the separate Case Information Search rather than these recent opinion lists.

How quickly are new opinions posted?

Supreme Court slip opinions are posted immediately on filing at 10 a.m. Mondays and Thursdays. Court of Appeal opinions are posted throughout the day as soon after filing as possible.

Are the opinion downloads the edited Official Reports versions?

The recent lists provide as-filed slip opinions. These lack the enhancements, editing, and corrections applied to Official Reports opinions.

How can I check when a rule took effect?

California Courts directs readers to each rule's history legend for its effective date. The rule's individual history is more specific than the year displayed on the rules collection.

Get started

Start using California Courts website search in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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