US law MCP: bills, US Code, Federal Register, executive orders, case law (state+federal), eCFR
Us MCP server exists for a simple reason — assistants are far more useful when they can act on Us directly instead of describing what you should do. US law MCP: bills, US Code, Federal Register, executive orders, case law (state+federal), eCFR.
MCP server for US law with verifiable citations. Five sources behind ten read-only tools:
The server ships on PyPI as us-eli-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Once Us is connected, these are the calls the assistant has available:
us_search_bills — List bills by congress (e.g. 118) and type (hr, s, hres, ...)us_get_bill — Full detail + latest action for one billus_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 packageus_search_federal_register — Full-text search over FR documents; filter rules, notices, executive ordersus_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_idus_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)You will need 8 environment variables: US_ELI_API_KEY, DEMO_KEY, US_ELI_GOVINFO_API_KEY, US_ELI_BASE_URL, US_ELI_GOVINFO_BASE_URL, US_ELI_FR_BASE_URL, US_ELI_COURTLISTENER_BASE_URL, US_ELI_ECFR_BASE_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Us's toolset — us_search_bills, us_get_bill, us_list_code_packages and 7 more — is a fair guide to whether it matches your workflow. It is maintained by matematicsolutions; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Us's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| 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) |
{
"mcpServers": {
"us-eli": {
"command": "uvx",
"args": ["us-eli-mcp"],
"env": {
"US_ELI_API_KEY": "your-value",
"DEMO_KEY": "your-value",
"US_ELI_GOVINFO_API_KEY": "your-value",
"US_ELI_BASE_URL": "your-value",
"US_ELI_GOVINFO_BASE_URL": "your-value",
"US_ELI_FR_BASE_URL": "your-value",
"US_ELI_COURTLISTENER_BASE_URL": "your-value",
"US_ELI_ECFR_BASE_URL": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| US_ELI_API_KEY | Credential the server authenticates with. | Yes |
| DEMO_KEY | Credential the server authenticates with. | Yes |
| US_ELI_GOVINFO_API_KEY | Credential the server authenticates with. | Yes |
| US_ELI_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| US_ELI_GOVINFO_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| US_ELI_FR_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| US_ELI_COURTLISTENER_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| US_ELI_ECFR_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.