Compartment
CommunityMCP server by MaxFreedomPollard · updated · ★ 583
Durable agentic memory, encrypted at rest. Fully offline: no network, no API key, no cloud. Compartment is a community project by MaxFreedomPollard, not verified by a company domain.
Last commit 4 days ago
Apache-2.0: permissive, fine for commercial use
Clear description, published package or server URL, 583 stars, original repository
No risky patterns in the files we checked
Install Compartment
Built from the published package, never by AIclaude mcp add compartment -- uvx compartmentRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"compartment": {
"command": "uvx",
"args": [
"compartment"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"compartment": {
"command": "uvx",
"args": [
"compartment"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"compartment": {
"command": "uvx",
"args": [
"compartment"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add compartment -- uvx compartment{
"mcpServers": {
"compartment": {
"command": "uvx",
"args": [
"compartment"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add compartment uvx compartmentGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the compartment block.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Compartment
All alternatives →Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants.
Standalone Model Context Protocol client for pi and other applications
MCP (Model Context Protocol) adapter extension for Pi coding agent
MCP (Model Context Protocol) client extension for the Pi coding agent — connect Pi to any MCP server
Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code
Compartment: common questions
How do I install Compartment?
In Claude Code run claude mcp add compartment -- uvx compartment. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Compartment the official server?
Compartment is a community project by MaxFreedomPollard, not verified by a company domain.
Is Compartment free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Compartment safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Compartment?
Similar MCP servers: Codebase Memory, ha-mcp, Pi MCP, Pi MCP Adapter.
Does Compartment work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
