cfr-compliance-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cfr-compliance-mcpFind relevant CFR parts for a clause on data retention."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cfr-compliance-mcp
A production-quality MCP (Model Context Protocol) server exposing the official eCFR (Electronic Code of Federal Regulations) API as structured tools, built for an AI-driven contract compliance pipeline.
Status: in active development. The MCP server's foundation, client, cache, and parsing layers are complete. Validation models, the 8 MCP tools, and the server entrypoint are still being built. See
HANDOFF/PROJECT_HANDOFF.mdfor the full current status.
What this is
This package is the MCP server component of a larger pipeline:
Contract (PDF/DOCX) → Clause Extraction → Agno Team/Agents → this MCP Server
→ Official eCFR REST API → Relevant CFR Retrieval → Compliance Reasoning
→ Clause-wise Compliance ReportIt has no dependency on any third-party MCP server — it talks directly to the official, public, unauthenticated eCFR REST API (https://www.ecfr.gov). See HANDOFF/PROJECT_HANDOFF.md Section 9 and the research addendum for why.
Related MCP server: Enterprise Financial Compliance Audit Framework
Requirements
Python 3.12
uv for dependency management
Setup
git clone <this repo>
cd cfr-compliance-mcp
uv sync
cp .env.example .env # adjust settings if needed; defaults work out of the boxRunning (once server.py exists)
uv run cfr-compliance-mcpProject layout
src/cfr_compliance_mcp/
├── config.py, logging_config.py, exceptions.py, constants.py # foundation
├── clients/ # generic HTTP transport + eCFR-specific API client
├── cache/ # backend-agnostic caching (in-memory today, Redis-ready)
├── parsing/ # raw eCFR XML -> clean text + citation metadata
├── models/ # (pending) Pydantic request/response validation
├── tools/ # (pending) the 8 MCP tools
└── server.py # (pending) FastMCP entrypointFull architectural rationale is in HANDOFF/ARCHITECTURE.md. Chronological build history is in HANDOFF/PROJECT_PROGRESS.md. A single authoritative current-state reference (what's built, why, what's next) is HANDOFF/PROJECT_HANDOFF.md — read that first if you're picking this project up.
Testing
uv run pytest(Test suite is not yet built — see HANDOFF/PROJECT_HANDOFF.md for status.)
Development conventions
Full type hints,
strictmypy.rufffor linting (uv run ruff check .).All configuration via
.env/config.Settings— neveros.environdirectly.All logging via
logging_config.get_logger(__name__)— logs go to stderr only (the MCPstdiotransport uses stdout for the protocol itself; never write there).See
HANDOFF/PROJECT_HANDOFF.mdSection 17 for the full conventions list.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/vvXranjan/cfr-compliance-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server