Home › Other › glassbox

glassbox

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

TypeScript
★ 11 stars Last pushed 2026-09-24 License: Apache-2.0

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 1.0.3)

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

Or add to your MCP client config:

{
  "mcpServers": {
    "glassbox": {
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/[email protected]"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "GLASSBOX_MODEL": "<YOUR_VALUE>",
        "GLASSBOX_MAX_TOKENS": "<YOUR_VALUE>",
        "GLASSBOX_ECS_MODE": "<YOUR_VALUE>"
      }
    }
  }
}
  • ANTHROPIC_API_KEY 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 — 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).

Related servers

Data from the Official MCP Registry