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., "@compliance-mcpassess soc2 control CC6.1"
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.
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
This server cannot be installed
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
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/naivedhya27-cmyk/compliance-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server