How to Use CourtListener opinion search in Devin
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 Devin
Copy an example into Devin, or ask in your own words.
Use CourtListener opinion search to find Google LLC v. Oracle America, Inc. Add the returned case names and excerpts to a research note in this project.
Use CourtListener opinion search to find Ninth Circuit opinions discussing software copyright filed during 2025. Build a table from the returned case names and excerpts.
Use CourtListener opinion search to find opinions mentioning the Digital Millennium Copyright Act filed during October 2026. Add the returned results to this project's research notes.
Use CourtListener opinion search to find published Supreme Court opinions with Microsoft in the case name. Create a reading list from the returned results.
Use CourtListener opinion search to find Second Circuit opinions discussing fair use filed during 2025. Compare the returned case names with our existing research notes and flag repeated names.
How to set up CourtListener opinion search in Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- Sign in to Spiral and approve
In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: Devin 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.
Settings you can ask for
Ask Devin for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Cited gt | a number from 0 | Only clusters cited more than this many times. | |
| Order by | score desc, dateFiled desc, dateFiled asc, citeCount desc, or citeCount asc | score 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 unpublished | on 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 Devin?
Build a case research table from CourtListener's published opinion results. A coding agent can organize case names and excerpts in your project and flag repeated names for review.
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.
More on CourtListener opinion search and Devin
Overview
CourtListener opinion search in other agents
Questions about CourtListener opinion search in Devin
Can Devin use CourtListener opinion search?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run CourtListener opinion search like any built-in tool.
How much does CourtListener opinion search cost in Devin?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.
Do I need an Alexandria account to use CourtListener opinion search in Devin?
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 Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while CourtListener opinion search runs?
CourtListener opinion search runs in the background. Devin 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.
Start using CourtListener opinion search in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


