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
- repository
- github.com/maxfreedompollard/compartment
- 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
Alternatives to Compartment
Maintained memory servers if Compartment isn't the fit.
- Codebase Memory Codebase knowledge graph for AI agents - 162 languages, sub-ms queries, 99% fewer tokens. ★ 43,715 · 2026-09-18
- Superlog Open-source agent that observes and fixes your application. Query logs, traces, metrics, incidents. ★ 1,449 · 2026-09-17
- Tradememory Protocol Tamper-evident decision audit trail and outcome-weighted memory for AI trading agents. ★ 1,419 · 2026-09-14
- Persome Local-first personal memory and model server for trusted MCP agents on macOS. ★ 1,322 · 2026-08-21
- Neo4j Memory MCP Neo4j Knowledge Graph Memory Server ★ 984 · 2026-09-09
- Projectmem Coding agent memory - one local MCP server for every project. Warns before repeating failed fixes. ★ 826 · 2026-09-15
Pairs well with
Servers that cover what Compartment doesn't - only shown when the pairing reason fits the companion.
More memory MCP servers · Synap Memory · Ariadne (mclaut) · Claude Code Organizer · Forkmind · MemoFS MCP Server
More Python MCP servers · Maximo Enterprise MCP · Cities2 MCP and Modding Toolkit · Voicemode · Okama MCP · see all