# XVcache

> XVcache is an open-source MCP server for files and documents. Open-source MCP server giving Markdown notes dated, tamper-evident integrity proofs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, macOS, Windows, Linux
- **Repository:** https://github.com/xvcache/xvcache
- **MCP Registry name:** io.github.xvcache/xvcache
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-23

## About

XVcache lets an AI assistant record when a Markdown note existed and whether it has changed since. Only a fingerprint and a Merkle root leave the machine, so the note text stays local. Each check returns a one-letter verdict: V when the file matches what was stamped, X when it was edited outside XVcache.

The server runs locally over stdio and is published on npm as xvcache-mcp. Local timestamps come from FreeTSA by default, which is not a qualified eIDAS service. With your own Certigna account, the same flow produces qualified timestamps, and each check can also be anchored publicly through OpenTimestamps.

It suits professionals who keep dated working records of Markdown documents, such as legal drafts, audit notes or design change logs. Lawyers, auditors and engineering teams are the audience the documentation names. A one-page PDF report summarises each certified file.

## Features

- **Integrity verdict per file:** Returns V when a note matches its last fingerprint and X when it was modified outside XVcache.
- **Local content, hashes only:** Note text stays on the machine; only SHA-256 fingerprints and a Merkle root are sent for timestamping.
- **Batched RFC 3161 timestamps:** One timestamp token covers many notes through a shared Merkle root.
- **Dual anchoring:** Optional OpenTimestamps anchor in Bitcoin alongside the RFC 3161 token.
- **Chained JSONL journal:** Records reads and writes in a sha256-chained log that can be inspected or verified from the shell.
- **PDF verification report:** Generates a one-page report with the date, fingerprint, provider and verdict.

## Good for

- Showing that a legal draft or consultation note existed on a given date
- Keeping an audit trail of changes to working papers
- Detecting edits made to Markdown notes outside the assistant
- Dating design or technical notes to settle questions about who changed what and when
- Certifying batches of notes with a single timestamp

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add xvcache --env XVCACHE_VAULT='<XVCACHE_VAULT>' --env XVCACHE_TSA_USER='<XVCACHE_TSA_USER>' --env XVCACHE_TSA_PASSWORD='<XVCACHE_TSA_PASSWORD>' -- npx -y xvcache-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "xvcache": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add xvcache --env XVCACHE_VAULT='<XVCACHE_VAULT>' --env XVCACHE_TSA_USER='<XVCACHE_TSA_USER>' --env XVCACHE_TSA_PASSWORD='<XVCACHE_TSA_PASSWORD>' -- npx -y xvcache-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.xvcache]
command = "npx"
args = ["-y", "xvcache-mcp"]
env = { XVCACHE_VAULT = "<XVCACHE_VAULT>", XVCACHE_TSA_USER = "<XVCACHE_TSA_USER>", XVCACHE_TSA_PASSWORD = "<XVCACHE_TSA_PASSWORD>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e XVCACHE_VAULT='<XVCACHE_VAULT>' -e XVCACHE_TSA_USER='<XVCACHE_TSA_USER>' -e XVCACHE_TSA_PASSWORD='<XVCACHE_TSA_PASSWORD>' xvcache npx -- -y xvcache-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "xvcache": {
      "command": "npx",
      "args": [
        "-y",
        "xvcache-mcp"
      ],
      "env": {
        "XVCACHE_VAULT": "<XVCACHE_VAULT>",
        "XVCACHE_TSA_USER": "<XVCACHE_TSA_USER>",
        "XVCACHE_TSA_PASSWORD": "<XVCACHE_TSA_PASSWORD>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 4 tools changes data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `read_note` (name suggests: reads): Reads a note from the vault and logs the access.
- `search_notes` (name suggests: reads): Searches notes in the vault.
- `write_note` (name suggests: changes): Writes a note in the vault, capped at 256 KiB per call.
- `verify_journal`: Returns V or X for a note against the journal.

## FAQ

### Which tools does the server expose?

read_note, search_notes, write_note and verify_journal are available now. Additional tools cover certification, proof verification, PDF reports and offer information.

### Which file types are supported?

Only Markdown (.md) notes inside the configured vault folder are in scope. PDF, Word and images are not supported yet.

### Is the default timestamp qualified?

No. The default FreeTSA provider is not qualified and carries no legal presumption. A qualified timestamp requires a Certigna account, which you configure yourself.

### Is XVcache free?

The open-source server and local V/X verification are free. Certigna tokens are bought from Certigna directly.

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

Run this command in your terminal: claude mcp add xvcache --env XVCACHE_VAULT='<XVCACHE_VAULT>' --env XVCACHE_TSA_USER='<XVCACHE_TSA_USER>' --env XVCACHE_TSA_PASSWORD='<XVCACHE_TSA_PASSWORD>' -- npx -y xvcache-mcp

### What are the best alternatives to XVcache?

The closest alternatives to XVcache are Visimark, Proofmark Notes, Stashpad, Chronoverify and Markdown Vault MCP.

## Where this comes from

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

## Alternatives

- [Visimark](https://ai-powered.com/mcp/visimark): Visimark is an open-source MCP server for files and documents.
- [Proofmark Notes](https://ai-powered.com/mcp/proofmark-notes): Proofmark Notes is an open-source MCP server for knowledge and memory.
- [Stashpad](https://ai-powered.com/mcp/stashpad): Stashpad is an open-source MCP server for files and documents.
- [Chronoverify](https://ai-powered.com/mcp/chronoverify): Chronoverify is a freemium MCP server for files and documents.
- [Markdown Vault MCP](https://ai-powered.com/mcp/markdown-vault-mcp): Markdown Vault MCP is a free MCP server for files and documents.
- [Mark](https://ai-powered.com/mcp/mark): Mark is a freemium MCP server for files and documents.
- [Document Converter](https://ai-powered.com/mcp/document-converter): Document Converter is an open-source MCP server for files and documents.
- [OmniClip RAG](https://ai-powered.com/mcp/omniclip-rag): OmniClip RAG is an open-source MCP server for files and documents.

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