[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [CourtListener opinion search](https://spiral.ai/integrations/openclaw/courtlistener-opinion-search)

# How to Use CourtListener opinion search in OpenClaw

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.

|  |  |
| --- | --- |
| Model | CourtListener opinion search |
| 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 CourtListener opinion search in OpenClaw

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

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

### Use the Spiral skill

1. **Send OpenClaw 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**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

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

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/openclaw

## CourtListener opinion search tools and prices

- [CourtListener · Search opinions](https://spiral.ai/tools/alexandria/courtlistener-com/opinions/search_opinions) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| court |  | — | CourtListener court ids (not jurisdiction or state names) to restrict the search to, e.g. scotus, ca9, nysd, cal, calctapp, ny, nyappdiv, tex, texapp, fla. An unknown id such as texas, tx or ca matches nothing and returns zero results. List every court you need: ny does not include nyappdiv. Use the courts function to find ids (jurisdiction S / SA are state supreme and appellate courts). |
| judge |  | — | judge |
| query |  | — | Full-text query. Supports CourtListener operators: quoted phrases, AND/OR/NOT, fielded clauses such as citation:("410 U.S. 113") or cites:(cluster_id). Quote a statute to find opinions citing it, e.g. "42 U.S.C. § 1983". |
| cursor |  | — | Not served keyless: the feeds have no further pages, so any cursor fails with a non-retryable upstream_blocked error. |
| citation |  | — | Reporter citation, e.g. 410 U.S. 113. |
| cited_gt | 0 to … | — | Only clusters cited more than this many times. |

## What can you do with CourtListener opinion search in OpenClaw?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All OpenClaw guides](https://spiral.ai/integrations/openclaw)

## CourtListener opinion search in other agents

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

## More OpenClaw guides

- [CourtListener docket search](https://spiral.ai/integrations/openclaw/courtlistener-docket-search)
- [Cámara de Diputados federal law catalog](https://spiral.ai/integrations/openclaw/c-mara-de-diputados-federal-law-catalog)
- [CourtListener docket entries](https://spiral.ai/integrations/openclaw/courtlistener-docket-entries)
- [Cámara de Diputados law articles](https://spiral.ai/integrations/openclaw/c-mara-de-diputados-law-articles)
- [CourtListener court directory](https://spiral.ai/integrations/openclaw/courtlistener-court-directory)
- [Cámara de Diputados law reform history](https://spiral.ai/integrations/openclaw/c-mara-de-diputados-law-reform-history)

## Questions about CourtListener opinion search in OpenClaw

**Can OpenClaw use CourtListener opinion search?**

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

**How much does CourtListener opinion search cost in OpenClaw?**

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

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

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 OpenClaw?**

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

**Does OpenClaw wait while CourtListener opinion search runs?**

CourtListener opinion search runs in the background. OpenClaw 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.

