Compartment MCP Server

Encrypted, fully offline memory for AI agents. One vault on your own computer, read and written by Claude Code, Claude Desktop, Hermes Agent, OpenClaw, Cursor, Codex and any other MCP client. No API key, no account, no network, no telemetry. It runs locally over stdio via the published package.

People who work with encryption, vector database and agent memory and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-09-17 · ★ 581 · #9 OF 304 MAINTAINED MEMORY · VERIFIED 2026-09-18

Apache-2.0 · Python servers · how we verify → /methodology

01 · Install Compartment

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add maxfreedompollard-compartment -- uvx compartment

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "maxfreedompollard-compartment": {
      "command": "uvx",
      "args": [
        "compartment"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

repo age created 2026-07-20 - young repo, little track record yet

license Apache-2.0 - declared in the repository

pypi package compartment - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.MaxFreedomPollard is GitHub-verified and matches the repo owner

03 · What Compartment can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v4.10.0 · 2026-09-16

Newer memories now outrank older ones, and a memory ages by how much of the vault has been written since it rather than by the calendar: two weeks old means almost nothing in a quiet vault and a great deal in a busy one.

v4.9.6 · 2026-09-06

A RAM release. Every agent's MCP server used to carry its own copy of the encoder, and the encoder never gave memory back. Now the model runs once per machine, and the encoder stays small whatever it is asked to embed.…

v4.9.5 · 2026-09-03

A docs-and-packaging release: Compartment is now a Gemini CLI extension, and the README carries one-click install buttons for every client that has them. · Gemini CLI extension · gemini-extension.json at the repository…

04 · Who maintains Compartment

Compartment is maintained by maxfreedompollard. We track 2 MCP servers from maxfreedompollard - 1 actively maintained, 1,162 combined GitHub stars, oldest repo from Jul 2026.

05 · Facts

category
memory - ranked #9 of 304 actively-maintained memory servers as of 2026-09-18.
release cadence
10+ releases in the last 90 days (latest 2026-09-16)
registry
io.github.MaxFreedomPollard/compartment (active, first published 2026-07-26 · 31 versions)
packages
pypi:compartment

06 · Compartment FAQ

What is Compartment?

Encrypted, fully offline memory for AI agents. One vault on your own computer, read and written by Claude Code, Claude Desktop, Hermes Agent, OpenClaw, Cursor, Codex and any other MCP client. No API key, no account, no network, no telemetry. It runs locally over stdio via the published package.

Is Compartment still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-17 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install Compartment?

Run `uvx compartment`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does Compartment run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Compartment

Pairs well with

Servers that cover what Compartment doesn't - only shown when the pairing reason fits the companion.

  1. Server Filesystem → filesystem companion filesystem · ★ 39,038
  2. Pdf MCP → filesystem companion filesystem · ★ 135