Ecfr MCP server
{
"mcpServers": {
"ecfr": {
"command": "uvx",
"args": [
"ecfr-mcp",
"--refresh-package",
"ecfr-mcp",
"--from",
"ecfr-mcp"
],
"env": {
"SAM_API_KEY": "<sam_api_key>",
"DEMO_KEY": "<demo_key>"
}
}
}
}{
"mcpServers": {
"ecfr": {
"command": "uvx",
"args": [
"ecfr-mcp",
"--refresh-package",
"ecfr-mcp",
"--from",
"ecfr-mcp"
],
"env": {
"SAM_API_KEY": "<sam_api_key>",
"DEMO_KEY": "<demo_key>"
}
}
}
}{
"mcpServers": {
"ecfr": {
"command": "uvx",
"args": [
"ecfr-mcp",
"--refresh-package",
"ecfr-mcp",
"--from",
"ecfr-mcp"
],
"env": {
"SAM_API_KEY": "<sam_api_key>",
"DEMO_KEY": "<demo_key>"
}
}
}
}{
"servers": {
"ecfr": {
"command": "uvx",
"args": [
"ecfr-mcp",
"--refresh-package",
"ecfr-mcp",
"--from",
"ecfr-mcp"
],
"env": {
"SAM_API_KEY": "${input:sam_api_key}",
"DEMO_KEY": "${input:demo_key}"
}
}
},
"inputs": [
{
"id": "sam_api_key",
"type": "promptString",
"description": "Sam api key",
"password": true
},
{
"id": "demo_key",
"type": "promptString",
"description": "Demo key",
"password": true
}
]
}{
"mcpServers": {
"ecfr": {
"command": "uvx",
"args": [
"ecfr-mcp",
"--refresh-package",
"ecfr-mcp",
"--from",
"ecfr-mcp"
],
"env": {
"SAM_API_KEY": "<sam_api_key>",
"DEMO_KEY": "<demo_key>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall uvx ecfr-mcpversion 0.2.6
What it does
This server provides access to the Electronic Code of Federal Regulations (eCFR), including the Federal Acquisition Regulation (FAR) and Defense Federal Acquisition Regulation Supplement (DFARS). It is for developers and federal contractors who need to query current regulatory text through deterministic API calls rather than relying on language model recall.
- Look up specific FAR or DFARS clauses and their current text to verify compliance requirements in contracts.
- Retrieve regulatory definitions and cross-references to understand how federal acquisition rules apply to a specific situation.
- Query eCFR sections to get authoritative regulatory text for inclusion in proposals or compliance documentation.
Tools this server exposes
| Tool | Does |
|---|---|
| get_access_status | Check whether credentials are present and accessible for eCFR queries. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.