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. 5 332 installs a week from pypi. Last commit 18 Sep 2026.

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

Installs per day peak 2 271 · avg 442 · +27% w/w
a month agotoday
5 332
Installs / week
pypi · compartment
582
Stars
0 open issues
18 Sep 2026
Last commit
0 releases in 90 days
Apache-2.0
License
Python

What the code does

We read the source, 23 h ago · rules 3dff92dd89df

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("*")):
Deletes files or strips permissions tools/build_macos_app.py:513
        '  /bin/rm -rf "/Users/$USER_NAME/Applications/Compartment.app" || true\n'
Runs commands and sends data out [пакет] src/compartment/cli.py:350
        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:71
    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": {
      "args": [
        "compartment"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.compartment]
command = "uvx"
args = ["compartment"]
.cursor/mcp.json
{
  "mcpServers": {
    "compartment": {
      "args": [
        "compartment"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "compartment": {
      "args": [
        "compartment"
      ],
      "command": "uvx"
    }
  }
}

Alternatives to Compartment

same job, measured the same way
Midas
by vornicx

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

59 installs/wk local only
adrkit decision memory
by adrkit

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

509 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.

72 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.

126 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.

264 installs/wk local only
Turbo Quant Memory
by lexus2016

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

local only
Motecloud Memory
by motecloud

Cloud-hosted MCP server for durable AI memory

answering

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 5 332 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 with the file path 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 5 332 times in the last week. Week over week that is +27%. 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 and 582 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.