ecfr-mcp
ecfr-mcp
eCFR (電子連邦規則集) API 用の MCP サーバーです。認証不要で、FAR、DFARS、およびすべての機関のFAR補足規定のテキストを読み取ることができます。
MCP互換クライアント (Claude Desktop、Claude Code、Cursor、Cline、Continue、Zedなど) で動作します。
実際のeCFR APIに対する5ラウンドの統合テストを通じてテストおよび強化されています。2件のP0致命的バグ、26件のP1サイレント誤データバグ、32件のP2検証ギャップを修正する101件の回帰テストを実施。テスト記録の詳細は TESTING.md を参照してください。
機能
eCFR APIを、規制テキスト、構造、検索、バージョン履歴、一般的な調達ワークフローをカバーする13個のMCPツールとして公開します。
コアエンドポイント
get_latest_date- CFRタイトルの最新利用可能日を取得 (他のツールを呼び出す前に使用)get_cfr_content- セクション、サブパート、またはパートの解析済み規制テキストを取得get_cfr_structure- 階層的な目次get_version_history- セクションまたはパートの改正履歴get_ancestry- パンくずリストの階層パスsearch_cfr- 階層フィルター付きの全文検索list_agencies- CFR参照を持つすべての機関get_corrections- タイトルの編集上の修正
ワークフローの利便性
lookup_far_clause- FAR/DFARS条項テキストのワンコール検索 (日付を自動解決)compare_versions- 2つの日付間でのテキストの並列比較list_sections_in_part- FAR/DFARSパート内の全セクションfind_far_definition- FAR 2.101で用語定義を検索find_recent_changes- 指定日以降に修正されたセクション
Related MCP server: regulationsgov-mcp
認証不要
eCFR APIは完全に公開されています。APIキー、登録、認証ヘッダーは不要です。インストールするだけですぐに使用できます。
インストール
uvx経由 (推奨)
uvx ecfr-mcppip経由
pip install ecfr-mcpソースから
git clone https://github.com/1102tools/federal-contracting-mcps.git
cd federal-contracting-mcps/servers/ecfr-mcp
pip install -e .Claude Desktopの設定
~/Library/Application Support/Claude/claude_desktop_config.json に以下を追加します:
{
"mcpServers": {
"ecfr": {
"command": "uvx",
"args": ["ecfr-mcp"]
}
}
}Claude Desktopを再起動します。MCPツールパネルに ecfr サーバーが表示され、13個のツールが利用可能になります。
プロンプト例
「現在のFAR 15.305 (提案評価) のテキストを取得し、その要件を要約してください。」
「FARパート19 (中小企業プログラム) に含まれるすべてのセクションをリストアップしてください。」
「2.101における 'commercial product' のFAR定義を調べてください。」
「過去6ヶ月間に改正されたFARセクションは何ですか?」
「2024-01-01と2025-01-01の間のFAR 52.212-4を比較し、変更点を示してください。」
「DFARS 252.227-7014 (非商用コンピュータソフトウェアにおける権利) の現在のテキストを取得してください。」
「タイトル48で 'organizational conflict of interest' を検索し、関連するセクションを表示してください。」
「タイトル48の第8章はどの機関が管轄していますか?そのFAR補足規定の構造を取得してください。」
設計上の注意
サーバーサイドでのXML解析。 eCFRコンテンツエンドポイントは生のXMLを返します。このサーバーは、Claudeに返す前にそれをクリーンなテキスト (見出し、段落、引用) に解析し、コンテキストトークンを大幅に節約します。
日付の自動解決。 eCFRは連邦官報 (Federal Register) より1〜2営業日遅れます。バージョン管理エンドポイントで今日の日付を使用すると404エラーが発生します。すべてのコンテンツツールは、日付を指定しない限り、最新の利用可能日に自動解決されます。
検索はデフォルトで現在のテキストを対象。
date=currentを指定しない場合、eCFR検索は廃止されたものを含むすべての履歴バージョンを返します。デフォルトのcurrent_only=Trueにより、重複する結果を防ぎます。構造エンドポイントの制限。 eCFR構造エンドポイントはセクションレベルのフィルタリングをサポートしていません (400エラーを返します)。
list_sections_in_partは、パート構造を取得してツリーを走査することでこれを回避しています。FAR 2.101の最適化。 定義セクションは約109KBのXMLです。
find_far_definitionはサーバーサイドでセクション全体を解析し、コンテキストを含む一致する段落のみを返します。
CFRタイトル48 クイックリファレンス
章 | 規制 | パート |
1 | FAR | 1-99 |
2 | DFARS | 200-299 |
3 | HHSAR | 300-399 |
4 | AGAR | 400-499 |
5 | GSAR | 500-599 |
6 | DOSAR | 600-699 |
7 | AIDAR | 700-799 |
8 | VAAR | 800-899 |
9 | DEAR | 900-999 |
18 | NFS | 1800-1899 |
データソース
すべてのデータは、連邦官報局 (Office of the Federal Register) が管理する継続的に更新されるオンライン連邦規則集 ecfr.gov から取得しています。毎日更新され、通常は連邦官報への掲載から1〜2営業日後に反映されます。これは公式の法的版ではありません。公式な引用については、GPO発行の年次CFRを参照してください。
コンパニオンスキル
このMCPは 1102tools.com の ecfr-api スキルを反映したものです。当該スキルはClaudeでの対話的な使用を目的としたマークダウンベースのものですが、このMCPはエージェントのワークフローや自動化のために、同じAPIを決定論的なツール呼び出しとしてラップしています。
ライセンス
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceFederal procurement intelligence toolkit that searches SAM.gov contract opportunities, analyzes agency spending patterns, tracks competitor wins, and monitors small business set-aside programs (8a, HUBZone, SDVOSB, WOSB). 4 tools using SAM.gov and USASpending.gov data.2
- AlicenseNot gradedqualityNot gradedmaintenanceEnables interaction with the Regulations.gov API to search federal rulemaking dockets, proposed and final rules, public comments, and comment periods. Supports tracking FAR/DFARS case histories and monitoring open comment periods across federal agencies with optional API key authentication for higher rate limits.
- AlicenseAqualityAmaintenanceThe most comprehensive keyless federal-data MCP server. 36 tools for SAM.gov + USAspending + Federal Register + eCFR + Grants.gov. No API key, no registration, no signup. Works in Claude Desktop, Claude Code, Codex CLI, Cursor, Continue, Gemini CLI, and any MCP-aware host.301001425MIT
- AlicenseAqualityAmaintenanceGovToolsPro MCP Server — an MCP server that gives Claude and other AI clients workflow tools for US federal contractors: go/no-go scoring, incumbent intelligence (USAspending + FPDS), teaming-partner search, recompete prediction, Navy NECO lookup, and SAM.gov solicitation retrieval. It returns synthesized decisions rather than raw data, so contractors and capture teams can triage opportunities d10512MIT
Related MCP Connectors
SAM.gov contracts and USAspending awards. 4 procurement tools.
Search and trace US federal rules across the Federal Register, eCFR, and Regulations.gov.
55 tools for federal/state/local RFPs, awards, vendors, contact graph, contract vehicles, pursuits.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/1102tools/federal-contracting-mcps'
If you have feedback or need assistance with the MCP directory API, please join our Discord server