# Verfy

> Verfy is an open-source MCP server for security. A lockfile for MCP tools: blocks changed tool definitions and signs a receipt per call. It runs locally on your machine and is started by your AI client.

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

## About

Verfy pins the SHA-256 of each MCP tool's exact definition in a verfy.lock you commit. If a server later alters a tool, the tool is hidden, calls are denied and CI fails the pull request with a readable diff. The site cites its own check of 46 popular servers, in which about one in three patch releases changed a tool definition, with nothing malicious found.

A guard checks each call against fixed allow, ask or deny rules for shell, files, URLs, SQL and payments, with no LLM verdicts. Every checked call gets an Ed25519-signed, hash-chained receipt that verfy verify can check offline. A scanner flags tool poisoning and leaked keys, and verfy run --sandbox uses Anthropic's sandbox runtime.

The registry entry is the PyPI package at 0.23.1. Hooks target Claude Code, Codex and Gemini CLI, with Cursor and others in beta.

## Features

- **Tool lockfile:** Pins each tool definition by hash.
- **CI check:** Fails a pull request when a tool changed.
- **Signed receipts:** Chained, offline-verifiable records of each call.
- **Rule-based guard:** Deterministic allow, ask or deny decisions.
- **Config scan:** Flags poisoning, hidden instructions and plain-http servers.

## Good for

- Detect a silent MCP tool update
- Block a risky shell command from an agent
- Produce audit evidence of agent actions
- Review an MCP config before approval

## Install

### Claude Code (Terminal)

```sh
claude mcp add verfy -- uvx verfy
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "verfy": {
      "command": "uvx",
      "args": [
        "verfy"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "verfy": {
      "command": "uvx",
      "args": [
        "verfy"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "verfy": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "verfy"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "verfy": {
      "command": "uvx",
      "args": [
        "verfy"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "verfy": {
      "command": "uvx",
      "args": [
        "verfy"
      ]
    }
  }
}
```

## FAQ

### Does an LLM decide what is blocked?

No. Fixed rules decide.

### Is it free?

The CLI is MIT; Verfy Cloud is free during beta and paid plans are not on sale.

### Which agents does it support?

Claude Code, Codex and Gemini CLI, with three more in beta.

### Can it run in CI?

Yes, verfy lock check or the GitHub Action.

### Is Verfy free?

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

### How do I add Verfy to Claude Code?

Run this command in your terminal: claude mcp add verfy -- uvx verfy

### What are the best alternatives to Verfy?

The closest alternatives to Verfy 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/verfy
