LegalMCP
by Mahender22· v0.1.0MITView source

Get 4M+ US court opinions, Clio, and PACER in chat — without a Westlaw subscription.

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.

Cost
$200–400/mo$0/mo
Speed
45–90 min<30 sec
Citations
60+ pages1 reply
Switching
3 apps1 chat

Who this is for

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.

from r/Lawfirm thread, 247 upvotes

How this changes your work

Find a case

Today

You open Westlaw, try a few different query phrasings, and skim through dozens of results. 45 to 90 minutes per question.

With LegalMCP
You ask

Find Supreme Court cases about Fourth Amendment and cell phone location data

Claude

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

<30 sec per question

Track citations

Today

You click through Westlaw's citator one page at a time and copy the citations into a spreadsheet. Easy to lose the thread.

With LegalMCP
You ask

Who cited Carpenter v. United States?

Claude

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.

127 citing cases in one reply

Pull billable hours

Today

You stop your research, log into Clio, click through four menus, filter by date, and export. Then you're back where you started.

With LegalMCP
You ask

Total hours on the Henderson matter this month?

Claude

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.

One conversation, no app switching

Track a federal filing

Today

You remember your PACER password, search by case number, and pay 10 cents a page for anything you actually want to read.

With LegalMCP
You ask

Show me the docket for case 1:23-cv-04567 (D. Md.)

Claude

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.

Search free; pages still billed by PACER

Works with

Proof

4M+

US court opinions indexed

CourtListener federal + state appellate

$200-400/mo

Westlaw subscription replaced

Typical solo / small-firm research budget

<30 sec

Per case-law question

Median chat response in demo mode

LegalMCP works with Claude Desktop, Claude Code, Cursor, Codex, Gemini, Windsurf, OpenClaw, and Hermes — any MCP-compatible AI client. Get it running in seconds.

Compatible withChatGPTClaude CodeClaude DesktopCodex / Codex CLICursorGeminiHermes (via Continue / Cline)OpenClawWindsurf
Install on ElasticFlow
One click. Managed auth.

Pre-configured environment, OAuth handled for you. No command-line work.

Install on ElasticFlow →

Managed auth · No laptop setup.

Managed auth

Install on your AI client
Claude Desktop · Claude Code · Cursor

Copy a config snippet into your AI client and restart.

~7 min first time

MIT · v0.1.0 · last release 25 days ago

What Claude can do

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.

Find the right case

Search 4M+ US court opinions by topic, court, or date range.

Read the full opinion

Pull the entire opinion text into the chat.

See the docket

Parties, judges, and the procedural history of a case.

Trace who cited a case

Pull every opinion that cites a specific case, newest first.

Trace what a case relies on

Pull every case the current opinion cites.

Extract citations from any text

Pull Bluebook citations out of a brief, motion, or memo.

Look up court codes

All 400+ US courts with their reporter codes.

Decode reporter abbreviations

Translate reporter shorthand (U.S., F.3d, S.Ct., ...) into the full name.

Show the 8 underlying tools

search_case_law · get_case_details · get_case_record · find_citing_cases · find_cited_cases · parse_legal_citations · list_available_courts · list_reporter_abbreviations

Common questions

Will I get sanctioned for using AI like the lawyers in Mata v. Avianca?

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)
How do I verify a citation Claude gives me through LegalMCP?

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 concerns
Do I still need Westlaw or Lexis?

Honest 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)
What happens to my queries — does ElasticFlow log client data?

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.

What about UK, EU, or other jurisdictions?

LegalMCP is US-only today. CourtListener covers US federal + state appellate opinions; PACER is US federal courts. Non-US jurisdictions are out of scope.

Why is PACER still charging me when I use this?

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 costs

What's new

  • v0.1.014-04-2026

    Initial public release. 18 tools across CourtListener, Clio, PACER. Demo mode and full-auth paths documented.