us-eli-mcp
This MCP server provides read-only access to US legal data across five authoritative sources, enabling legal research with verifiable, officially-cited results.
Federal Legislation: Search and retrieve federal bills by congress session (e.g., 118th) and bill type (HR, S, HRes, etc.), and fetch full details including latest action/status.
Enacted Law Packages (GovInfo): List and retrieve published legal packages from the US Code (USCODE), CFR, Federal Register (FR), and Statutes at Large (STATUTE), including PDF/XML/TXT download links, with optional filtering by modification date.
Federal Register: Full-text search over 1M+ FR documents (1994–present), with filters for document type (rules, proposed rules, notices) and presidential documents (executive orders, proclamations). Fetch individual documents with full metadata and official citations (e.g.,
91 FR 41591). No API key required.Case Law: Full-text search over 8M+ court opinions via CourtListener — especially valuable for state courts (e.g., California, New York) but also covers federal courts. Retrieve specific opinion clusters by ID with human-readable citations (e.g.,
People v. Miranda-Guerrero, 519 P.3d 1004). No API key required.Current Code of Federal Regulations (eCFR): Full-text search over 412,846 sections of the live, up-to-date CFR, and retrieve point-in-time amendment history for specific sections (e.g., 15 CFR § 744.3). No API key required.
Every result includes a lex_uri (resolvable API URL), human_readable_citation (official legal citation), and source_url (public page).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@us-eli-mcp search for bills about healthcare in the 118th Congress"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
us-eli-mcp
MCP server for US law with verifiable citations. Five sources behind ten read-only tools:
Congress.gov API - the federal legislative process: bills as they move through committees and floor votes.
GovInfo API - enacted law text as published packages: US Code, Statutes at Large, CFR annual editions, Federal Register issues.
Federal Register API - full-text search over 1,003,504 FR documents (1994-2026, live-verified 2026-07-07), including 8,513 presidential documents (1,550 executive orders). Keyless.
CourtListener search API - full-text search over 8,294,123 court opinions (live-verified 2026-07-07). The headline value is STATE case law (California, New York, Texas, ...), which no federal source covers. Keyless, ~5 requests/min anonymous.
eCFR API - the CURRENT Code of Federal Regulations: section-level full-text search over 412,846 sections plus per-section amendment history. Keyless.
What this is not
State legislation (all 50 states) - see LegiScan, a free-tier aggregator (30,000 queries/month) not wrapped here.
A federal case-law workhorse - for heavy federal case-law research the mature MIT-licensed wrappers (blakeox/courtlistener-mcp, john-walkoe/courtlistener_citations_mcp) remain the recommendation; the case-law tools here exist primarily for state courts. See SOURCES.md.
Related MCP server: CongressMCP-full
Tools
Tool | Purpose |
| List bills by congress (e.g. |
| Full detail + latest action for one bill |
| List GovInfo packages in a collection ( |
| Metadata + download links (PDF/XML/TXT) for one package |
| Full-text search over FR documents; filter rules, notices, executive orders |
| One FR document with its official citation (e.g. |
| Full-text search over 8M+ opinions; |
| One opinion cluster by |
| Full-text search over the current CFR (eCFR) |
| Amendment history of one CFR section (e.g. 15 CFR 744.3) |
| Declare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback. |
Every response carries lex_uri (a resolvable API URL), human_readable_citation
(the official convention: "H.R. 1, 118th Congress", "91 FR 41591",
"People v. Miranda-Guerrero, 519 P.3d 1004 (California Supreme Court 2022)",
"15 CFR § 744.3") and source_url (the public page). Reporter citations are
taken verbatim from the source and never fabricated; when none exists the
docket number is used instead.
Install
As a Claude plugin (Claude Code or the desktop app, needs uv); see plugin/README.md for what it sends and stores:
/plugin marketplace add matematicsolutions/us-eli-mcp
/plugin install us-eli-mcp@us-eli-mcpAs a standalone server:
pip install us-eli-mcpWindows 11 with Smart App Control
Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe
and the us-eli-mcp.exe launcher that pip writes at install time. The python.exe and
py.exe from the python.org installer are signed by the Python Software
Foundation, so running the module through the interpreter works:
python -m pip install us-eli-mcp
python -m us_eli_mcppip.exe is blocked for the same reason, so install with python -m pip, not
pip install. If python is not on PATH, use the Windows launcher: py -3 -m us_eli_mcp.
{ "mcpServers": { "us-eli-mcp": { "command": "python", "args": ["-m", "us_eli_mcp"] } } }Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.
Configuration
Env var | Default |
|
|
| reuses |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The Federal Register, CourtListener and eCFR tools need no key at all.
Network: the server talks to the five sources above and the local filesystem. Once, on first
use, it also fetches a small configuration file (us-runtime.json.gz, updated source
addresses) from this repository's GitHub Releases. That request carries no query content;
GitHub's download counter for the file is the only usage signal we see. US_ELI_RUNTIME_URL=""
turns it off; the Claude plugin ships with it off. No LLM provider, no other telemetry.
License
Apache-2.0 (code). Congress.gov, GovInfo, Federal Register and eCFR data are US government works (public domain). CourtListener data is provided by the Free Law Project.
Available Tools
11 toolsus_coverageARead-onlyIdempotent
Declare what this connector covers, how it is sourced, and what it does NOT cover.
Call this before telling a user that the law "does not contain" something, and whenever a search comes back empty: the absence may be a gap in this connector rather than in the law. Every gap carries a fallback saying where to look instead.
Returns:
Coverage with families, an as-of note, and a non-empty list of known gaps.
Inputs: no named parameters. Returns: What this connector covers, how it is sourced, and what it does not cover.
us_get_billARead-onlyIdempotent
Fetch full detail (including latest action/status) for one bill.
Inputs: number (required), congress (required), bill_type (required). Returns: object
us_get_caseARead-onlyIdempotent
Fetch one opinion cluster by its CourtListener cluster_id.
Uses the keyless search endpoint with a cluster_id:{id} field query
(the authenticated /clusters/{id}/ endpoint is deliberately not used).
Inputs: cluster_id (required). Returns: object
us_get_cfr_section_historyARead-onlyIdempotent
Fetch the amendment history (point-in-time versions) of one CFR section.
Inputs: part (required), title (required), section (required). Returns: object
us_get_code_packageARead-onlyIdempotent
Fetch metadata and content-format download links for one GovInfo package.
Inputs: package_id (required). Returns: object
us_get_federal_register_docARead-onlyIdempotent
Fetch full metadata for one Federal Register document.
Inputs: document_number (required). Returns: object
us_list_code_packagesARead-onlyIdempotent
List enacted-law packages in a GovInfo collection modified since a given date.
Inputs: collection (required), limit, start_date. Returns: object
us_search_billsARead-onlyIdempotent
List US federal bills of a given congress and bill type.
Inputs: congress (required), bill_type (required), limit. Returns: object
us_search_case_lawARead-onlyIdempotent
Full-text search over 8M+ US court opinions (CourtListener, keyless).
The headline value is STATE case law - no other tool in this server covers state courts. Federal courts are searchable too, but dedicated CourtListener MCP wrappers exist for heavy federal case-law work.
Inputs: query (required), court, limit. Returns: object
us_search_cfr_sectionsARead-onlyIdempotent
Full-text search over the CURRENT Code of Federal Regulations (eCFR, keyless).
Unlike the GovInfo CFR collection (annual-edition snapshots), the eCFR
is amended through days ago and every hit carries the exact CFR hierarchy
(title/part/section) plus an excerpt.
Inputs: query (required), limit. Returns: object
us_search_federal_registerARead-onlyIdempotent
Full-text search over Federal Register documents (1994-present, keyless).
Inputs: term (required), limit, doc_type, presidential_document_type. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct legal source and action: bills, code packages, Federal Register, case law, CFR sections, and a coverage tool. The search/get pairs are clearly separated by resource type, and even similar regulatory sources (Federal Register vs CFR) are distinct.
All tools follow the 'us_' prefix with a verb_noun pattern (search_, get_, list_). The only outlier is 'us_coverage', which uses a noun instead of verb_noun, and 'get_case' is shorter than 'get_federal_register_doc', but overall the pattern is consistent and predictable.
11 tools is well-scoped for a legal research connector covering multiple sources. Each tool serves a clear purpose, and the count is within the ideal 3-15 range, not feeling bloated or sparse.
The server provides search and retrieval for each major legal source: bills, code packages, Federal Register, case law, and CFR. The coverage tool explicitly identifies gaps and fallbacks, which mitigates incompleteness. Minor missing operations like a direct 'get CFR section' tool are workable through search and history tools.
Maintenance
Related MCP Connectors
An MCP server that provides congressional transcripts
Congress MCP — US Congress bill/law/member data via the official congress.gov API (Library of…
Access U.S. congressional data (bills, votes, members, committees) via MCP.
GovTrack MCP — federal US Congress data (free, no auth)
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceAn MCP server for the Congress.gov API that consolidates 91 operations into 6 comprehensive legislative tools that can be used by any MCP client (i.e. Claude Desktop), or MCP-compatible AI agent, to query and reason about congressional data.12 npm1JavaScriptMIT
- AlicenseAqualityCmaintenanceThe open Congress.gov MCP server. Provides comprehensive access to the Congress.gov API through 6 organized toolsets, enabling AI systems to retrieve and interact with legislative data from the United States Congress with a clean, unified interface.2439 PyPI36Sustainable Use v1.0
- FlicenseNot gradedqualityDmaintenanceThis MCP server enables interaction with the Open States API, allowing users to access legislative data from US state governments through natural language commands.-
- AlicenseNot gradedqualityDmaintenanceEnables querying U.S. legislative data from Congress.gov API using MCP resources for direct lookups and tools for searching and retrieving related data.8MIT