
eCFR
io.github.1102tools由 GitHub 帳號 1102tools 發布v0.2.6更新於 Oct 28, 2026
Electronic Code of Federal Regulations including FAR and DFARS. 13 tools.
發布方自己的服務:eCFR.io Federal Regulations
概覽
免費的 MCP 伺服器,讓助理不需 API 金鑰即可讀取與檢索 eCFR(含 FAR、DFARS 及各機關 FAR 補充條款)法規文本。
- 可以做什麼
- 讀取法規文本與結構:取得條、子部分或部分的正文,瀏覽階層目錄,取得階層路徑
- 檢索與列舉:可依階層篩選的全文檢索,列出各機關及其 CFR 引用,列出 FAR/DFARS 某一部分的全部條文
- 版本追蹤:查詢修正歷程,比對兩個日期的文本,找出某日期之後被修改的條文,取得編輯性更正
- 聯邦採購快捷工具:一次呼叫查詢 FAR/DFARS 條款原文,檢索 FAR 2.101 中的定義
- 適用情境
- 適合需要引用或核對現行聯邦採購法規原文、條款措辭、定義,或了解兩個日期之間變化的情境,不必離開對話。面向聯邦採購、法遵與政策研究,而非一般法律意見。
- 執行需求
- 以 Python 套件 ecfr-mcp 透過 uvx 或 pip 在桌面 AI 應用程式中本機執行;不需 API 金鑰、註冊或驗證標頭。需要連線至公開的 eCFR API。建議的 uvx 指令每次啟動都會檢查 PyPI,可能需要調高用戶端的 MCP 啟動逾時。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 eCFR,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ecfr-mcp
[price: free] [license: MIT] [tools: 13] [regression tests]
Free, open-source MCP server for the eCFR (Electronic Code of Federal Regulations) API. Read FAR, DFARS, and all agency FAR supplement text with no authentication required.
Overview, demo video and hosted setup: https://1102tools.com/mcp/ecfr
No API key required, locally or hosted. See Local or hosted.
Regression tests, including live checks against the eCFR API and a check that every piece of text in ten saved eCFR responses comes out exactly once and in order. The October 2026 releases were also checked with realistic contracting questions (clause lookups, FAR definitions, version history, recent changes). See testing.md.
Local or hosted
- Local runs it on your computer, inside the Claude or ChatGPT desktop app or another AI app. You get your own full rate limits, and it relies only on the government service. It doesn't update itself, so ask your AI to update it. You don't have to set it up by hand: give your AI this page's link and ask it to set it up or walk you through it.
- Hosted is always up to date, needs no setup or keys, and works in Claude or ChatGPT anywhere.
Compare local and hosted · Matching prompts
What it does
Exposes the eCFR API as 13 MCP tools covering regulatory text, structure, search, version history, and common acquisition workflows:
Core endpoints
get_latest_date- Get the most recent available date for a CFR title (call before other tools)get_cfr_content- Get parsed regulatory text for a section, subpart, or partget_cfr_structure- Hierarchical table of contentsget_version_history- Amendment history for a section or partget_ancestry- Breadcrumb hierarchy pathsearch_cfr- Full-text search with hierarchy filterslist_agencies- All agencies with their CFR referencesget_corrections- Editorial corrections for a title
Workflow convenience
lookup_far_clause- One-call FAR/DFARS clause text lookup (auto-resolves date)compare_versions- Side-by-side text comparison at two dateslist_sections_in_part- All sections in a FAR/DFARS partfind_far_definition- Search FAR 2.101 for a term definitionfind_recent_changes- Sections modified since a given date
No authentication required
The eCFR API is fully public. No API key, no registration, no auth headers. Just install and use.
Installation
Via uvx (recommended)
Via pip
From source
Configuration
Use the configuration below as the server definition and adapt its placement to your compatible MCP client. For practical requests using this source, see the prompt library.
The --refresh-package flag tells uv to check PyPI for a newer release each time your client launches the server, so fixes arrive automatically; without it, uv keeps serving whatever version it first cached. It adds a moment of network time at startup, so raise your platform's MCP startup timeout if it enforces a short one.
Restart the client. The ecfr server appears with 13 tools.
Example prompts
- "Pull the current text of FAR 15.305 (Proposal Evaluation) and summarize what it requires."
- "List all sections in FAR Part 19 (Small Business Programs)."
- "Look up the FAR definition of 'commercial product' in 2.101."
- "What FAR sections were amended in the last 6 months?"
- "Compare FAR 52.212-4 between 2024-01-01 and 2025-01-01 and show me what changed."
- "Get the current text of DFARS 252.227-7014 (Rights in Noncommercial Computer Software)."
- "Search Title 48 for 'organizational conflict of interest' and show me the relevant sections."
- "Which agency owns Chapter 8 in Title 48? Get their FAR supplement structure."
Design notes
- XML parsed server-side. The eCFR content endpoint returns raw XML. This server parses it into clean text (headings, paragraphs, citations) before returning to the model, saving significant context tokens.
- Automatic date resolution. eCFR lags 1-2 business days behind the Federal Register. Using today's date on versioner endpoints causes 404 errors. All content tools auto-resolve to the latest available date unless you specify one.
- Search defaults to current text. Without
date=current, eCFR search returns ALL historical versions including superseded. Defaultcurrent_only=Trueprevents duplicate results. - Structure endpoint limitation. The eCFR structure endpoint does not support section-level filtering (returns 400).
list_sections_in_partworks around this by fetching the part structure and walking the tree. - FAR 2.101 optimization. The definitions section is ~109KB of XML.
find_far_definitionparses the full section server-side and returns only matching paragraphs with context.
CFR Title 48 quick reference
Data source
All data from ecfr.gov, the continuously updated online Code of Federal Regulations maintained by the Office of the Federal Register. Updated daily, typically 1-2 business days after Federal Register publication. Not an official legal edition; for official citations reference the annual CFR from GPO.
Part of
federal-contracting-mcps: monorepo of 9 MCP servers for federal contracting data. Pair these sources with the MCP prompt library.
License
MIT
來源:servers/ecfr-mcp/readme.md,提交 7ff19f1
工具
0版本歷史
1- v0.2.6最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Ecfr 整合

eCFR.io Federal Regulations
io.ecfr官方發布者
透過 eCFR.io 檢索與閱讀美國聯邦法規(CFR)文本,回傳附有法律引註與行內引註的法規摘錄。

US Code Federal Statutes
io.ecfr官方發布者
唯讀存取美國法典:檢索法條、分頁讀取完整條文、列出各編,並附上指向 uscode.ecfr.io 的引註。

Ecfr Mcp
由 GitHub 帳號 mrfentmen 發布
透過官方 eCFR API 列出美國聯邦法規各編及其修訂日期,無需 API 金鑰。

Ecfr
由 GitHub 帳號 pipeworx-io 發布
透過官方 eCFR API 檢索並閱讀美國聯邦法規彙編,另附可路由到其他 Pipeworx 資料來源的閘道工具。