Compartment MCP Server

With Compartment, your AI agent gets better with experience: it notices and permanently stores every decision, preference and detail offline, encrypted, to your own computer. Hermes, Claude, OpenClaw and other AI Agents are all hooked up to Compartment in one single command. One fully-transferable memory store is shared by all agents on the computer. 100% offline: no network, no API key, no cloud account, no…

People connecting memory tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-08-21 · ★ 589 · #5 OF 259 MAINTAINED MEMORY · VERIFIED 2026-08-25

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.8.0 · 2026-08-20

Memories can now carry an expiry date, and the whole of setup happens in the app. · Memories that expire · Some facts expire. A sale that ends on the 30th. A conference rate held until registration closes. A parking…

v4.7.0 · 2026-08-12

Many bug fixes and technical improvements. · Compartment installs as a portable Agent Plugin now, and Oh My Pi joins the clients compartment integrate knows by name. · Install it as a plugin · This repository is an…

v4.6.0 · 2026-08-10

Compartment installs as a portable Agent Plugin now, and Oh My Pi joins the clients compartment integrate knows by name. · Install it as a plugin · This repository is an Agent Plugins 1.0.0 package: plugin.json…

04 · Who maintains Compartment

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

05 · Facts

category
memory - ranked #5 of 259 actively-maintained memory servers as of 2026-08-25.
release cadence
10+ releases in the last 90 days (latest 2026-08-20)
registry
io.github.MaxFreedomPollard/compartment (active, first published 2026-07-26 · 23 versions)
packages
pypi:compartment

06 · Compartment FAQ

What is Compartment?

With Compartment, your AI agent gets better with experience: it notices and permanently stores every decision, preference and detail offline, encrypted, to your own computer. Hermes, Claude, OpenClaw and other AI Agents are all hooked up to Compartment in one single command. One fully-transferable memory store is shared by all agents on the computer. 100% offline: no network, no API key, no cloud account, no…

Is Compartment still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-21 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 · ★ 38,704
  2. X402 List MCP → filesystem companion filesystem · ★ 58