Server data from the Official MCP Registry
Verify legal case citations against real court records; flag fake/hallucinated cites.
About
Verify legal case citations against real court records; flag fake/hallucinated cites.
Security Report
LegalCite is a well-designed citation verification service with appropriate security patterns for its use case. The MCP server is a thin, read-only client over a hosted API with no dangerous patterns. Authentication is optional (free tier by IP, Pro by API key), permissions are narrowly scoped to HTTP calls to CourtListener, and the code is clean with proper error handling. Minor findings around token handling and environment variable logging do not materially affect the security posture. Supply chain analysis found 2 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue (1 critical, 0 high severity).
8 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
Unverified package source
We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.
What You'll Need
Set these up before or after installing:
Environment variable: COURTLISTENER_TOKEN
Environment variable: REDIS_URL
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-kevinx702-legalcite": {
"env": {
"REDIS_URL": "your-redis-url-here",
"COURTLISTENER_TOKEN": "your-courtlistener-token-here"
},
"args": [
"-y",
"legalcite"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
LegalCite
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.
- Live: https://legalcite-one.vercel.app
- Verify API:
GET /api/verify?text=<paragraph>(or?citation="410 U.S. 113"; alsoPOST {text}) - MCP:
verify_citations(text)→ npmlegalcite-mcp - Data: CourtListener (Free Law Project) — free public U.S. court records.
Verdicts
| 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 |
How it resolves
- Token-free (default): reporter-aware regex extracts citations → each resolved via CourtListener's public
/c/{reporter}/{vol}/{page}/finder (redirects to the opinion when real, 404 when not). - Token mode (optional): set
COURTLISTENER_TOKEN(free) → uses CourtListener'scitation-lookupendpoint (Eyecite extraction + full metadata).
It never fabricates — an unresolved citation is reported not-found, never invented.
Layout
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)
Config (Vercel env — all optional for the MVP)
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.
Pricing
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.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
