← Back to search

io.github.matematicsolutions/us-eli-mcp

matematicsolutions Scanned 24d ago

US law MCP: bills, US Code, Federal Register, executive orders, case law (state+federal), eCFR

C
64.1 / 100

Versions

0.3.0latest
first seen Jul 8, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 11

us_search_bills
annotations: none low

List US federal bills of a given congress and bill type. Args: congress: e.g. ``118`` (2023-2024 session). bill_type: one of ``"hr"``, ``"s"``, ``"hres"``, ``"sres"``, ``"hjres"``, ``"sjres"``, ``"hconres"``, ``"sconres"``. limit: max results (default 20, API caps around 250). Returns: ``{"total": int, "items": [...]}`` - each item carries the citation contract.

limit int congress int bill_type str
us_get_bill
annotations: none low

Fetch full detail (including latest action/status) for one bill. Args: congress: e.g. ``118``. bill_type: e.g. ``"hr"``. number: bill number, e.g. ``1``. Returns: A dict with ``congress``, ``bill_type``, ``number``, ``title``, ``latest_action_text``, ``latest_action_date``, ``lex_uri``, ``human_readable_citation``, ``source_url``.

number int congress int bill_type str
us_list_code_packages
annotations: none low

List enacted-law packages in a GovInfo collection modified since a given date. Args: collection: a GovInfo collection code, e.g. ``"USCODE"`` (United States Code), ``"CFR"`` (Code of Federal Regulations), ``"FR"`` (Federal Register), ``"STATUTE"`` (Statutes at Large). start_date: ISO 8601 UTC timestamp (e.g. ``"2023-01-01T00:00:00Z"``); only packages modified on/after this date are returned. limit: max results (default 20). Returns: ``{"total": int, "items": [...]}`` - each item carries the citation contract.

limit int collection str start_date str
us_get_code_package
annotations: none low

Fetch metadata and content-format download links for one GovInfo package. Args: package_id: a GovInfo package id, e.g. ``"USCODE-2023-title50"`` or a Federal Register document id - take these from `us_list_code_packages`. Returns: A dict with ``package_id``, ``collection``, ``title``, ``date_issued``, ``congress``, ``last_modified``, ``package_link``, ``download_links`` (format -> URL, e.g. ``"pdf"``, ``"xml"``, ``"txt"``), ``human_readable_citation``, ``source_url``.

package_id str
us_search_federal_register
annotations: none low

Full-text search over Federal Register documents (1994-present, keyless). Args: term: full-text search query, e.g. ``"artificial intelligence"``. doc_type: optional filter - one of ``"RULE"``, ``"PRORULE"`` (proposed rule), ``"NOTICE"``, ``"PRESDOCU"`` (presidential document). presidential_document_type: optional filter for presidential documents - e.g. ``"executive_order"``, ``"proclamation"``, ``"memorandum"``. limit: max results (default 20). Returns: ``{"total": int, "items": [...]}`` - ``total`` is the API's own count (display-capped at 10 000); each item carries the citation contract.

term str limit int doc_type string presidential_document_type string
us_get_federal_register_doc
annotations: none low

Fetch full metadata for one Federal Register document. Args: document_number: an FR document number, e.g. ``"2026-13726"`` - take it from `us_search_federal_register`. Returns: A dict with ``document_number``, ``title``, ``doc_type``, ``abstract``, ``publication_date``, ``agencies``, ``fr_citation`` (the official citation, e.g. ``"91 FR 41591"``), ``raw_text_url``, ``pdf_url``, ``executive_order_number``, ``human_readable_citation``, ``source_url``.

document_number str
us_search_case_law
annotations: none low

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. Args: query: full-text query, e.g. ``"negligence standard of care"``. court: optional CourtListener court id to scope the search, e.g. ``"cal"`` (California Supreme Court), ``"ny"`` (NY Court of Appeals), ``"texapp"`` (Texas Court of Appeals), ``"scotus"``. limit: max results (default 20; the API returns 20 per page). Returns: ``{"total": int, "items": [...]}`` - ``total`` is the API's own count; each item carries the citation contract (real reporter citation when one exists, docket number otherwise - never a fabricated one).

court string limit int query str
us_get_case
annotations: none low

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). Args: cluster_id: e.g. ``8512159`` - take it from `us_search_case_law`. Returns: A dict with ``cluster_id``, ``case_name``, ``court``, ``court_id``, ``date_filed``, ``docket_number``, ``citations`` (reporter citations), ``status``, ``human_readable_citation``, ``source_url``.

cluster_id int
us_search_cfr_sections
annotations: none low

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. Args: query: full-text query, e.g. ``"unmanned aircraft"``. limit: max results (default 20). Returns: ``{"total": int, "items": [...]}`` - ``total`` is the API's own count (display-capped at 10 000); each item carries the citation contract (``"{title} CFR § {section}"`` + the public ecfr.gov section page).

limit int query str
us_coverage
annotations: none low

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.

us_get_cfr_section_history
annotations: none low

Fetch the amendment history (point-in-time versions) of one CFR section. Args: title: CFR title number, e.g. ``15``. part: part identifier, e.g. ``"744"``. section: section identifier, e.g. ``"744.3"`` - take title/part/section from `us_search_cfr_sections`. Returns: ``{"total": int, "items": [...]}`` - each item is one version with ``date``, ``amendment_date``, ``name``, ``substantive``, ``removed``.

part str title int section str

Permissions 3

network medium
Server uses network capabilities via: httpx, urllib
filesystem low
Server uses filesystem capabilities via: open(), os, pathlib
env_vars low
Server uses env_vars capabilities via: os.environ

Scan Findings 52

low
Tool 'us_search_bills' has no annotations annotation_checker · 100%
low
Tool 'us_get_bill' has no annotations annotation_checker · 100%
low
Tool 'us_list_code_packages' has no annotations annotation_checker · 100%
low
Tool 'us_get_code_package' has no annotations annotation_checker · 100%
low
Tool 'us_search_federal_register' has no annotations annotation_checker · 100%
low
Tool 'us_get_federal_register_doc' has no annotations annotation_checker · 100%
low
Tool 'us_search_case_law' has no annotations annotation_checker · 100%
low
Tool 'us_get_case' has no annotations annotation_checker · 100%
low
Tool 'us_search_cfr_sections' has no annotations annotation_checker · 100%
low
Tool 'us_coverage' has no annotations annotation_checker · 100%
low
Tool 'us_get_cfr_section_history' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-5h2m-4q8j-pqpj) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-c2jp-c369-7pvx) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-m8x7-r2rg-vh5g) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-mxxr-jv3v-6pgc) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-rcfx-77hg-w2wv) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-rj5c-58rq-j5g5) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-rww4-4w9c-7733) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-vv7q-7jx5-f767) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-1364) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-1365) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-2474) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-2475) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-2476) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-338) dependency_analyzer · 95%
medium
Vulnerable dependency: httpx@0.27,<1 (GHSA-h8pj-cxx2-jfg2) dependency_analyzer · 95%
medium
Vulnerable dependency: httpx@0.27,<1 (PYSEC-2022-183) dependency_analyzer · 95%
medium
Vulnerable dependency: diskcache@5.6 (GHSA-w8v5-vhqr-4h9v) dependency_analyzer · 95%
medium
Vulnerable dependency: diskcache@5.6 (PYSEC-2026-2447) dependency_analyzer · 95%
medium
Vulnerable dependency: anyio@4.3 (GHSA-5p39-cfhj-2xmp) dependency_analyzer · 95%
medium
Vulnerable dependency: anyio@4.3 (GHSA-82r6-8w77-94w6) dependency_analyzer · 95%
info
pyproject.toml metadata manifest_parser · 100%
info
Tool: us_search_bills manifest_parser · 90%
info
Tool: us_get_bill manifest_parser · 90%
info
Tool: us_list_code_packages manifest_parser · 90%
info
Tool: us_get_code_package manifest_parser · 90%
info
Tool: us_search_federal_register manifest_parser · 90%
info
Tool: us_get_federal_register_doc manifest_parser · 90%
info
Tool: us_search_case_law manifest_parser · 90%
info
Tool: us_get_case manifest_parser · 90%
info
Tool: us_search_cfr_sections manifest_parser · 90%
info
Tool: us_coverage manifest_parser · 90%
info
Tool: us_get_cfr_section_history manifest_parser · 90%
info
Required env vars (10) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
medium
Permission: network access detected permission_analyzer · 90%
low
Permission: filesystem access detected permission_analyzer · 80%
low
Permission: env_vars access detected permission_analyzer · 90%
critical
Tool poisoning in 'us_coverage': Cross-tool sequencing directive poisoning · 85%
info
No dependency files found for SBOM generation sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%