compliance-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
compliance-mcp
A Python Model Context Protocol server that exposes SOC2 (Trust Services Criteria) and HIPAA (Security Rule) compliance remediation logic as structured tools that AI agents can call.
The server is purpose-built for an LLM-driven workflow:
discover → assess → remediate → report
Each tool returns strongly-typed structured content (Pydantic models) so the calling agent can chain steps without parsing prose.
Features
Curated control catalogs for SOC2 (Common Criteria + Availability + Confidentiality samples) and HIPAA (Administrative, Physical, and Technical safeguards under 45 CFR 164.308 / .310 / .312).
Assessment engine that scores controls against provided evidence and observations, surfacing matched evidence, missing evidence, findings, and prioritized remediation steps.
Prescriptive remediation plans with ordered steps, recommended owner role, and effort estimates.
Cross-framework mappings between SOC2 controls and HIPAA safeguards.
Report generation that rolls multiple per-control assessments into a prioritized remediation plan with an overall status and human-readable summary.
Exposed as MCP tools, resources, and a prompt via the official
mcpPython SDK.
Install
Requires Python 3.10+.
pip install -e ".[dev]"Run
compliance-mcpThis starts the MCP server on stdio. Wire it up in any MCP-aware client (Claude Desktop, Claude Code, custom agents, etc.):
{
"mcpServers": {
"compliance": {
"command": "compliance-mcp"
}
}
}Tools
Tool | Purpose |
| List SOC2 controls, optionally filtered by category |
| Full detail for a SOC2 control (e.g. |
| List HIPAA safeguards |
| Full detail for a HIPAA safeguard (e.g. |
| Free-text search across both catalogs |
| Score evidence + observations against a SOC2 control |
| Score evidence + observations against a HIPAA safeguard |
| Prescriptive plan for a SOC2 control |
| Prescriptive plan for a HIPAA safeguard |
| HIPAA safeguards mapped to a SOC2 control |
| SOC2 controls mapped to a HIPAA safeguard |
| Full cross-framework mapping list |
| Multi-control SOC2 assessment report |
| Multi-control HIPAA assessment report |
Resources
compliance://soc2/catalog– JSON dump of every SOC2 controlcompliance://hipaa/catalog– JSON dump of every HIPAA safeguardcompliance://mappings– JSON dump of SOC2 → HIPAA mappings
Prompt
remediation_review– guides an agent through using the tools to remediate a specific control.
Example agent flow
list_soc2_controls(category="Logical and Physical Access")assess_soc2_control(control_id="CC6.1", evidence=[...], observations=[...])get_soc2_remediation(control_id="CC6.1", severity="high")map_soc2_to_hipaa(soc2_control_id="CC6.1")then assess the linked HIPAA safeguards.generate_soc2_report(generated_for="prod-platform", assessments=[...])
Testing
pytestThe test suite covers the assessment engine end-to-end and verifies that every tool is registered and callable through the MCP runtime.
Project layout
src/compliance_mcp/
__init__.py
models.py # Pydantic data model
engine.py # Pure-Python assessment + remediation logic
server.py # FastMCP server: tools, resources, prompts
data/
soc2.py # SOC2 control catalog
hipaa.py # HIPAA safeguard catalog
mappings.py # SOC2 ↔ HIPAA cross mappings
tests/
test_engine.py
test_server.pyCaveats
The control catalogs are intentionally a curated subset suitable for driving remediation reasoning. They are not a substitute for the AICPA TSC or the HHS HIPAA Security Rule text itself, and should not be the only artifact relied upon for an audit.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Compliance frameworks (SOC 2, ISO 27001, CMMC, NIST, more) delivered to AI agents as MCP tools.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Zero-log MCP server with 49 tools for AI guardrails, secret scanning, MCP linting & EU compliance.
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.