# Vestige

> Vestige is an open-source MCP server for security. Local memory and a safety gate for AI coding agents, with a signed, verifiable log. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI
- **Repository:** https://github.com/samvallad33/vestige
- **MCP Registry name:** io.github.samvallad33/vestige
- **Categories:** [security](https://ai-powered.com/categories/security), [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-18

## About

Vestige combines two jobs. As memory, it keeps what happened in earlier sessions and can trace a failure to the change that caused it. As a gate, 102 fixed rules inspect each tool call before it runs and block things such as recursive deletes and credential dumps. An earlier approval does not carry over: a one-time owner permit lasts 15 minutes, then the agent must ask again.

Every write is signed and hash chained so anyone can verify the log offline. It is written in Rust, runs on an ordinary CPU with no LLM, GPU or cloud calls, and uses no embeddings or vectors. The README reports retrieval benchmarks such as 91.28% on LongMemEval_S, measuring whether the right memory returned in the top five, and notes the settings were tuned on those datasets.

Setup is npx @vestige/init --guard then vestige serve. The licence is AGPL-3.0.

## Features

- **Cross-session memory:** Remembers earlier sessions and traces failures to causes.
- **Pre-call safety gate:** 102 rules check tool calls before they run.
- **Expiring permits:** Owner approvals last 15 minutes.
- **Signed log:** Hash-chained writes verifiable offline.
- **CPU only:** No LLM, GPU or cloud calls.
- **Retrieval benchmarks:** Published results with settings disclosed.

## Good for

- Block destructive commands from an autonomous coding agent
- Trace a regression to the session change behind it
- Keep an auditable record of what an agent did
- Give agents memory without a vector database

## Install

### Claude Code (Terminal)

```sh
claude mcp add vestige -- npx -y vestige-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "vestige": {
      "command": "npx",
      "args": [
        "-y",
        "vestige-mcp-server"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "vestige": {
      "command": "npx",
      "args": [
        "-y",
        "vestige-mcp-server"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "vestige": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "vestige-mcp-server"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "vestige": {
      "command": "npx",
      "args": [
        "-y",
        "vestige-mcp-server"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "vestige": {
      "command": "npx",
      "args": [
        "-y",
        "vestige-mcp-server"
      ]
    }
  }
}
```

## FAQ

### Does it call the cloud?

No. The README says it runs on your machine with no LLM, GPU or cloud calls.

### What does the gate block?

Examples named are recursive deletes and credential dumps.

### How long does an approval last?

A one-time owner permit lasts 15 minutes.

### What licence?

AGPL-3.0.

### Is Vestige free?

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

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

Run this command in your terminal: claude mcp add vestige -- npx -y vestige-mcp-server

### What are the best alternatives to Vestige?

The closest alternatives to Vestige are REA, Codebase Memory, XERJ, Claude Code Ultimate Guide and AiSOC.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## 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.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [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.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.

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