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_KEYEnv var· required· secretYour 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_MODELEnv var· optionalOverride the Claude model used by the verification engines. Defaults to claude-sonnet-4-6.Default:claude-sonnet-4-6GLASSBOX_MAX_TOKENSEnv var· optionalPer-engine-call max-tokens cap. Defaults to 2048; raise for verifying long-form content.Default:2048GLASSBOX_ECS_MODEEnv var· optionalECS aggregation mode: arithmetic (weighted mean, default) or geometric (stricter — any zero dimension collapses the total).Default:arithmetic
Links
Listed in the official MCP Registry since May 25, 2026. Mirrored daily; last checked Nov 26, 2026.