Court Listener
v0.2.1CourtListener MCP — Free Law Project's CourtListener API (v4).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_opinions
Search US court opinions from CourtListener — 8.3 million of them, with no API key and no rate limit. Covers the UNITED STATES SUPREME COURT (SCOTUS), the federal circuit courts of appeals, the federal district courts, and the state courts (71% of the corpus is state case law). THE tool for what a US court HELD, decided or ruled in a NAMED CASE — "What did the Supreme Court hold in Air France v. Saks?", "Miranda v. Arizona", "the Ninth Circuit ruling in ..." — including the treaty and statutory questions such cases turn on (Warsaw Convention, ERISA, the Fourth Amendment). Matches the cas…
| Parameter | Type | Description |
|---|---|---|
query * | string | Search keywords — strongest on party names, judges and case categories (e.g. "workers compensation", "Sotomayor"). |
court | string | A specific court code (e.g. "scotus", "ca9", "nysd"). Not available on the indexed search — supplying this falls back to a live CourtListener search. |
date_after | string | Only opinions with a real filing date (date_filed) on or after this date (YYYY-MM-DD). |
date_before | string | Only opinions with a real filing date (date_filed) on or before this date (YYYY-MM-DD). |
jurisdiction | string | Filter to state or federal case law (inferred from the reporter citation). |
limit | number | How many cases to return, 1–100 (default 10). |
search_dockets
Search US court dockets by keyword. Covers PACER and RECAP archives. Each result carries docket_id, case name, court, filing and termination dates, docket number, nature of suit, the cause of action, the assigned judge, and the PACER case id.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search keywords (e.g., "antitrust merger") |
court | string | Court filter (e.g., "nysd" for Southern District of New York) |
limit | number | How many dockets to return, 1–100 (default 20). CourtListener pages at 20, so higher values fetch additional pages. |
search_case_law
Search the FULL TEXT of US court opinions by subject matter — "qualified immunity for police dogs", "securities fraud scienter pleading standard". Searches the full text of CourtListener opinions with no API key and no rate limit, and returns the most relevant opinion ids, a relevance score and how often each case has been cited; set include_snippets for a passage around the match, or call get_opinion to read the whole thing. Use this when you know the TOPIC. To find a case by NAME use find_case; by reporter citation use lookup_citation. Phrase queries need quotes.
| Parameter | Type | Description |
|---|---|---|
query * | string | Subject matter to search for. Quote phrases: "clear and present danger". |
include_snippets | boolean | Return a passage of text around the match for each result (default false). Costs one extra fetch per result, so leave it off when you only need ids. |
limit | number | Maximum opinions to return (1-50, default 10). |
find_case
Find a US court case BY NAME and get its citations, filing date, judges and how often it has been cited. Searches 8.3 million opinions across 3,361 courts — no API key, no rate limit. Ranked by citation count, so the leading case for a name comes first. Use this when you know what the case is CALLED; use search_opinions when you only know the TOPIC.
| Parameter | Type | Description |
|---|---|---|
name * | string | Case name or a distinctive party, e.g. "Roe v. Wade" or "Sullivan". |
limit | number | Maximum cases to return (1-25, default 5). |
lookup_citation
Resolve a US reporter citation such as "410 U.S. 113" or "347 U.S. 483" to the case it refers to, with name, filing date, judges and citation count. No API key, no rate limit. Use when a brief, opinion or article cites a case by reporter and you need to know which case that is.
| Parameter | Type | Description |
|---|---|---|
citation * | string | Reporter citation: volume, reporter, page. E.g. "410 U.S. 113". |
list_case_opinions
List every opinion filed in one case (cluster) — majority, concurrences and dissents — with the opinion_id needed to read each one via get_opinion. No API key, no rate limit. Use after find_case or lookup_citation to get from a case to its readable text.
| Parameter | Type | Description |
|---|---|---|
cluster_id * | number | Cluster id from find_case or lookup_citation. |
get_opinion
Get the FULL TEXT of a US court opinion by its CourtListener opinion ID (the opinion_id returned by search_opinions). Covers 8.3 million opinions, 71% state case law — no API key needed. Returns the opinion text, the case name, the real filing date, author, citation count, whether the text came from OCR of a scan, and the data as-of date. Opinions filed after that date may fall through to live search.
| Parameter | Type | Description |
|---|---|---|
id * | number | CourtListener opinion ID (numeric) |
list_docket_filings
List the filings on a US FEDERAL district or bankruptcy court docket — every complaint, motion, order and exhibit RECAP has recorded for that case, in filing order, with the document id, entry number, filing date, page count and a link to the PDF. This is the docket sheet: what was filed, when, and by which entry number. Each filing reports whether its PDF is actually held (`pdf_available`); RECAP holds the docket text for far more filings than it holds documents, so treat a filing with no PDF as a real filing whose document nobody has purchased yet, not as a missing record. Takes the docket…
| Parameter | Type | Description |
|---|---|---|
docket_id * | number | Docket id from search_dockets (the docket_id field). |
limit | number | Maximum filings to return (default 20). |
get_docket_filing
Get one filing from a US federal court docket by its document id — the entry description as the clerk wrote it, the filing date, page count, the docket_id it belongs to, a text excerpt where the document has been scanned, and a direct PDF link. Use after list_docket_filings or search_court_filings to read a specific document. Returns pdf_available false when RECAP has the docket entry but not the document itself.
| Parameter | Type | Description |
|---|---|---|
document_id * | number | RECAP document id, from list_docket_filings or search_court_filings. |
search_court_filings
Search the TEXT of US federal court filings — complaints, motions, briefs, orders and exhibits from PACER as archived in RECAP, roughly 9.7 million documents. Use this to find what was actually argued or ordered in litigation ("trade secret misappropriation", a company named as a defendant, a specific contract term), as opposed to the appellate opinions that search_case_law covers. Returns the filing description as the clerk wrote it, the filing date, a matching text excerpt, a PDF link where the document is held, and the docket_id to read the rest of that case with list_docket_filings. Quot…
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text. Quote a phrase for an exact match. |
court | string | Optional court code to narrow to, e.g. "cand" or "txsd". |
limit | number | Maximum filings to return (default 20). |
find_case_patents
Patent litigation cross-reference: a named US district-court case to its docket, its asserted patent NUMBERS, and its defendants. Pass a case name (e.g. "TurboCode LLC v. Quectel Wireless Solutions") or a docket_id already known from search_dockets. Patent numbers come ONLY from text CourtListener/RECAP already indexes — the clerk's own docket-entry descriptions (e.g. an exhibit filed as "United States Patent No. 6,813,742") and the text of any document someone else has already purchased from PACER — never from buying a PACER document. Each patent number says exactly which filing it was fo…
| Parameter | Type | Description |
|---|---|---|
case_name | string | Case name, e.g. "TurboCode LLC v. Quectel Wireless Solutions". Required unless docket_id is given. |
court | string | Optional court filter when searching by case_name (e.g. "txed" for E.D. Texas). |
docket_id | number | Docket id already known from search_dockets. Skips the case-name lookup. |
filing_limit | number | How many docket filings to scan for patent numbers (default 50, max 100). |