[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [CourtListener docket entries](https://spiral.ai/integrations/claude-code/courtlistener-docket-entries)

# How to Use CourtListener docket entries in Claude Code

Returns filing dates, entry descriptions, and document information for a selected federal case in RECAP. Use it to summarize motions, orders, and other recorded activity after identifying the case.

|  |  |
| --- | --- |
| Model | CourtListener docket entries |
| 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 docket entries in Claude Code

- Use CourtListener docket entries for docket 4214664, National Veterans Legal Services Program v. United States, and render the returned dates and descriptions as a timeline in this project.
- Use CourtListener docket entries for docket 4214664, National Veterans Legal Services Program v. United States, and create a Markdown table of returned entries whose descriptions mention a motion.
- Use CourtListener docket entries to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from CourtListener docket entries and tell me what changed since last week.
- Check CourtListener docket entries and summarize what you find in three bullet points.

## How to set up CourtListener docket entries 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.

```bash
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.

```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 docket entries**: 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/dockets/docket_entries",
    "input": {
      "docket_id": 1
    }
  }'
```

Then paste one of the prompts above: Claude Code finds CourtListener docket entries on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## CourtListener docket entries tools and prices

- [CourtListener · Docket entries](https://spiral.ai/tools/alexandria/courtlistener-com/dockets/docket_entries) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| query |  | — | Words that must all appear in the entry description (case-insensitive). |
| cursor |  | — | Not served keyless: the feeds have no further pages, so any cursor fails with a non-retryable upstream_blocked error. |
| order_by | entry_date_filed asc, entry_date_filed desc, score desc | entry_date_filed asc | order_by |
| filed_after |  | — | Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| filed_before |  | — | Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| available_only |  | — | Only entries whose PDF is in the RECAP archive. |

## What can you do with CourtListener docket entries in Claude Code?

Build a litigation research view that connects federal case metadata with recorded filing activity. A coding agent can turn CourtListener results into case tables and dated timelines in your project.

### Antitrust reporting

Find federal antitrust cases involving Google or Apple, then review returned docket descriptions to identify motions and orders worth investigating.

### Corporate litigation briefings

Identify cases involving a public company and build a briefing from case metadata and recorded filing activity. Keep allegations attributed to the filing descriptions.

### Patent dispute monitoring

Locate patent disputes involving a business, then inspect docket entries for descriptions of claim-construction proceedings, motions, and orders.

### Business bankruptcy research

Find a corporate bankruptcy case and organize the returned filing descriptions into a chronology for restructuring research.

### Public-interest case timelines

Identify litigation brought by a public-interest organization and assemble a dated timeline from the available docket entries.

### Changes to a business case watchlist

Search for newly returned cases involving selected organizations and compare available entries for cases already identified. Report changes found in RECAP without claiming complete court coverage.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## CourtListener docket entries in other agents

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

## More Claude Code guides

- [CourtListener court directory](https://spiral.ai/integrations/claude-code/courtlistener-court-directory)
- [CourtListener docket search](https://spiral.ai/integrations/claude-code/courtlistener-docket-search)
- [Cornell LII state regulation](https://spiral.ai/integrations/claude-code/cornell-lii-state-regulation)
- [CourtListener opinion search](https://spiral.ai/integrations/claude-code/courtlistener-opinion-search)
- [Cornell LII legal table of contents](https://spiral.ai/integrations/claude-code/cornell-lii-legal-table-of-contents)
- [Cámara de Diputados federal law catalog](https://spiral.ai/integrations/claude-code/c-mara-de-diputados-federal-law-catalog)

## Questions about CourtListener docket entries in Claude Code

**Can Claude Code use CourtListener docket entries?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run CourtListener docket entries like any built-in tool.

**How much does CourtListener docket entries 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 CourtListener docket entries in Claude Code?**

No. Spiral runs CourtListener docket entries 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 docket entries in Claude Code?**

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

**Does Claude Code wait while CourtListener docket entries runs?**

CourtListener docket entries runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**Which courts does RECAP cover?**

RECAP collects records from the Supreme Court and federal district, appellate, and bankruptcy courts. Its federal docket collection does not establish coverage of state trial-court litigation.

**Does RECAP contain every filing in a federal case?**

CourtListener explicitly says its coverage of new PACER activity can be incomplete. Some courts provide only selected filing types through RSS, and others provide no RSS feed.

**How current is the information for a particular case?**

Freshness depends on whether CourtListener receives updates for that case. Its documentation says valid updates can be missed when no source supplies them, so an unchanged RECAP record does not prove there was no court activity.

**Why might a filing PDF be missing?**

CourtListener may receive a PDF before it receives the docket or docket-entry metadata needed to place it. That specific processing gap can leave a contributed document unavailable until the missing metadata arrives.

**Is a docket description the same as the filing itself?**

No. CourtListener separates docket metadata, docket entries, and documents; an entry description summarizes the associated documents. It does not supply the full arguments or reasoning contained in a motion or order.

