Skip to main content

Case Law MCP Server: Connect Claude to US Case Law

Short answer: To give Claude US case law over MCP, add the Vaquill MCP server to Claude as a connector or a local server and sign in. Claude can then resolve a reporter citation to a case, search opinion text by keyword, read each opinion in full, and list the cases that cite a decision. It finds only what is in the corpus, and a list of citing cases does not tell you whether a later court agreed. The human still checks the case name, the quote and the page number.

Written and checked on 23 November 2026. This is general information, not legal advice; check the cited opinion before relying on it.

TL;DR

  • Setup is one URL or one config block. Claude.ai, Claude Desktop and Claude Code take the connector URL https://mcp.vaquill.ai/mcp; Claude Desktop also has a local-server config that runs uvx vaquill-mcp with an API key.
  • Five tools do the case-law work. Resolve a citation, search by keyword, read the case record, read an opinion, list citing or cited cases.
  • The run below is real. Every response shown came back on 23 November 2026 and is trimmed to the fields discussed. The install commands were copied from the README and the docs, and were not re-run for this post.
  • A "resolved" citation is a match on volume, reporter and page. It does not check the case name, a quote or a pincite.

Opinion text, as of 23 November 2026

The example used throughout is Celotex Corp. v. Catrett, 477 U.S. 317 (1986), the Supreme Court's summary judgment decision. Justice Rehnquist's opinion for the Court says, at page 323: "we find no express or implied requirement in Rule 56 that the moving party support its motion with affidavits or other similar materials negating the opponent’s claim."

The text was read through the server's opinion tool, and the sentence was checked against Cornell's Legal Information Institute, which matches word for word apart from the apostrophe style. Cornell's page carries no page numbers. The page number comes from the star-page markers in the server's text, and a Library of Congress scan of the U.S. Reports puts the sentence on page 323 as well.

What would you do?
Question 1 of 4

Claude's answer says the citation in your draft brief 'resolved'. You are about to file. What is still your job?

Who this is for and what you need

You use Claude, or another MCP client, and you want real opinions in the chat instead of citations the model recalls from training. A lawyer can follow the setup, and so can a legal-ops engineer who will paste a config block.

You need three things:

  1. An MCP-capable client. Claude Code, Claude Desktop and claude.ai custom connectors work. The README also lists Cursor, VS Code and Windsurf. Check Anthropic's connector docs for what your Claude plan allows.
  2. A way to sign in. The connector URL uses OAuth with your account and no key. Every other path uses an API key that starts with vq_key_.
  3. A credit balance. Reads that return records or opinion text are metered in credits. Coverage reads, such as the list of courts, are free. Each tool's description in your client says what it is priced per, and the free get_pricing tool lists the current credit prices, so this post quotes none.

Setup (Try it)

The steps below come from the MCP server's README and the connector docs, read on 23 November 2026. None of the commands below were run for this post, so treat them as copied, not tested. Menus and flags change, so check those pages if a step does not match your screen.

Claude.ai and Claude Desktop connector

  1. Open Claude's connector settings and choose Add custom connector. The README calls the menu Customize > Connectors and the connector docs call it Settings > Connectors.
  2. Paste the URL:
https://mcp.vaquill.ai/mcp
  1. Leave the key and header fields empty, click Connect, sign in and approve the consent screen. The docs say a key pasted into this URL is ignored.

If you would rather use a key, the README's other route is the Request headers section of the same dialog, with the header name Authorization and the value Bearer vq_key_your_key_here. The value holds Bearer and the key, not the word Authorization. That section is a beta feature enabled per account.

Claude Code

Remote, with OAuth. Run the command, then /mcp inside Claude Code to sign in:

claude mcp add --transport http --scope user vaquill https://mcp.vaquill.ai/mcp

Remote, with a key (from the README):

claude mcp add --transport http --scope user vaquill \
  https://mcp.vaquill.ai/mcp \
  --header "Authorization: Bearer vq_key_your_key_here"

--scope user registers the server for every project. The default is the current directory only.

Claude Desktop, local server

Open Settings > Developer > Edit Config and add a server entry. The README's entry for this file runs the package locally with uvx:

{
  "mcpServers": {
    "vaquill": {
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": {
        "VAQUILL_API_KEY": "vq_key_your_key_here"
      }
    }
  }
}

Quit Claude completely and reopen it. It does not reload the file. Never commit a real key.

Confirm the connection

The docs warn that a connected status is not proof. Make one free call. Ask Claude: "List the US courts you hold decisions for, with coverage, for the Supreme Court of the United States." A normal answer means the server and your identity are working. For a fuller setup walkthrough, including Cursor and VS Code, see Claude legal research MCP.

The MCP page lists the other clients.

The case-law tools

Claude picks tools by their descriptions, so you rarely type a tool name. These are the ones that matter for cases:

Name in the package source and docsName the server listed on 23 November 2026What it is for
resolve_case_citationsresolve_citationsReporter citations such as 477 U.S. 317, or a pasted document, resolved to cases. Handles Id. and short forms. Statuses: resolved, ambiguous, not_found, unparsed.
search_us_casessearch_casesKeyword search over opinion text, one result per case, with matching passages. Filters for court, state, level, date, judge, publication status and case name.
get_us_caseget_caseOne decision: court, dates, parties, reporter citations and the list of its opinion records.
get_us_opinionget_opinionThe text of one opinion, as plain text or HTML. A dissent is its own opinion.
get_case_citationsget_case_citationsThe cases a decision cites, or the cases that cite it, with a mention count.
list_us_courts, list_us_judges, get_us_judgelist_courts, list_judges, get_judgeWhich courts and judges are held. The courts list with coverage is a free read.
list_us_cases, get_us_cases_batch, get_us_opinions_batchlist_cases, batch_cases, batch_opinionsBrowse decisions without a text query, or read many by id in one call.

The first column is how the MCP package source, its README and the docs name the tools. The second is what the server listed in the session used for this post. Either way you rarely type a name, and your client shows whichever set the server you connect to publishes. The rest of this post uses the second column, because those are the names of the calls that were run.

A real run

The prompt below is a labelled hypothetical, a sentence of the kind that turns up in a draft brief:

Resolve this citation, read the lead opinion, and quote the exact words near page 323 that support the sentence. Do not paraphrase.

"The movant need not negate the opponent's claim. Celotex Corp. v. Catrett, 477 U.S. 317, 323 (1986). Id. at 325."

That prompt needs the calls below. They were made directly in a Claude Code session on 23 November 2026 with the server already connected, so the responses are real, and Claude's own narration is not shown. Responses are trimmed to the fields discussed, and the tools carry the names the server listed that day (the second column above).

1. Resolve the citation

{
  "text": "The movant need not negate the opponent's claim. Celotex Corp. v. Catrett, 477 U.S. 317, 323 (1986). Id. at 325."
}
{
  "results": [
    {
      "index": 0,
      "status": "resolved",
      "form": "full",
      "matched": "477 U.S. 317",
      "pinpoint": "323",
      "case": {
        "caseId": "USCASE_F37113807CFB537D8616",
        "caseName": "Celotex Corp. v. Catrett, Administratrix of the Estate of Catrett",
        "court": { "courtId": "US_FED_SCOTUS", "name": "Supreme Court of the United States" },
        "decisionDate": "1986-06-25",
        "citations": ["91 L. Ed. 2d 265", "106 S. Ct. 2548", "477 U.S. 317", "4 Fed. R. Serv. 3d 1024", "54 U.S.L.W. 4775"]
      }
    },
    {
      "index": 1,
      "status": "resolved",
      "form": "short",
      "matched": "Id. at 325",
      "pinpoint": "325",
      "citation": "477 U.S. 317",
      "case": { "caseId": "USCASE_F37113807CFB537D8616" }
    }
  ],
  "count": 2,
  "resolved": 2,
  "distinctCitations": 1
}

Two things to notice. The Id. at 325 was tied back to the same case, because the tool resolves short forms against the citation they repeat. And the pinpoint fields only echo the page numbers the paragraph printed. Nothing compared the sentence, the case name or the pincite with the opinion. resolved means the citation matched one case.

2. Read the case record

{ "case_id": "USCASE_F37113807CFB537D8616" }
{
  "case": {
    "caseId": "USCASE_F37113807CFB537D8616",
    "docketNumber": "85-198",
    "decisionDate": "1986-06-25",
    "publicationStatus": "published",
    "opinions": [
      { "opinionId": "USOP_93002AD35EC91338D17B", "ordinal": 1, "kind": "combined" },
      { "opinionId": "USOP_1F996FFBB696394E723A", "ordinal": 2, "kind": "lead", "authorName": "Rehnquist" },
      { "opinionId": "USOP_01BE7A9CE7555110107B", "ordinal": 3, "kind": "concurrence", "authorName": "White" },
      { "opinionId": "USOP_2406F7F834254680763C", "ordinal": 4, "kind": "dissent", "authorName": "Brennan" },
      { "opinionId": "USOP_24D99E88F062D716153E", "ordinal": 5, "kind": "dissent", "authorName": "Stevens" }
    ]
  }
}

The record lists five opinion records: one marked combined, the lead opinion by Rehnquist, a concurrence and two dissents. The lead record is the one read next. Pick the opinion by its kind and author.

3. Read the lead opinion

{ "opinion_id": "USOP_1F996FFBB696394E723A", "format": "text" }
{
  "opinionId": "USOP_1F996FFBB696394E723A",
  "caseId": "USCASE_F37113807CFB537D8616",
  "courtId": "US_FED_SCOTUS",
  "kind": "lead",
  "authorName": "Rehnquist",
  "textFromOcr": false,
  "format": "text",
  "body": "*319 Justice Rehnquist\ndelivered the opinion of the Court.\nThe United States District Court for the District of Columbia granted the motion of petitioner Celotex Corporation for summary judgment ... [the full opinion text follows, with star-page markers such as *323]"
}

The body is the full opinion with page markers inline. After the marker *323, the text says what the block near the top of this post quotes. At *325 it says the moving party's burden "may be discharged" by showing that "there is an absence of evidence to support the nonmoving party’s case."

Reading the page matters here. The sentence in the hypothetical brief, that the movant need not negate the opponent's claim, tracks the Court's words at 323. The same page also says a party seeking summary judgment always carries the initial responsibility of telling the court the basis for its motion. A quote lifted alone would have dropped that. The textFromOcr flag is false for this opinion. When it is true, check any quotation against a second source.

4. Search by keyword

When you hold words and not a citation, you search. Every word must appear in the opinion, and exact phrases go in double quotes. This query used one rare word and one quoted phrase, limited to the Supreme Court and to 1986:

{
  "query": "railroaded \"premature motion\"",
  "courtIds": ["US_FED_SCOTUS"],
  "dateFrom": "1986-01-01",
  "dateTo": "1986-12-31",
  "limit": 3,
  "passages": 1
}
{
  "results": [
    {
      "case": {
        "caseId": "USCASE_F37113807CFB537D8616",
        "caseName": "Celotex Corp. v. Catrett, Administratrix of the Estate of Catrett",
        "decisionDate": "1986-06-25",
        "citations": ["91 L. Ed. 2d 265", "106 S. Ct. 2548", "477 U.S. 317", "4 Fed. R. Serv. 3d 1024", "54 U.S.L.W. 4775"]
      },
      "opinionId": "USOP_1F996FFBB696394E723A",
      "passages": [
        {
          "text": "... no serious claim can be made that respondent was in any sense “railroaded” by a premature motion for summary judgment. ...",
          "start": 12781,
          "end": 13275
        }
      ]
    }
  ],
  "count": 1,
  "hasMore": false
}

The passage text is shortened here. The start and end values are character offsets into the plain text of the opinion that matched, so you can jump to the passage in the get_opinion text. The opinionId is the record that matched, which can be a dissent. In this run it was the record marked lead.

The search hit confirms the words appear in that opinion. It does not tell you what the Court held, and it did not check any quote in a brief.

What it cannot do

These are the limits that matter in practice.

  • Keyword search only. Every word must appear in one opinion, with up to three quoted phrases. Uppercase OR and NOT, a leading minus, wildcards and proximity operators such as /s are refused with a 422 and are not charged. Lowercase or is an ordinary word.
  • A search can be refused as too broad. The server answered some queries with invalid_query, "The search matched too much text to answer in time", and refunded the credits. A broad query built from common words can get that answer even with a court and a start date set. The message says to narrow the query: add a court, a date range, a rare word or an exact phrase. A single refusal is not final, though: on 23 November 2026 the railroaded query above was refused once and answered on the next attempt. An empty page, by contrast, is charged.
  • A citing list shows who cited a case. get_case_citations shows which later cases cite a decision and how often. It does not say whether they followed it, limited it or criticized it. To learn whether a case is still good law, read the later cases that matter.
  • Trial-court cases often have no reporter citation. A reporter citation is held for nearly every supreme-court case and for far fewer trial-court cases. A district-court slip opinion often will not resolve by citation. Search it by court, date, docket number or case name instead.
  • What the two main statuses mean. A resolved citation does not verify the case name, the quote or the pincite. A not_found result does not mean a case is fake. It can also mean the cite is typed wrongly or the case has no reporter citation in the data.
  • The same decision can appear as more than one case record. The case law docs say some cases appear twice or more, and advise matching on citation and docket number before you count or display them. Check for repeats before you count cases.

Other options

More than one case law MCP server exists. Free Law Project announced a CourtListener connector for Claude on 12 May 2026. Its announcement, read on 23 November 2026, says the connector gives Claude access to case law, PACER and RECAP dockets, citation networks, oral arguments, judge data, alerts and citation verification, and that it "uses your API access on the CourtListener platform." Our own CourtListener MCP setup guide walks through it.

Other servers exist too. They differ in what they cover, how you sign in and what a call costs, so compare those three things before you pick. For a wider look at what Claude can and cannot do on legal work, see how to use Claude for legal research.

What goes wrong

  • The tools do not appear. In Claude Desktop, quit the app fully rather than closing the window, and check that uvx --version runs in a terminal. A stray character in the JSON config breaks the whole file.
  • Every call fails after a connect. The docs say this means the connection has no identity. Reconnect and finish the consent screen.
  • A 402 on every call. The credits ran out.
  • Rate limits. A 429 means you were rate limited. The docs ask clients to honor Retry-After.
  • Claude writes a summary from memory. Tell it to quote the opinion text with a page marker, then check the quote against the text yourself. A summary written from memory can sit beside a real tool call and still be wrong.
  • A quote that only partly holds. The *323 sentence above is true on its own, and the neighbouring sentences add a condition. Read the whole passage before you rely on a snippet.

FAQ

What is a case law MCP server?

It is a program that lets an AI assistant such as Claude call tools over the Model Context Protocol. A case law server's tools fetch real court opinions, resolve citations and run searches, so the assistant works from text it just retrieved.

How do I add case law to Claude?

Add the MCP server as a custom connector in claude.ai or Claude Desktop, or register it in Claude Code with claude mcp add, as in the setup section. Then make one free call, such as listing the courts, to confirm it works.

Can Claude check whether a citation is real?

Claude can call the resolve tool, which matches a volume, reporter and page to a case in the corpus. A match tells you a case sits at that citation. It does not confirm the name, the quote or the pincite in your draft, and not_found does not prove a case is fake. A person reads the opinion.

Do I need an API key?

Not for the connector URL, which signs you in with OAuth. Claude Desktop's local config, the key-in-header connector option and most other clients use a key that starts with vq_key_.

Is it free?

Coverage reads such as the list of courts are free. Reads that return cases, opinions or search pages are metered in credits. Each tool's description in your client says what it is priced per, and the free get_pricing tool lists the current credit prices.

Can it search with OR or wildcards?

No. Every word you give must appear in the opinion, and you can quote up to three exact phrases. Uppercase OR and NOT, wildcards and proximity operators are refused with a 422 and no charge. Run one search per alternative.

Which clients work?

The docs say it works with any MCP client, and the README has setup for Claude.ai, Claude Desktop, Claude Code, Cursor, VS Code and Windsurf. The OAuth connector covers Claude only.

For US case law, statutes and regulations through one API key, see the US case law API.

Connect our US primary law database.
Every US statute, regulation, constitution, and executive order via REST, MCP or SQL. 6M+ sections, section-level citations, and links to the official source. Plus a free open dataset.
Updated November 23, 202618 min read

New legal AI guides, weekly.

Priyansh Khodiyar

Priyansh Khodiyar

Co-Founder & CTO

Priyansh leads engineering and AI at Vaquill AI: the pipelines that pull statutes, regulations and court rules from every US jurisdiction's official publisher, and the REST API, MCP server and open dataset that serve them.

Cookie preferences

Choose what Vaquill may use on this browser. You can change this at any time from “Cookie settings” in the footer.

Details in the Cookie Policy.