Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

courtlistener

БесплатноЗапускает вложенные скриптыНе проверен

Use when the user says 'CourtListener', 'Free Law Project', 'RECAP', 'PACER data', 'court opinions', 'get the opinion text', 'federal dockets', 'delch'…

edwinhuот edwinhu★ 28 звёзд на GitHub

Об этом скилле

CourtListener for empirical legal research

What this skill carries — grep references/ for any subject the names below miss: !d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"

Free Law Project's corpus. Three access routes with very different properties, and one distinction that people get wrong before they start.

The two corpora are not the same thing

**"CourtListener is federal-only" is true of RECAP and FALSE of opinions.** Getting this wrong sends you to a paid vendor for state-court data that is sitting here free.
corpus source coverage contains
Opinions (case law) scraped from court websites federal and state written decisions, full text
RECAP PACER federal only docket entries, motions, filings

The tell is on the court record itself: pacer_court_id: null + has_opinion_scraper: true means a scraped state court, not a PACER one. Verified on Delaware Chancery:

GET /api/rest/v4/courts/delch/
  "full_name": "Court of Chancery of Delaware"
  "jurisdiction": "SA"            <- state
  "has_opinion_scraper": true
  "pacer_court_id": null          <- NOT RECAP

Pick the route before writing any code

route auth best for cost
Bulk data files none any corpus-scale analysis quarterly snapshot, big files
REST API v4 search/courts unauth; dockets needs a token targeted queries, current data rate-limited, polite pacing on you
DB replication / MCP membership or commercial continuous sync contact FLP

Default to bulk for research. It is public domain, needs no account, and does not rate-limit you. Reach for the API only when you need data newer than the last quarterly snapshot, or when you want a few hundred records rather than a corpus.

Bulk data

No authentication. Public Domain Mark. Regenerated quarterly on the last day of March, June, September and December. Snapshots, not deltas — each file is the whole table.

https://com-courtlistener-storage.s3-us-west-2.amazonaws.com/?list-type=2&prefix=bulk-data/
aws s3 ls s3://com-courtlistener-storage/bulk-data/ --no-sign-request

Measured sizes, 2026-06-30 snapshot:

file size carries
opinions-YYYY-MM-DD.csv.bz2 54.6 GB opinion full text
opinion-clusters-… 2.46 GB court, date_filed, case name, docket_number
dockets-… 5.01 GB docket metadata
courts-… <10 MB the court table
citation-map-… 0.52 GB citation graph

Also published: financial disclosures, judges, oral arguments, and ~2 TB of ModernBERT opinion embeddings at s3://com-courtlistener-storage/embeddings/opinions/.

Filter clusters first, then stream opinions. opinion-clusters is 22× smaller and carries the court and date. Select the cluster ids you want, then stream-decompress the 54 GB opinions file and keep only matching rows. Never materialise the opinions CSV.

Files are PostgreSQL COPY TO output: CSV, UTF-8, header row. Schema dumps are published alongside; field definitions are in the CourtListener GitHub models.py, or via an OPTIONS request to the matching API endpoint.

REST API v4

https://www.courtlistener.com/api/rest/v4/
  • search and courts work unauthenticated — 3,358 delch opinions were pulled in 206 unauthenticated calls.
  • dockets returns {"detail":"Authentication credentials were not provided."} without a token.
  • Token lives at /profile/api/ — which sits behind a "Let's confirm you are human" interstitial. That gate is the site's bot check and belongs to Free Law Project; the user clears it, not you.
  • Search type params: type=o opinions, type=r RECAP dockets.

Pace politely and back off on 429/5xx. This is a nonprofit's free service; without a token there is no quota to raise, so courtesy is the entire budget.

API Facts

  • suitNature is not normalised. The same NOS 160 appears as Stockholders Suits, 160 Contract: Stockholders Suits and 160 Stockholders Suits. Query the text (suitNature:"Stockholders Suits"), not the numeric code, or you silently lose most of the set.
  • Derivative suits are docketed under more than one NOS. "shareholder derivative" returns 1,670 under NOS 160 and 2,020 under 850 (Securities/Commodities). Filtering to 160 alone drops more than half.
  • docketNumber carries the C.A. number, which joins directly to a Delaware Chancery docket from Lex Machina or Co
Полный SKILL.md на GitHub

Установить courtlistener в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

scripts/bulk_fetch.pyscripts/bulk_fetch_test.py

FAQ

Что делает скилл courtlistener?

Use when the user says 'CourtListener', 'Free Law Project', 'RECAP', 'PACER data', 'court opinions', 'get the opinion text', 'federal dockets', 'delch', 'Delaware Chancery opinions', 'state court opinions', 'demand futility opinions', 'judicial financial disclosures', 'oral arguments', or needs case law, dockets or opinion full text for empirical legal research. Also use when someone assumes CourtListener is federal-only, or hits a token or human-verification wall on it.

Как установить скилл courtlistener?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл courtlistener запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить courtlistener с