# Deedglass

> Deedglass is an open-source MCP server for security. Rules for each agent tool call, then a check of what a database really changed. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, Linux, Windows, CLI, self-hosted
- **Website:** https://deedglass.com
- **Repository:** https://github.com/deedglass/deedglass
- **MCP Registry name:** io.github.deedglass/deedglass
- **Categories:** security, developer tools
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/deedglass
