3ngram Server vs Codebase Memory
3ngram Server and Codebase Memory are both knowledge and memory MCP servers. Codebase Memory scores higher (94 vs 76 out of 100). Codebase Memory has more GitHub stars (47k), and 3ngram Server was updated more recently (2 days ago). The table compares them side by side.
| 3ngram Server | Codebase Memory | |
|---|---|---|
| Score | 76 / 100 | 94 / 100 |
| What it does | MCP server and REST API for persistent, typed AI-agent memory. | Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens. |
| Publisher | Verified: npm:@3ngram | Community: DeusData |
| Grades | Maintenance A, Licence A, Quality C | Maintenance A, Licence A, Quality A |
| npm downloads a week | 164 | 5,385 |
| 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 | 3 | 46,937 |
| Last commit | 20 Oct 2026 | 19 Oct 2026 |
| Licence | Apache-2.0 | MIT |
| Listed since | 20 Oct 2026 | 19 Oct 2026 |
| Install 3ngram Server | Install Codebase Memory |
Questions
Is 3ngram Server or Codebase Memory more popular?
Codebase Memory has more GitHub stars: 46,937.
Can I use 3ngram Server 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.