Skip to main content
Glama

United States Legal Research MCP Server (us-legal-mcp)

English Documentation

Model Context Protocol (MCP) server providing live, read-only access to United States (US) legislation, official gazettes, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts, including HTML and PDF full-text extraction), and statutory citation verification across all major AI clients (ChatGPT Desktop, OpenAI Codex CLI, Claude Desktop, Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, Perplexity, and Continue.dev).


Interactive Desktop Setup (Select Your AI Assistant)

This package includes a graphical installer for legal practitioners and non-technical users that lets you select which AI application(s) you use:

  1. Download: Click <> Code at the top right of this repository, select Download ZIP, and extract the folder to your computer.

  2. Run the Setup Utility:

    • Windows: Double-click Click_Here_To_Install_Windows.bat

    • macOS: Double-click Click_Here_To_Install_Mac.command

  3. Select Your AI Client(s) & Connect: Check the box(es) for the AI assistant(s) installed on your computer (ChatGPT Desktop & OpenAI Codex CLI, Claude Desktop & Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, or Perplexity / Continue.dev), click Install to Selected AI Clients, and restart your selected AI application.

System Integrity Note: The setup utility operates strictly in read-only mode with respect to your personal files and documents. It installs an isolated Python runtime inside the extracted folder and registers the server entry only in the AI client configuration files you select.


Multi-Tier Judicial Hierarchy & Live Indexed National Archives

This server performs live queries across the full judicial hierarchy and official legal archives of United States, extracting full text from both HTML pages and official court/gazette PDF judgments:

Judicial Tier

Covered Courts & Tribunals

Tier 1 — First Instance

94 U.S. Federal District Courts, U.S. Bankruptcy Courts, U.S. Court of International Trade & State Trial/Superior Courts

Tier 2 — Regional / Cantonal / Appellate

13 U.S. Circuit Courts of Appeals (1st–11th, D.C., Federal Circuit) & 50 State Intermediate Appellate Courts

Tier 3 — Supreme & Constitutional

Supreme Court of the United States (SCOTUS) & 50 State Supreme Courts / Courts of Last Resort

Official Portals & Live Indexed Domains

  • National Legislation & Official Gazette: United States Code (uscode.house.gov/browse.html) & Electronic Code of Federal Regulations (eCFR API) — https://uscode.house.gov/browse.html

    • Indexed Legislation Domains: uscode.house.gov, ecfr.gov, congress.gov, govinfo.gov, law.cornell.edu

  • Court Decisions & Jurisprudence Archives: CourtListener / Free Law Project Multi-Tier Federal & State Database (courtlistener.com) — https://www.courtlistener.com

    • Indexed Judicial & Open Case Law Domains: courtlistener.com, supremecourt.gov, justia.com, law.cornell.edu


Available MCP Tools

Tool

Description

search_legislation

Searches enacted statutes, codes, decrees, and official gazette publications in United States.

search_case_law

Searches national jurisprudence and open judicial archives for United States.

search_tiered_court_decisions

Filters case law specifically by judicial instance (first_instance, appellate_regional, supreme_constitutional) or specific regional/cantonal/district court.

list_court_hierarchy

Returns the complete 3-tier court structure and supported regional court filters for United States.

get_legal_document_markdown

Retrieves full statutory or judicial texts (both HTML and official .pdf court judgments) and converts them into clean Markdown.

verify_citation

Validates statutory and case law citations against official registries.


{
  "mcpServers": {
    "us-legal-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "https://github.com/jurisatlas/us-legal-mcp/archive/refs/heads/main.zip",
        "us-legal-mcp"
      ]
    }
  }
}

Available Tools

6 tools
list_court_hierarchyList Court HierarchyA

Return the complete step-by-step multi-tier judicial hierarchy for United States (US): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals.

Inputs: no named parameters. Returns: object

search_case_lawSearch Case LawB

Search United States (US) court decisions and binding precedents via CourtListener REST API v4 (Free Law Project - Federal & 50 States) and open national judicial archives (Supported courts: scotus (US Supreme Court), ca1..ca11, cadc, cafc (Federal Circuit Courts), State Supreme Courts (50 States)).

Inputs: query (required), court, limit. Returns: object

search_legislationSearch LegislationB

Search United States (US) national legislation (statutes, acts, codes, regulations, official gazette) via United States Code (uscode.house.gov/browse.html) & Electronic Code of Federal Regulations (eCFR API) and live national legal archives.

Inputs: query (required), year, limit. Returns: object

search_tiered_court_decisionsSearch Tiered Court DecisionsB

Search court decisions in United States (US) filtered by specific judicial tier or regional/cantonal/appellate court. Supports Tier 1 (first_instance), Tier 2 (appellate_regional — including Cantonal/Regional/County/Circuit courts), and Tier 3 (supreme_constitutional), or a specific sub-portal key from list_court_hierarchy.

Inputs: query (required), tier, limit, sub_court. Returns: object

verify_citationVerify CitationA

No-Hallucination Citation Verifier for United States (US). Validates format and live existence of legal citations (e.g., '42 U.S.C. § 1983, 17 U.S.C. § 107, 410 U.S. 113, or 21 C.F.R. § 314.50') against official United States and ECLI/ELI registries to prevent AI-hallucinated citations.

Inputs: citation (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 6 tools

    Disambiguation3/5

    The two search tools overlap significantly: search_case_law and search_tiered_court_decisions both return US court decisions, differing only by tier filtering. Descriptions help an attentive agent choose correctly, but a naive agent could easily pick the wrong one or run both redundantly; the remaining four tools (legislation search, document fetch, hierarchy listing, citation verification) are clearly distinct.

    Naming Consistency4/5

    All tools use snake_case with a verb_noun shape (search_legislation, get_legal_document_markdown, list_court_hierarchy, verify_citation), which is predictable. The only wrinkle is that search_case_law and search_tiered_court_decisions are not parallel in structure despite being sibling operations, which slightly weakens the pattern.

    Tool Count5/5

    Six tools is well-scoped for a legal research server, with each tool covering a distinct capability (statute search, case search, full-text retrieval, court structure, tiered search, citation check). No filler or trivially redundant tools beyond the tiered-search variant.

    Completeness4/5

    The surface covers the core research lifecycle: find legislation, find cases (including by tier), fetch full text, understand court structure, and verify citations to avoid hallucination. Minor gaps remain, such as direct lookup by docket/citation without knowing a URL, or citation-graph/subsequent-history checking, but these are workable around get_legal_document_markdown and verify_citation.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Provides read-only access to Swiss legislation and multi-tier court decisions, enabling searches, full-text retrieval as Markdown, court hierarchy listing, and statutory or case-law citation verification across official registries.
      6
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only access to Norwegian legislation and multi-tier case law, including court-hierarchy filtering, full-text retrieval as Markdown, and verification of statutory and case-law citations against official registries.
      6
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only search of Romanian legislation and multi-tier court decisions (first instance, appellate, supreme/constitutional), retrieval of full texts as Markdown, and verification of statutory and case law citations against official registries.
      6
      MIT