glassbox-mcp

v4.2.4
glassbox-mcp Checked 2 days ago Published 8 months ago

MCP server for Glassbox — mechanistic interpretability + EU AI Act Annex IV compliance tools for Claude and any MCP-compatible client

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

glassbox_circuit_discovery

Blocking circuit discovery worker — call via asyncio.to_thread.

ParameterTypeDescription
params *

glassbox_faithfulness_metrics

Compute faithfulness metrics (sufficiency, comprehensiveness, F1) and compliance grade. These metrics measure how well a circuit of attention heads explains the model's prediction. From arXiv 2603.09988: - Sufficiency 1.00: cited heads fully explain the prediction - Comprehensiveness 0.22: ablating them still leaves backup mechanisms intact - F1 0.64: reflects the sufficiency/comprehensiveness gap - Compliance grade: B (F1 >= 0.65 → B) IMPORTANT: Grade is based on faithfulness F1, NOT model confidence. Confidence-faithfulness correlation r=0.009…

ParameterTypeDescription
params *

glassbox_compliance_report

Generate a complete EU AI Act Annex IV technical documentation report. Produces all 9 required sections grounded in Glassbox's causal interpretability analysis. The compliance grade is based on faithfulness F1 (not model confidence). Output is GRC-importable JSON. Enforcement: August 2026 for high-risk AI systems. GPAI models: Article 51-55 obligations apply additionally. Args: params: ComplianceReportInput with model info, metrics, and intended use Returns: JSON compliance report with all 9 Annex IV sections and compliance grade

ParameterTypeDescription
params *

glassbox_attention_patterns

Blocking attention pattern worker — call via asyncio.to_thread.

ParameterTypeDescription
params *

glassbox_logit_lens

Blocking logit lens worker — call via asyncio.to_thread.

ParameterTypeDescription
params *