Skip to content
MCP server

Deedglass

Rules for each agent tool call, then a check of what a database really changed

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
macOS, Linux, Windows
Runs
Locally
Version
0.15.0
Listing updated
2 days ago

About Deedglass

Deedglass is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

The core idea is that an agent's own report is not evidence. In the project's demo a support agent sends one UPDATE and says it changed one row, but an old trigger on the orders table changes 300 more. Deedglass reads Postgres's own change log, counts every row that transaction touched, flags the mismatch and shows a before-and-after diff.

Each tool call is first decided by rules that allow, block or ask a person. Results are graded Matches, Doesn't match or Can't check, and sealed as signed records that can be verified offline. Undoing rows is itself a write, so the rules ask a person to approve it first. The pitch covers databases and health records, with FHIR R4 support for healthcare.

It installs with npx or a shell script and runs on your own computer with no account, Docker or database setup. The README says the core, SDKs and CLI are Apache-2.0, with the features in ee/ under FSL-1.1-ALv2 converting to Apache-2.0 after two years. Every feature is currently free, and the registry entry lists an agent key from deedglass init as configuration.

Install

Run in a terminal

claude mcp add deedglass --env DEEDGLASS_API_KEY='<DEEDGLASS_API_KEY>' -- npx -y deedglass

Add to claude_desktop_config.json

{
  "mcpServers": {
    "deedglass": {
      "command": "npx",
      "args": [
        "-y",
        "deedglass"
      ],
      "env": {
        "DEEDGLASS_API_KEY": "<DEEDGLASS_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "deedglass": {
      "command": "npx",
      "args": [
        "-y",
        "deedglass"
      ],
      "env": {
        "DEEDGLASS_API_KEY": "<DEEDGLASS_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "deedglass": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "deedglass"
      ],
      "env": {
        "DEEDGLASS_API_KEY": "<DEEDGLASS_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "deedglass": {
      "command": "npx",
      "args": [
        "-y",
        "deedglass"
      ],
      "env": {
        "DEEDGLASS_API_KEY": "<DEEDGLASS_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "deedglass": {
      "command": "npx",
      "args": [
        "-y",
        "deedglass"
      ],
      "env": {
        "DEEDGLASS_API_KEY": "<DEEDGLASS_API_KEY>"
      }
    }
  }
}

Configuration

  • DEEDGLASS_SERVERYour Deedglass server
  • DEEDGLASS_API_KEYAn agent key from deedglass init

What it does

Rules per tool call
Allow, block or ask a person before each agent action runs.
Change verification
Compares what the agent reported with what Postgres's change log shows, graded Matches, Doesn't match or Can't check.
Sealed records
Signs each result so it can be checked offline.
Approved undo
Restores changed rows after a person approves the rollback.
Config scan grade
deedglass scan gives an A to F grade for an MCP configuration.
Healthcare support
Includes FHIR R4 and clinical write verification for health data.

Good for

  • Catch a trigger that changes far more rows than an agent reported
  • Guard Claude Code or Cursor before they write to Postgres
  • Keep an auditable record of what an agent changed in a clinical system
  • Roll back a watched agent session after review

Pricing

Open source

Every feature free while the project grows; paid support and hosting planned

Prices change. Check deedglass.com before you buy.

Deedglass FAQ

Does it need an account or Docker?

No. One npx command opens a browser app on your own computer with no account, sign-up or database to set up.

Which agents does it work with?

The site lists Claude Code, Cursor, Windsurf, VS Code, Goose, the OpenAI Agents SDK and LangChain.

What does it cost?

Every feature is free while the project grows, and the site says anything free today stays free for people who run it themselves. Paid support and a hosted version are planned.

Does it send data to the maintainers?

The site says records stay on your computer and nothing calls home by default.

What licence does it use?

Core, SDKs and CLI are Apache-2.0; features in ee/ are FSL-1.1-ALv2, which becomes Apache-2.0 two years after each release.

Is Deedglass free?

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

How do I add Deedglass to Claude Code?

Run this command in your terminal: claude mcp add deedglass --env DEEDGLASS_API_KEY='<DEEDGLASS_API_KEY>' -- npx -y deedglass

What are the best alternatives to Deedglass?

The closest alternatives to Deedglass are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Deedglass

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools