Search US Case Law
search_us_casesSearches full-text opinions from US federal and state courts by keyword or phrase, returning ranked cases with matching snippets; filter by court, state, date, judge, and publication status.
Instructions
Full-text keyword search over the opinions of US federal and state courts, best match first: one result per case, with the opinion that matched and a snippet. Use to find decisions by topic, phrase, party or judge. Narrow with courtIds (ids from list_us_courts), state, dateFrom/dateTo, publicationStatus, judgeId. For a known citation use resolve_case_citations; for statutes use search_us_statutes. Page with limit and offset while hasMore; an empty page is charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_us_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | `relevance` (default), `decision_date` (newest first), `decision_date_asc` or `cited_by`. The last three reorder the best matches, not every match, so narrow the query when order matters. | relevance |
| limit | No | ||
| query | Yes | Words, or a quoted phrase, matched against opinion text. Keyword matching, not meaning: use the opinion's own vocabulary (`qualified immunity`, not `police cannot be sued`). | |
| state | No | Two-letter state or territory code: only that state's courts. Case-insensitive (`CA` and `ca` both work); an unknown code is a 422. | |
| dateTo | No | Latest decision date, YYYY-MM-DD. Optional. | |
| offset | No | ||
| judgeId | No | Cases this judge sat on or wrote an opinion in. | |
| caseName | No | Only cases whose title contains this text, any letter case. At least 3 characters. | |
| courtIds | No | Only these courts. Combined with `state` as an intersection. | |
| dateFrom | No | Earliest decision date, YYYY-MM-DD. Optional. | |
| passages | No | How many passages of the best matching opinion each hit carries, 1 to 3 (about 500 characters each, best first). The price does not change. | |
| courtLevel | No | Only courts of this level. Combined with `courtIds`, `state` and `courtSystem` as an intersection. | |
| minCitedBy | No | Only cases cited by at least this many other cases. Applied to the first 5,000 matching opinions in the chosen order (by relevance for `cited_by`), not to every match: a highly cited case that ranks lower for the query is missed, so narrow the query when the filter must be complete. | |
| courtSystem | No | Only courts of this system. Combined with `courtIds`, `state` and `courtLevel` as an intersection. | |
| docketNumber | No | Only cases whose docket number contains this text, any letter case. At least 3 characters. | |
| Idempotency-Key | No | Optional, 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and request replays the original 2xx for 24 hours without charging again; the same key with a different request is rejected. | |
| publicationStatus | No | Only decisions with one of these publication statuses; omit for all. A result's `publicationStatus` says which one it has. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||