MCPサーバー

US Codex

org.uscodex/uscodex

このMCPでできること

Searches, retrieves, compares, and traces versions and citations across the U.S. Code, CFR, public laws, bills, and executive orders.

citations
What cites a document: each corpus's citations of a code section, law, bill or order, with the words that cite it, and for a statute the regulations issued under it. Lists come 50 at a time; `list` and `offset` page through one.
入力スキーマ
{'type': 'object', 'properties': {'list': {'enum': ['code', 'cfr-citations', 'laws', 'bills', 'orders'], 'type': 'string', 'description': 'One list only, by the corpus that cites.'}, 'path': {'type': 'string', 'description': 'A page of the site, as its path or full URL ("/usc/26/61", "/pl/119/21"). Give this or `citation`.'}, 'offset': {'type': 'integer', 'default': 0, 'description': 'With `list`, where in it to start.'}, 'citation': {'type': 'string', 'description': 'A citation ("26 U.S.C. 61(a)", "40 CFR 60.1", "Pub. L. 119-21", "H.R. 1", "E.O. 14000"). Give this or `path`.'}}}
compare
What changed in a code section between two releases: each provision added, removed, changed or renumbered, the edits marked <del> and <ins>. To compare versions of a bill, take the 'what changed' link from its history.
入力スキーマ
{'type': 'object', 'properties': {'to': {'type': 'string', 'description': 'Release point or date to compare to. Defaults to the latest.'}, 'from': {'type': 'string', 'description': 'Release point or date to compare from. Defaults to the release before `to`.'}, 'path': {'type': 'string', 'description': 'A page of the site, as its path or full URL ("/usc/26/61", "/pl/119/21"). Give this or `citation`.'}, 'citation': {'type': 'string', 'description': 'A citation ("26 U.S.C. 61(a)", "40 CFR 60.1", "Pub. L. 119-21", "H.R. 1", "E.O. 14000"). Give this or `path`.'}, 'only_edits': {'type': 'boolean', 'default': True, 'description': 'Only the provisions that changed, not the whole text.'}}}
fetch
Read a document or page of the site as markdown: a code section with its notes, a title's or unit's contents, a public law, a bill (at any version), an executive order. Paths also reach the corpus indexes ("/usc", "/pl?congress=118", "/bills?congress=119", "/eo") and each code's releases ("/usc/releases"). Links in the markdown are paths this tool accepts.
入力スキーマ
{'type': 'object', 'properties': {'path': {'type': 'string', 'description': 'A page of the site, as its path or full URL ("/usc/26/61", "/pl/119/21"). Give this or `citation`.'}, 'notes': {'type': 'boolean', 'default': True, 'description': "Include a section's source credit, notes and footnotes."}, 'release': {'type': 'string', 'description': 'For a code, the release to read it at: a release point ("119-21") or a date (YYYY-MM-DD) for the release in force then. Defaults to the latest.'}, 'citation': {'type': 'string', 'description': 'A citation ("26 U.S.C. 61(a)", "40 CFR 60.1", "Pub. L. 119-21", "H.R. 1", "E.O. 14000"). Give this or `path`.'}, 'provision': {'type': 'string', 'description': 'Part of the document: in a code section, a provision and everything under it ("a-1" for (a)(1)) or a run of them ("a..c"); in a law, bill or order, a heading\'s {#anchor} ("tI-stA-s10101") or a provision under it ("tI-stA-s10101-a").'}}}
history
How a document came to be: for a code section, the laws that enacted and amended it and every release that changed its text; for a law or bill, its legislative history, each version linked to its text and to what changed from the one before.
入力スキーマ
{'type': 'object', 'properties': {'path': {'type': 'string', 'description': 'A page of the site, as its path or full URL ("/usc/26/61", "/pl/119/21"). Give this or `citation`.'}, 'citation': {'type': 'string', 'description': 'A citation ("26 U.S.C. 61(a)", "40 CFR 60.1", "Pub. L. 119-21", "H.R. 1", "E.O. 14000"). Give this or `path`.'}}}
search
Search the full text of federal law: United States Code, Code of Federal Regulations, Public Laws, Congressional Bills, Executive Orders. Results are ranked across every corpus unless `corpus` narrows them, each with its citation, a link and the matching words. A query that is only a citation returns that document instead.
入力スキーマ
{'type': 'object', 'required': ['query'], 'properties': {'date': {'type': 'string', 'description': 'For a code, search it as it stood on this date (YYYY-MM-DD).'}, 'page': {'type': 'integer', 'default': 1, 'description': 'Page of results, 20 to a page.'}, 'query': {'type': 'string', 'description': 'Words, a "quoted phrase", NOT before a word to exclude it, or a citation.'}, 'title': {'type': 'string', 'description': 'For a code, search one title ("11", "40").'}, 'corpus': {'enum': ['usc', 'cfr', 'pl', 'bills', 'eo'], 'type': 'string', 'description': 'Search one corpus only.'}}}
追加
compare
2026年9月26日2:40
追加
history
2026年9月26日2:40
追加
citations
2026年9月26日2:40
追加
fetch
2026年9月26日2:40
追加
search
2026年9月26日2:40