AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

Compartment vs Codebase Memory

Compartment and Codebase Memory are both knowledge and memory MCP servers. Codebase Memory scores higher (94 vs 85 out of 100). Codebase Memory has more GitHub stars (47k), and Codebase Memory was updated more recently (3 days ago). The table compares them side by side.

CompartmentCodebase Memory
Score85 / 10094 / 100
What it doesDurable agentic memory, encrypted at rest. Fully offline: no network, no API key, no cloud.Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
PublisherCommunity: MaxFreedomPollardCommunity: DeusData
GradesMaintenance A, Licence A, Quality AMaintenance A, Licence A, Quality A
npm downloads a weekNot on npm5,385
RunsLocalLocal
Works withClaude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, WindsurfClaude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Windsurf
GitHub stars58346,937
Last commit17 Oct 202619 Oct 2026
LicenceApache-2.0MIT
Listed since19 Oct 202619 Oct 2026
Install CompartmentInstall Codebase Memory

Questions

Is Compartment or Codebase Memory more popular?

Codebase Memory has more GitHub stars: 46,937.

Can I use Compartment and Codebase Memory together?

Yes. AI assistants can load several MCP servers at once. Install both and the assistant picks the right one for each task.