mcpbeat Sign in

Compartment MCP Server

by maxfreedompollard Your server? Claim it
local only

Compartment runs on your own machine — the client starts it, so there is no endpoint to ping. 1 217 installs a week from pypi. Last commit 8 Nov 2026.

Durable agentic memory, encrypted at rest. Fully offline: no network, no API key, no cloud.

Installs per day peak 463 · avg 157 · +24% w/w
a month agotoday
1 217
Installs / week
pypi · compartment
570
Stars
1 open issue
8 Nov 2026
Last commit
from GitHub
Apache-2.0
License
Python

What the code does

We read the source, 12 h ago · rules 995398eba69f

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

            for p in sorted(root.rglob("*")):
        return "doas pkg_add python-tkinter"
Deletes files or strips permissions tools/build_macos_app.py:883
        '  /bin/rm -rf "/Users/$USER_NAME/Applications/Compartment.app" || true\n'
Runs commands and sends data out [пакет] src/compartment/cli.py:465
        proc = subprocess.Popen(argv, **kwargs)
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

        subprocess.run(["iconutil", "-c", "icns", str(iconset),
Runs an external command integrations/omp/extension.ts:34
    return spawnSync(BIN, args, { encoding: "utf8", timeout: timeoutMs });
Executes code built at runtime tools/build_macos_app.py:97
    exec((ROOT / "src" / "compartment" / "__init__.py").read_text(
            for p in sorted(root.rglob("*")):

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch Compartment and you get told the day something new turns up.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add compartment -- uvx compartment
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "compartment": {
      "command": "uvx",
      "args": [
        "compartment"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.compartment]
command = "uvx"
args = ["compartment"]
.cursor/mcp.json
{
  "mcpServers": {
    "compartment": {
      "command": "uvx",
      "args": [
        "compartment"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "compartment": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "compartment"
      ]
    }
  }
}

Alternatives to Compartment

same job, measured the same way
Midas
by vornicx

Local-first, source-traceable agent memory — no LLM at ingest, fully offline

111 installs/wk local only
adrkit decision memory
by adrkit

Deterministic, offline, read-only ADR decision memory for coding agents. No model or network calls.

796 installs/wk local only
Vanguard Memory Node
by ezumba

Local deterministic BM25 memory for AI agents. Offline-first, no API key, SHA-256 shards, stdio.

43 installs/wk local only
Tdai Memory MCP
by tinhien11

Local-first MCP memory server for coding agents. No API key, no cloud. SQLite + FTS5 + sqlite-vec.

85 installs/wk local only
KeibiDrop
by keibisoft

Give two agents on two machines the same encrypted folder. P2P, no cloud, only read bytes move.

local only
Code Memory
by kapillamba4

Local semantic code search with Git history. Works offline, no API key needed.

245 installs/wk local only
Turbo Quant Memory
by lexus2016

Local-first memory and knowledge graph for coding agents. Compact retrieval, no network.

234 installs/wk local only
Diff MCP
by mrfentmen

Compare two texts or files and show line changes locally. No network and no key.

106 installs/wk local only

Compartment — questions

Answers built from our own checks of this server.

Why is there no uptime for Compartment?
Compartment runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package compartment was installed 1 217 times last week.
How do I connect Compartment?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls compartment straight from pypi; nothing to host, nothing to sign up for.
How many people use Compartment?
The pypi package compartment was installed 1 217 times in the last week. Week over week that is +24%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Compartment open source?
Yes — it is published under the Apache-2.0 licence, written in Python, 570 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.