Skip to main content

Glassbox Framework

io.github.TheBarmaEffect/glassbox-framework

v1.0.3Updated May 25, 2026stdio · npm

Runtime constitutional verification for AI answers — claim reasoning, ECS, red team, audits.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add glassbox-framework -e 'ANTHROPIC_API_KEY=<your-anthropic-api-key>' -e GLASSBOX_MODEL=claude-sonnet-4-6 -e GLASSBOX_MAX_TOKENS=2048 -e GLASSBOX_ECS_MODE=arithmetic -- npx -y @glassbox-framework/[email protected]

Configuration

4 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • ANTHROPIC_API_KEY
    Env var· required· secret
    Your Anthropic API key (sk-ant-...). Required for the claim extractor, red team, constitution engines, and ECS coherence checks. One v1 tool (generate_trust_card) works without an API key — it's pure assembly + deterministic audit hashing.
  • GLASSBOX_MODEL
    Env var· optional
    Override the Claude model used by the verification engines. Defaults to claude-sonnet-4-6.Default: claude-sonnet-4-6
  • GLASSBOX_MAX_TOKENS
    Env var· optional
    Per-engine-call max-tokens cap. Defaults to 2048; raise for verifying long-form content.Default: 2048
  • GLASSBOX_ECS_MODE
    Env var· optional
    ECS aggregation mode: arithmetic (weighted mean, default) or geometric (stricter — any zero dimension collapses the total).Default: arithmetic

Listed in the official MCP Registry since May 25, 2026. Mirrored daily; last checked Nov 26, 2026.