LawDiver MCP

Pesquise opiniões jurídicas verificadas em 10 milhões de casos, além de estatutos, impostos e trabalhistas.

Documentação

A legal MCP server your AI can actually cite

The LawDiver MCP server puts 10M+ verified U.S. opinions inside your AI assistant. Install the official ChatGPT app or connect Claude from its directory — then the assistant searches, reads, and cite-checks against the real corpus instead of recalling authority from memory.

Create a free account

Setup guides — official connectors

ChatGPTOfficial app ChatGPT setup guide

ClaudeOfficial app Claude setup guide

Specialty MCP guides (separate servers)

Claude Tax directory Claude Tax setup ChatGPT Tax Claude Trademark directory Claude Trademark setup ChatGPT Trademark

Why connect an opinion database at all?

A general-purpose model asked for a citation will produce something that looks like one. Courts have sanctioned lawyers over exactly that. An MCP connection changes where the authority comes from: instead of recalling a case, the assistant queries a database of real opinions and quotes what it finds — and you can follow every cite back to the full text.

What your assistant can do

Three tools, the same ones the REST API exposes, called by the model as it works.

Search cases

Semantic, boolean, and citation search across federal and state opinions, scoped by jurisdiction and court. Boolean exclusion is NOT, BUT NOT, or %. The assistant gets the passage that made each case relevant, not just a title.

Retrieve an opinion

Pull the full text and structured metadata — court, dates, holdings, citations — so the model reasons over the actual decision instead of a summary of it.

Check a citation

Confirm a case citation exists and report treatment, or verify specialty forms (Rev. Rul.) against held corpora. Specialty hits return authorityCoverage instead of a case candidate.

Stay inside your jurisdiction

Scope a session to one state, one circuit, or the U.S. Supreme Court, and the assistant cannot wander into authority that does not bind your court.

How it works

  1. 1 ### Create an account

    Sign up with email and a password. You get an API key for editors and CLIs; Claude.ai uses OAuth Connect with the same account.

  2. 2 ### Add LawDiver to your assistant

    ChatGPT: Install the official app from its ChatGPT listing. Claude.ai: Connect from the Claude directory (OAuth). Every other MCP client: use endpoint https://lawdiver.com/mcp with an API key header. Full per-assistant steps are below.

  3. 3 ### Ask a legal question

    The assistant decides when to search, read, or cite-check. You see which tool it called and what came back — the research is auditable, not a black box.

  4. 4 ### Follow the authority

    Every result carries the case name, citation, court, and date, and links to the full opinion on LawDiver so you can verify before you rely on it.

Prefer to call it yourself?

The MCP tools wrap the LawDiver API. The developer reference covers authentication, every endpoint and field, error codes, idempotency, and runnable examples.

See the API Read the documentation

LawDiver Enterprise — database queries for Claude or any other system, on its own endpoint. The database index lists what that database holds, by year.

Which agent are you using?

Choose your agent for the best setup instructions.

  • OCOpenClaw
  • HAHermes Agent
  • CClaude.ai
  • GPTChatGPT
  • PxPerplexity
  • CCClaude Code
  • CxCodex
  • GGrok Bot
  • OOpenCode
  • CuCursor
  • …Other
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://lawdiver.com/#organization","name":"LawDiver","legalName":"LawDiver LLC","alternateName":["LawDiver Legal Research","LawDiver LLC"],"url":"https://lawdiver.com/","address":{"@type":"PostalAddress","streetAddress":"1309 Coffeen Avenue, STE 1200","addressLocality":"Sheridan","addressRegion":"WY","postalCode":"82801","addressCountry":"US"},"logo":{"@type":"ImageObject","@id":"https://lawdiver.com/#logo","url":"https://lawdiver.com/logo.png","caption":"LawDiver"},"image":{"@id":"https://lawdiver.com/#logo"},"description":"LawDiver is free legal research and cheap legal research — a free Westlaw alternative, a cheap Westlaw alternative, a free Lexis alternative, and a cheap Lexis alternative. CiteCheck checks citations. Search covers 10 million+ U.S. opinions, more than 1,300 United States treaties, and more than 8,000 pattern jury instructions, with full text and PDFs and no login.","areaServed":{"@type":"Country","name":"United States"},"knowsAbout":["CiteCheck","Legal research","U.S. court opinions","Legal citations","Citation checking"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","email":"contact@lawdiver.com","areaServed":"US","availableLanguage":"English"}},{"@type":"WebSite","@id":"https://lawdiver.com/#website","url":"https://lawdiver.com/","name":"LawDiver","alternateName":["LawDiver","CiteCheck","LawDiver Legal Research"],"description":"LawDiver is free legal research and cheap legal research for everyone — citizens, self-represented litigants, students, journalists, and lawyers. Search more than 10 million federal and state court opinions, more than 1,300 United States treaties, and more than 8,000 pattern jury instructions, read the full text, and download the official PDF, with no subscription and no login. LawDiver is a free Westlaw alternative, a cheap Westlaw alternative, a free Lexis alternative, and a cheap Lexis alternative for primary law. CiteCheck checks whether a citation is still good law. The legal research API is free during the current rollout.","publisher":{"@id":"https://lawdiver.com/#organization"},"inLanguage":"en-US"}]}
{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://lawdiver.com/products/mcp#webpage","url":"https://lawdiver.com/products/mcp","name":"LawDiver MCP Server — Legal Research for AI Assistants","description":"Connect 10M+ verified U.S. court opinions to Claude, ChatGPT, Perplexity, Cursor, and any MCP client. The assistant searches, retrieves full text, and cite-checks against a real opinion database instead of recalling citations.","isPartOf":{"@id":"https://lawdiver.com/#website"},"publisher":{"@id":"https://lawdiver.com/#organization"},"inLanguage":"en-US","about":{"@id":"https://lawdiver.com/products/mcp#product"},"breadcrumb":{"@id":"https://lawdiver.com/products/mcp#breadcrumb"}},{"@type":"BreadcrumbList","@id":"https://lawdiver.com/products/mcp#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://lawdiver.com/"},{"@type":"ListItem","position":2,"name":"Products","item":"https://lawdiver.com/products/api"},{"@type":"ListItem","position":3,"name":"MCP Server","item":"https://lawdiver.com/products/mcp"}]},{"@type":"SoftwareApplication","@id":"https://lawdiver.com/products/mcp#product","name":"LawDiver MCP Server","description":"A Model Context Protocol server that gives any MCP-capable AI assistant three tools over a verified U.S. opinion corpus: case search, opinion retrieval, and citation checking. Uses the same API key as REST.","url":"https://lawdiver.com/products/mcp","applicationCategory":"BusinessApplication","applicationSubCategory":"Legal Research","operatingSystem":"Web browser","provider":{"@id":"https://lawdiver.com/#organization"},"featureList":["Case search over federal and state opinions","Full opinion retrieval with structured metadata","Citation verification with treatment signals (cases) and specialty tax resolve","Good-law status by case id","Jurisdiction scoping per session","Works with Claude, ChatGPT, Perplexity, and Cursor","Hosted Streamable HTTP at /mcp — no local install"]},{"@type":"FAQPage","@id":"https://lawdiver.com/products/mcp#faq","mainEntity":[{"@type":"Question","name":"What is an MCP server for legal research?","acceptedAnswer":{"@type":"Answer","text":"Model Context Protocol is an open standard that lets an AI assistant call external tools. The LawDiver MCP server exposes case search, opinion retrieval, and citation checking as tools, so the assistant queries a real database of court opinions instead of generating a citation from memory."}},{"@type":"Question","name":"Does this stop AI from hallucinating case citations?","acceptedAnswer":{"@type":"Answer","text":"It changes where the authority comes from. Rather than recalling a case, the assistant queries a database of real opinions and quotes what it finds, and every result carries the case name, citation, court, and date plus a link to the full opinion so you can verify before relying on it."}},{"@type":"Question","name":"Which AI assistants work with the LawDiver MCP server?","acceptedAnswer":{"@type":"Answer","text":"LawDiver is an officially approved ChatGPT app (install from the ChatGPT listing) and is listed in the Claude directory, plus Perplexity (OAuth), Claude Code, Cursor, Codex, OpenCode, and any client that speaks MCP over Streamable HTTP. ChatGPT and Claude setup guides are linked at the top of this page; pick any other agent below for its steps."}},{"@type":"Question","name":"How do I authenticate — API key or OAuth?","acceptedAnswer":{"@type":"Answer","text":"The ChatGPT app and Claude.ai use OAuth: open the listing, click Install/Connect, sign in to LawDiver and click Allow — no API key paste. Perplexity also uses OAuth (leave Client ID/Secret empty, choose Streamable HTTP; API key only if that sign-in does not finish). Cursor, Claude Code, Codex, and other MCP clients send Authorization: Bearer with your LawDiver API key. Perplexity connectors need Pro/Max/Enterprise. All paths use the same account and usage meter. Do not chat in a ChatGPT custom connector manually — use the official app."}},{"@type":"Question","name":"Do I need a separate API key for MCP and the REST API?","acceptedAnswer":{"@type":"Answer","text":"No. One key covers REST and header-based MCP clients. The official ChatGPT app and Claude.ai Connect use OAuth and never require pasting a key; keys remain available for editors and CLIs."}},{"@type":"Question","name":"Can check_citation verify IRS cites?","acceptedAnswer":{"@type":"Answer","text":"Yes. The same tool verifies specialty administrative forms (Rev. Rul., PLR) against held corpora. Specialty hits return authorityCoverage with a stable authorityKey and empty candidates — see /docs/api#citecheck-specialty."}}]}]}