Verify legal case citations against real court records; flag fake/hallucinated cites.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-kevinx702-legalcite": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Stop your AI from citing fake cases. LegalCite checks every case citation in legal text against real court records (CourtListener) and flags hallucinated/fake or misattributed cites. A REST API + an MCP server.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in legal
87 tools for Korean law — statutes, precedents, ordinances, interpretations | MCP Server · CLI · npm
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
Query 750+ Swedish statutes, EU cross-references, case law, and preparatory works
956k Swiss court decisions: full-text search, citation graph, statute lookup (DE/FR/IT)
MCP Security Weekly
Get CVE alerts and security updates for io.github.Kevinx702/legalcite and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Stop your AI from citing fake cases. LegalCite checks every case citation in legal text against real court records (CourtListener) and flags hallucinated/fake or misattributed cites. A REST API + an MCP server.
GET /api/verify?text=<paragraph> (or ?citation="410 U.S. 113"; also POST {text})verify_citations(text) → npm legalcite-mcp| verdict | meaning |
|---|---|
real | the case exists and (if named) the name matches |
not-found | no such case — likely hallucinated |
mismatch | citation is real, but the case name in the text is wrong |
/c/{reporter}/{vol}/{page}/ finder (redirects to the opinion when real, 404 when not).COURTLISTENER_TOKEN (free) → uses CourtListener's citation-lookup endpoint (Eyecite extraction + full metadata).It never fabricates — an unresolved citation is reported not-found, never invented.
api/verify.js REST endpoint (quota + verify)
api/health.js liveness + CourtListener check
api/checkout|key|stripe-webhook.js Stripe Pro billing
lib/verify.js citation extraction + CourtListener resolution (core)
lib/store.js Redis quota + key store (fail-open without REDIS_URL)
lib/stripe.js lazy Stripe client
mcp/server.js MCP stdio server — verify_citations tool
public/ landing, docs, pricing, llms.txt
scripts/setup-stripe-product.js one-time Stripe product/price (test key)
COURTLISTENER_TOKEN — free; enables richer citation-lookup + metadata.REDIS_URL — Upstash; enables hard daily quota + caching (fail-open without it).STRIPE_SECRET_KEY / STRIPE_PRICE_ID / STRIPE_WEBHOOK_SECRET — Pro billing.Free: 20 checks/day by IP. Pro: 2,000/day, $19/mo, 7-day trial.
Not legal advice. Verifies citation existence/metadata only — not legal correctness or good-law status.