Mahender22

Legal MCP — AI skill for Claude Code

AI community

The first comprehensive US legal MCP server -- case law, citations, practice management, and court filings for AI assistants.

How to install Legal MCP

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Mahender22/legal-mcp and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Legal MCP does

The first comprehensive US legal MCP server -- case law, citations, practice management, and court filings for AI assistants.

Alternatives in AI

  • Graphmind — Local-first code intelligence for AI assistants 213 ★
  • Human In The Loop MCP Server — A powerful MCP Server that enables AI assistants like Claude to interact with humans through intuitive GUI dia 159 ★
  • Agentii Investment Intelligence — Claude-type skills for institutional equity research — 25 AI agent skills with SEC filings, XBRL financials, e 153 ★

README

LegalMCP

[![CI](https://github.com/Mahender22/legal-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Mahender22/legal-mcp/actions/workflows/ci.yml) [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://python.org) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) [![PyPI](https://img.shields.io/pypi/v/legal-mcp.svg)](https://pypi.org/project/legal-mcp/)

**The first comprehensive US legal MCP server for AI assistants.**

Connect Claude, GPT, Cursor, or any MCP-compatible AI to 4M+ US court opinions, Clio practice management, and PACER federal filings. Research in seconds, not hours.


30-Second Demo

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

LegalMCP:  Found 52 results. Top case:

  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

Why LegalMCP?

Traditional Research AI + LegalMCP
Find relevant cases 45-90 min < 30 sec
Trace citation history Open Westlaw, click around "Who cited this case?"
Pull client billing Log into Clio, navigate menus "Total hours on Henderson?"
Monthly cost $200-400 (Westlaw/Lexis) Free

Quick Start

Install

We recommend using a virtual environment to avoid conflicts with other packages:

# Create and activate a virtual environment
python -m venv legal-mcp-env

# Windows
legal-mcp-env\Scripts\activate

# Mac/Linux
source legal-mcp-env/bin/activate

# Install
pip install legal-mcp

Or install from GitHub:

pip install git+https://github.com/Mahender22/legal-mcp.git

Run

Want to try it without API keys? Enable demo mode first (optional):

# Mac/Linux
export LEG