legalcite-mcp
MCP server that verifies legal case citations against real court records (CourtListener) and flags hallucinated/fake or misattributed cites — so AI agents stop citing cases that don't exist.
Tool
verify_citations(text: string)
Pass any text containing legal citations (a paragraph, a brief, an AI-drafted answer). Detects every case citation (e.g. 410 U.S. 113) and checks each against real court records. Returns, per citation:
- real — the case exists and (if a name was given) matches.
- not-found — no such case; likely hallucinated. Don't rely on it.
- mismatch — the citation is real, but the case name in the text is wrong.
Always run this before relying on or filing an AI-generated legal citation.
Verifies citation existence/metadata only — not legal correctness or good-law status. Not legal advice.
Install
{
"mcpServers": {
"legalcite": {
"command": "npx",
"args": ["-y", "legalcite-mcp"],
"env": { "LEGALCITE_API_KEY": "lk_… (optional, Pro tier)" }
}
}
}
Or run from source: node mcp/server.js. Set LEGALCITE_BASE to target a specific deployment (default https://legalcite-one.vercel.app).
Pricing
Free: 20 checks/day (no key). Pro: 2,000/day with an API key — see https://legalcite-one.vercel.app/pricing.html
Data from CourtListener (Free Law Project).