Compartment
Offline encrypted vector memory for AI agents, with local persistence, hybrid search, expiration, and no API key or network.
Install Compartment
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"compartment": {
"command": "uvx",
"args": [
"compartment"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
We couldn’t confirm it starts correctly
The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.
uvx compartmentProcess exited before answering initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked Today.
Overview
Use cases
- Share agent memory across sessions and projects
- Store private preferences and decisions locally
- Recall machine configuration without a cloud service
- Expire temporary facts such as bookings or access codes
- Audit and replace changing opinions
Key features
- Encrypted local vault with encrypted embedding vectors
- Hybrid vector and keyword recall
- Bundled offline embedding model
- Source and discovery-date tracking
- Memory expiration and supersession
- Batch storage and memory atomization
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 9d ago via OSV.dev · compartment (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Compartment works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Compartment
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/compartment)<a href="https://allmcps.com/mcp/compartment"><img src="https://allmcps.com/api/badge/compartment?style=directory" alt="Compartment on AllMCPs" /></a>