Skip to content
MCP server

Glassbox Framework

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.3
Listing updated
5 days ago

About Glassbox Framework

Glassbox Framework is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add glassbox-framework --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- npx -y @glassbox-framework/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "glassbox-framework": {
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "glassbox-framework": {
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "glassbox-framework": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "glassbox-framework": {
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "glassbox-framework": {
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ANTHROPIC_API_KEYYour 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.Required
  • GLASSBOX_MODELOverride the Claude model used by the verification engines. Defaults to claude-sonnet-4-6.
  • GLASSBOX_MAX_TOKENSPer-engine-call max-tokens cap. Defaults to 2048; raise for verifying long-form content.
  • GLASSBOX_ECS_MODEECS aggregation mode: arithmetic (weighted mean, default) or geometric (stricter — any zero dimension collapses the total).

Pricing

Open source

Glassbox Framework FAQ

Is Glassbox Framework free?

Yes. Glassbox Framework is open source, so you can use and self-host it for free.

How do I add Glassbox Framework to Claude Code?

Run this command in your terminal: claude mcp add glassbox-framework --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- npx -y @glassbox-framework/mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers