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

Hermes · Public Records

How to Use CourtListener opinion search in Hermes

Find published U.S. court opinions with case names and excerpts from the decisions. Use it to build a reading list for a legal issue or locate an opinion by case name or citation.

Prompts to try with CourtListener opinion search in Hermes

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

Every weekday, use CourtListener opinion search to check for Ninth Circuit opinions discussing software copyright filed in the past seven days. Show newly encountered case names and excerpts.

CourtListener opinion searchHermes
Try asking
  • Every Monday, use CourtListener opinion search to check for Second Circuit opinions mentioning the Digital Millennium Copyright Act filed in the past month. Prepare a reading list of newly encountered results.

  • Each Friday, use CourtListener opinion search to check for Supreme Court opinions with EPA in the case name filed in the past month. Report newly encountered case names and excerpts.

  • Every weekday, use CourtListener opinion search to check for California Supreme Court opinions discussing arbitration filed in the past seven days. Flag results whose case names repeat an earlier result.

  • Every Monday, use CourtListener opinion search to check for published opinions with Microsoft in the case name filed in the past month. Summarize the newly encountered results using their excerpts.

How to set up CourtListener opinion search in Hermes

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

Use the Spiral skill

  1. Send Hermes 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 Spiral's MCP server

  1. Add the server and sign in

    Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

    hermes mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --auth oauth \
      --connect-timeout 300
  2. Check it

    In a chat that was already open, run /reload-mcp.

    hermes mcp list
    hermes mcp test spiral

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 CourtListener opinion 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": "courtlistener-com/opinions/search_opinions",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Hermes finds CourtListener opinion search on Spiral, shows the price and runs it.

CourtListener opinion search providers and prices

Spiral runs CourtListener opinion search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
CourtListener · Search opinions
courtlistener-com/opinions/search_opinions

Settings you can ask for

Ask Hermes for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Cited gta number from 0

Only clusters cited more than this many times.

Order byscore desc, dateFiled desc, dateFiled asc, citeCount desc, or citeCount ascscore desc

Keyless feeds always return the newest matches first. score desc (default) and dateFiled desc are accepted; other orders need a CourtListener API token and fail with a non-retryable upstream_blocked error.

Include unpublishedon or off

Also return unpublished opinions (CourtListener returns published only by default).

Every API field of CourtListener · Search opinions is on its tool page: open its card above.

What can you do with CourtListener opinion search in Hermes?

Keep a research queue of matching published court decisions. An agent running on a schedule can compare CourtListener case names and excerpts with earlier results and flag possible revised decisions.

Build a research reading list

Find published opinions discussing software copyright, then turn the returned case names and excerpts into a shortlist for closer reading.

Locate a known decision

Search for Google LLC v. Oracle America, Inc. by case name or citation to find the corresponding opinion result.

Prepare a court-specific topic digest

Collect matching Ninth Circuit opinions about arbitration within a defined filing period and organize their case names and excerpts for review.

Compare research across jurisdictions

Run separate searches for California and New York appellate opinions about noncompete agreements. Build separate reading lists from the returned decisions.

Find decisions discussing a statute

Search opinion text for the Digital Millennium Copyright Act and collect excerpts that help a researcher choose which decisions to read.

Maintain a public policy research queue

Check for matching published opinions about EPA rulemaking and add newly encountered case names to a review queue.

Questions about CourtListener opinion search in Hermes

Can Hermes use CourtListener opinion search?

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run CourtListener opinion search like any built-in tool.

How much does CourtListener opinion search cost in Hermes?

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

Do I need an Alexandria account to use CourtListener opinion search in Hermes?

No. Spiral runs CourtListener opinion 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 CourtListener opinion search in Hermes?

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

Does Hermes wait while CourtListener opinion search runs?

CourtListener opinion search runs in the background. Hermes starts the run, checks on it and gives you the json when it's ready.

Does CourtListener cover every U.S. court decision?

CourtListener estimates coverage of more than 99.9% of published precedential U.S. case law. That estimate covers a defined category of decisions, not every filing, and case law search returns published decisions by default.

How far back does CourtListener's opinion collection go?

The collection includes opinions from Harvard University's law library spanning more than 365 years. Its historical material combines several institutional sources.

How fresh are CourtListener opinions?

CourtListener collects case law as courts release it. Its description ties updates to court publication rather than a fixed daily release.

How many decisions does a search feed return?

CourtListener's search feed returns the first 20 matching decisions. For broad topics such as copyright or antitrust, use narrower court and date ranges to make that limited result set useful.

Why can the same decision appear more than once?

CourtListener may collect multiple versions when a court revises a decision. Similar case names can therefore identify different versions of the same ruling.

Get started

Start using CourtListener opinion search in Hermes

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

Paste this into Hermes:

Set up Hermes

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