Find a case
You open Westlaw, try a few different query phrasings, and skim through dozens of results. 45 to 90 minutes per question.
You already pay $200-400/month for legal research. Here's a way to do most of it from chat — free, MIT, runs on your laptop.
Honestly I tend to just pay it, the charges add up but I don't have the bandwidth to fight every renewal. Most days I'm running the same five searches I ran yesterday and last week.
You open Westlaw, try a few different query phrasings, and skim through dozens of results. 45 to 90 minutes per question.
LegalMCP works with Claude Desktop, Claude Code, Cursor, Codex, Gemini, Windsurf, OpenClaw, and Hermes — any MCP-compatible AI client. Get it running in seconds.
Pre-configured environment, OAuth handled for you. No command-line work.
Install on ElasticFlow →Managed auth · No laptop setup.
Managed auth
Copy a config snippet into your AI client and restart.
{
"mcpServers": {
"legal-mcp": {
"command": "/path/to/legal-mcp-env/bin/legal-mcp",
"env": { "LEGAL_MCP_DEMO": "true" }
}
}
}Restart Claude Desktop after pasting.
Start with demo mode (LEGAL_MCP_DEMO=true) — works without any keys. Switch to real mode when you're ready.
Rate limits are generous even without a token. Sign up at courtlistener.com/api/rest-info for higher limits.
Required if you want the 7 Clio tools. Create an OAuth app in Clio's developer portal; paste CLIO_TOKEN into .env.
Required for the 3 PACER tools. PACER_USERNAME + PACER_PASSWORD — your regular PACER account works.
| Scope | Why this MCP needs it |
|---|---|
courtlistener:read | Search opinions and dockets. No write access possible — CourtListener is read-only. |
clio:oauth | Per-user OAuth, scoped to Clio's read permissions. No matter creation, no billing edits. |
pacer:account | PACER does not support scoped tokens — full account credentials required. Treat as sensitive. |
~7 min first time
MIT · v0.1.0 · last release 25 days ago
Find Supreme Court cases about Fourth Amendment and cell phone location data
Carpenter v. United States, 585 U.S. 296 (2018)
The Court held that accessing historical cell-site location information constitutes a search under the Fourth Amendment, requiring a warrant supported by probable cause.
→ 127 cases cite this opinion · full text: courtlistener.com/opinion/4578834
You click through Westlaw's citator one page at a time and copy the citations into a spreadsheet. Easy to lose the thread.
Who cited Carpenter v. United States?
127 citing opinions, newest first
• Lange v. California, 594 U.S. 295 (2021) • Tuggle v. United States, 596 U.S. 16 (2022) • United States v. Beverly, 943 F.3d 225 (5th Cir. 2019) + 124 more, each with reporter cite and jurisdiction.
Tap any result to pull the full opinion text into the chat.
You stop your research, log into Clio, click through four menus, filter by date, and export. Then you're back where you started.
Total hours on the Henderson matter this month?
47.5 hours billed in April
Sourced from your Clio time entries: • Maya Patel — 28.0h • Tom Reed — 19.5h Across 14 entries, all marked billable.
Reads only — LegalMCP never edits Clio matters or billing.
You remember your PACER password, search by case number, and pay 10 cents a page for anything you actually want to read.
Show me the docket for case 1:23-cv-04567 (D. Md.)
14 docket entries — most recent first
• 2026-04-22 — Defendant's Motion to Dismiss • 2026-04-15 — Order on Pretrial Conference • 2026-04-08 — Plaintiff's Response Brief + 11 earlier entries.
Listings free; document bodies still billed at $0.10/page by PACER.
US court opinions indexed
CourtListener federal + state appellate
Westlaw subscription replaced
Typical solo / small-firm research budget
Per case-law question
Median chat response in demo mode
Claude does the lookup, surfacing, and citation. You still judge what's relevant, draft your argument, and apply the law.
Everything Claude needs to find, read, and cite US case law in chat — without opening Westlaw.
Search 4M+ US court opinions by topic, court, or date range.
Pull the entire opinion text into the chat.
Parties, judges, and the procedural history of a case.
Pull every opinion that cites a specific case, newest first.
Pull every case the current opinion cites.
Pull Bluebook citations out of a brief, motion, or memo.
All 400+ US courts with their reporter codes.
Translate reporter shorthand (U.S., F.3d, S.Ct., ...) into the full name.
search_case_law · get_case_details · get_case_record · find_citing_cases · find_cited_cases · parse_legal_citations · list_available_courts · list_reporter_abbreviations
Mata v. Avianca was about lawyers citing cases that didn't exist — the AI hallucinated them. LegalMCP doesn't generate cases. It pulls real opinions from CourtListener's database (4M+ federal and state appellate opinions). Every result includes a verifiable courtlistener.com link. Always click through to confirm a citation before filing — that's the same diligence you'd apply to any research tool.
— Mata v. Avianca, S.D.N.Y. 2023 (sanctions order)Every result returned by LegalMCP contains a CourtListener URL — click it. If the link opens the real opinion, the cite is real. If the link 404s or the case name doesn't match, the AI hallucinated and ignored the tool result. For PACER results, the docket number is verifiable on pacer.uscourts.gov directly.
— from r/Lawyertalk hallucination concernsHonest answer: depends on your work. For general US case-law search and citation tracing, most firms won't. CourtListener's free tier covers federal + state appellate opinions — 60-80% of typical research. For proprietary headnotes, KeyCite/Shepard's authority signals, and some state-specific niche treatises, you may still want a paid subscription. Check your malpractice policy for any specific tool requirements.
— from r/Lawfirm thread on Westlaw cost (247 upvotes)Your queries go to your AI client (Claude / Cursor / etc.) per their privacy policy. ElasticFlow runs LegalMCP in our encrypted environment and proxies API calls to CourtListener / Clio / PACER. We log only metadata (which tool was called, when), never the content of opinions, matters, or filings. Your Clio OAuth token and PACER credentials are encrypted at rest, scoped per workspace, and never logged.
LegalMCP is US-only today. CourtListener covers US federal + state appellate opinions; PACER is US federal courts. Non-US jurisdictions are out of scope.
PACER's per-page document fee ($0.10/page) is unchanged — it's billed by PACER directly, not by LegalMCP. Search and listing are free; only document body downloads are billed. You can configure a per-conversation PACER budget in your ElasticFlow workspace settings to cap costs.
— from a Hacker News thread on PACER costsInitial public release. 18 tools across CourtListener, Clio, PACER. Demo mode and full-auth paths documented.