complior mcp. Compatible with Claude Code, Cursor, Windsurf, OpenCode, Codex, Devin, and aider.
Source of truth:
engine/core/src/mcp/tools.ts (Zod schemas) + engine/core/src/mcp/handlers.ts (handler logic).- Core (7) — scan, fix, status, explain, search_tool, classify, report (since v1.0.0)
- Builder (3) — passport_init, doc_generate, redteam (since v1.1.0)
- Analytics (3) — evidence_verify, drift_detect, obligations_status (since v1.1.0)
complior_scan
Scan a project for EU AI Act compliance. Returns score, violations, and top findings.
Input
Output
Example agent usage
You: Check the compliance of this project. Agent callscomplior_scanwith{ path: "." }→ returns score 75/100 with 12 findings.
complior_fix
Auto-fix a specific compliance violation. Returns diff preview and score delta.
Input
Output
Example agent usage
You: Fix the bare LLM call. Agent callscomplior_fixwith{ checkId: "l4-bare-llm" }→ wraps with SDK, returns +5 score impact.
complior_status
Get current compliance score and category breakdown from the last scan.
Input
No parameters.Output
complior_explain
Explain an EU AI Act article or obligation in plain language with code implications.
Input
Output
Plain-text explanation with:- Article title and risk level
- What it requires
- Penalty for non-compliance
- Code implications (what to add / change in your project)
- Related obligations
Example agent usage
You: Explain Article 50. Agent callscomplior_explainwith{ article: "Art. 50" }→ returns transparency requirements + disclosure SDK example.
complior_search_tool
Search the AI tool catalog for compliance information about a specific tool.
Input
Output
complior_classify
Classify the risk level of an AI system based on its description and domain.
Input
Output
complior_report
Generate a compliance report in JSON or Markdown format.
Input
Output
format: "markdown"— Markdown report with score, findings table, top issues, action planformat: "json"— Structured JSON with full report data (compatible withcomplior report --json)
complior_passport_init
Each passport is ed25519-signed and includes 36 fields covering identity, capabilities, autonomy, permissions, oversight, and lifecycle.
Input
Output
Example agent usage
You: Generate a passport for our chatbot. Agent callscomplior_passport_initwith{}→ returns 1 passport with 85% completeness, saved to.complior/agents/.
complior_doc_generate
Supported document types (one of):
ai-literacy, art5-screening, technical-documentation, incident-report, declaration-of-conformity, monitoring-policy, fria, worker-notification, risk-management, data-governance, qms, instructions-for-use, gpai-transparency, gpai-systemic-risk.
Input
Output
Example agent usage
You: Make a FRIA for our support bot. Agent callscomplior_doc_generatewith{ docType: "fria", passportName: "support-bot" }→ returns markdown with prefilled fields and a list of manual fields the user still needs to complete.
complior_redteam
Input
Output
threshold is set and the score falls below it, returns isError: true plus thresholdFailed: true and the failing threshold value.
Example agent usage
You: Red-team our chatbot endpoint with a minimum score of 80. Agent callscomplior_redteamwith{ target: "https://...", threshold: 80 }→ if score 75, returnsisErrorwiththresholdFailed: true.
complior_evidence_verify
Used for audit preparation — every scan and fix appends to the chain, so the chain is the cryptographic proof of compliance history.
Input
Output
valid: false with a brokenAt index and human-readable issues:
complior_drift_detect
Input
Output
When no previous scan exists, returns
severity: "none" with hasDrift: false and a message field.
complior_obligations_status
Input
Output
Example agent usage
You: Show me high-risk obligations that aren’t covered yet. Agent callscomplior_obligations_statuswith{ riskLevel: "high", coverage: "uncovered" }→ returns the gap list ranked by severity.
Common patterns
Scan → fix loop (Core)
Onboarding a new AI system (Builder)
Continuous compliance (Analytics)
Roadmap
Current set: 13 tools (Core 7 + Builder 3 + Analytics 3). Future additions (post-v1.1.0):- Guard tools (V2-M03, after Guard MVP G-M01) —
complior_guard_check,complior_guard_pii,complior_guard_bias - SaaS Dashboard tools (V2-M07, after cloud deploy) — fleet view, sync status