US Codex

org.uscodex由 uscodex.org 發布官方發布者v1.0.0更新於 Oct 28, 2026

Federal law: US Code, CFR, public laws, bills and executive orders, cross-linked and versioned.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取知識與記憶

概覽

AI 產生的概覽

面向美國聯邦法律的遠端 MCP 伺服器:可檢索、閱讀、追蹤引用並比較美國法典、聯邦法規、公法、法案與行政命令。

可以做什麼
  • 在美國法典、聯邦法規彙編、公法、國會法案與行政命令的全文中檢索,結果依相關度排序,也可限定單一語料庫。
  • 以 markdown 讀取文件或網站頁面:含註釋的法典條文、篇或單元內容、公法、任一版本的法案、行政命令,以及各語料庫索引與法典發布版本。
  • 查詢某文件被哪些文件引用,包括引用原文措辭,以及依某法規制定的規章,清單每次 50 筆分頁。
  • 追溯文件沿革:法典條文的制定與修訂法律及歷次文本變更,或法律與法案的立法史及各版本連結。
  • 比較法典條文在兩個發布版本之間的差異,列出新增、刪除、修改或重新編號的條款。
適用情境
需要附引註的權威美國聯邦法律原文、想了解某法規或條文隨時間如何變化,或需要追蹤引用關係與立法沿革而不必手動瀏覽網站時適用。
執行需求
位於 uscodex.org 的遠端 streamable HTTP 端點;未宣告任何套件、帳號、API 金鑰或環境變數。需要能存取該端點的網路。
安裝前請注意
這些工具僅是對公開法律資料的唯讀查詢,不涉及憑證或寫入操作。結果僅供研究輔助,不構成法律意見,依賴前應與官方來源核對。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 US Codex,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/org.uscodex%2Fuscodex/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "us-codex": {
      "type": "http",
      "url": "https://uscodex.org/mcp"
    }
  }
}

工具

5

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.

輸入參數pathnotesreleasecitationprovision

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.

輸入參數listpathoffsetcitation

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.

輸入參數pathcitation

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.

輸入參數tofrompathcitationonly_edits

版本歷史

1
  1. v1.0.0最新Sep 25, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。