MCP directory
GF

Glassbox Framework

by github.com/TheBarmaEffect · v1.0.3 · updated May 25, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @glassbox-framework/[email protected]

Environment variables

  • ANTHROPIC_API_KEYrequiredsecret

    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

    Override the Claude model used by the verification engines. Defaults to claude-sonnet-4-6.

  • GLASSBOX_MAX_TOKENS

    Per-engine-call max-tokens cap. Defaults to 2048; raise for verifying long-form content.

  • GLASSBOX_ECS_MODE

    ECS aggregation mode: arithmetic (weighted mean, default) or geometric (stricter — any zero dimension collapses the total).

More MCP servers