MCP server
US Statutes MCP Server
Let an AI assistant search the US Code, the CFR and state codes directly. Every section ships as JSON for your code, and HTML, text, PDF or DOCX for the humans reading it.
install (placeholder package name)
pip install lexbharat-mcp
Statute tools via MCP
Every tool maps to an API endpoint.
| Tool | What it does |
|---|---|
search_us_statutes | Search federal and state codes; filter by corpus, state and title. |
resolve_statute_citation | Turn a citation like 42 U.S.C. § 1983 into the section it names. |
get_us_statute_section | Metadata for a section: citation, hierarchy, breadcrumb, source links. |
get_us_statute_section_text | Full section text in styled HTML and plain text. |
list_statute_divisions | Browse the statutory hierarchy one level at a time. |
list_statutes_coverage | Coverage matrix: which corpora exist in which jurisdiction. |
get_section_changes | A section's amendment timeline and what changed between two dates. |
resolve_statute_citations_batch | Resolve many citations in one call. |
list_session_laws | A state's session laws, by session, signing date or effective date. |
get_session_law | One act: its dates, the code sections it changed, official sources. |
get_session_law_body | Text of an act as passed, including what it struck out. |
create_watch | Watch a body of law and be told when it changes. |
get_pricing | Current API pricing; free, no authentication. |
MCP server setup in two minutes
Pick your client. Snippets are illustrative; the package names are placeholders.
Add the connector from the directory in one click.