Codemem vs Agentdb
Codemem and Agentdb are both knowledge and memory MCP servers. Agentdb scores higher (94 vs 86 out of 100). Agentdb has more GitHub stars (110), and Codemem was updated more recently (yesterday). The table compares them side by side.
| Codemem | Agentdb | |
|---|---|---|
| Score | 86 / 100 | 94 / 100 |
| What it does | Codemem gives AI coding agents persistent memory of decisions, dead ends, and repository-specific traps across sessions. It brings relevant memories into later prompts and stores them in local SQLite. It is built for developers using OpenCode, Claude Code, Codex, or the Pi coding agent. | AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline. |
| Publisher | Verified: npm:codemem | Verified: npm:agentdb |
| Grades | Maintenance A, Licence A, Quality B | Maintenance A, Licence A, Quality B |
| npm downloads a week | 4,023 | 169,188 |
| Runs | Local | Local |
| Works with | Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Windsurf | Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Windsurf |
| GitHub stars | 84 | 110 |
| Last commit | 4 Dec 2026 | 11 Nov 2026 |
| Licence | MIT | MIT |
| Listed since | 20 Oct 2026 | 20 Oct 2026 |
| Install Codemem | Install Agentdb |
Questions
Is Codemem or Agentdb more popular?
Agentdb has more GitHub stars: 110.
Can I use Codemem and Agentdb together?
Yes. AI assistants can load several MCP servers at once. Install both and the assistant picks the right one for each task.