Server data from the Official MCP Registry
US law MCP: bills, US Code, Federal Register, executive orders, case law (state+federal), eCFR
US law MCP: bills, US Code, Federal Register, executive orders, case law (state+federal), eCFR
This is a well-architected legal research MCP server with proper authentication for sensitive APIs, comprehensive input validation, and appropriate read-only permissions. The codebase demonstrates good security practices including error handling, audit logging, and secure credential management via environment variables. Minor code quality observations exist but do not pose security risks. Supply chain analysis found 6 known vulnerabilities in dependencies (1 critical, 3 high severity). Package verification found 1 issue.
5 files analyzed · 11 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: US_ELI_API_KEY
Environment variable: US_ELI_GOVINFO_API_KEY
Environment variable: US_ELI_CACHE_DIR
Environment variable: US_ELI_AUDIT_DIR
Environment variable: US_ELI_BASE_URL
Environment variable: US_ELI_GOVINFO_BASE_URL
Environment variable: US_ELI_FR_BASE_URL
Environment variable: US_ELI_COURTLISTENER_BASE_URL
Environment variable: US_ELI_ECFR_BASE_URL
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-matematicsolutions-us-eli-mcp": {
"env": {
"US_ELI_API_KEY": "your-us-eli-api-key-here",
"US_ELI_BASE_URL": "your-us-eli-base-url-here",
"US_ELI_AUDIT_DIR": "your-us-eli-audit-dir-here",
"US_ELI_CACHE_DIR": "your-us-eli-cache-dir-here",
"US_ELI_FR_BASE_URL": "your-us-eli-fr-base-url-here",
"US_ELI_ECFR_BASE_URL": "your-us-eli-ecfr-base-url-here",
"US_ELI_GOVINFO_API_KEY": "your-us-eli-govinfo-api-key-here",
"US_ELI_GOVINFO_BASE_URL": "your-us-eli-govinfo-base-url-here",
"US_ELI_COURTLISTENER_BASE_URL": "your-us-eli-courtlistener-base-url-here"
},
"args": [
"us-eli-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
MCP server for US law with verifiable citations. Five sources behind ten read-only tools:
| Tool | Purpose |
|---|---|
us_search_bills | List bills by congress (e.g. 118) and type (hr, s, hres, ...) |
us_get_bill | Full detail + latest action for one bill |
us_list_code_packages | List GovInfo packages in a collection (USCODE, CFR, FR, STATUTE) |
us_get_code_package | Metadata + download links (PDF/XML/TXT) for one package |
us_search_federal_register | Full-text search over FR documents; filter rules, notices, executive orders |
us_get_federal_register_doc | One FR document with its official citation (e.g. 91 FR 41591) |
us_search_case_law | Full-text search over 8M+ opinions; court filter (e.g. cal, ny, scotus) |
us_get_case | One opinion cluster by cluster_id |
us_search_cfr_sections | Full-text search over the current CFR (eCFR) |
us_get_cfr_section_history | Amendment history of one CFR section (e.g. 15 CFR 744.3) |
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.
pip install us-eli-mcp
| Env var | Default |
|---|---|
US_ELI_API_KEY | DEMO_KEY (shared, low rate limit - get your own free key at api.congress.gov/sign-up) |
US_ELI_GOVINFO_API_KEY | reuses US_ELI_API_KEY (same api.data.gov key family) |
US_ELI_CACHE_DIR | ~/.matematic/cache/us-eli |
US_ELI_AUDIT_DIR | ~/.matematic/audit |
US_ELI_BASE_URL | https://api.congress.gov/v3 |
US_ELI_GOVINFO_BASE_URL | https://api.govinfo.gov |
US_ELI_FR_BASE_URL | https://www.federalregister.gov/api/v1 (keyless) |
US_ELI_COURTLISTENER_BASE_URL | https://www.courtlistener.com/api/rest/v4 (keyless) |
US_ELI_ECFR_BASE_URL | https://www.ecfr.gov/api (keyless) |
The Federal Register, CourtListener and eCFR tools need no key at all.
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.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.