gbrain vs MemPalace
Two of the top projects in Memory, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.
gbrain
Memory store with sources and a knowledge graph for coding agents
MemPalace
Local verbatim memory store for AI agents with semantic search and MCP
Verdict
gbrain ranks higher, 95 to 91. Of the 4 score parts we measure for both, gbrain leads on 2, MemPalace on 1 and 1 is even.
- AdoptionMemPalace leads by 4 points, 96 to 92: close to even.
- FreshnessEven at 100.
- Maintenancegbrain leads by 14 points, 97 to 83.
- Agent-readygbrain leads by 15 points, 85 to 70: a wide gap.
Pick gbrain if you are
Engineers giving Claude Code, Codex or other agents persistent, sourced memory
- Keyless start: embedded PGLite and keyword search, no server or API keys needed
- MCP access via local stdio, Tailscale tailnet exposure, or remote URL with token
Pick MemPalace if you are
Developers giving coding agents persistent, local long-term memory
- Stores original text verbatim; raw mode needs no LLM or API key
- Pluggable backends: Chroma, SQLite exact, Rust exact, Milvus, Qdrant, pgvector
| What we compare | gbrain | MemPalace |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 92, widely used | 96, widely used |
| Freshness | 100, active | 100, active |
| Maintenance | 97, healthy | 83, healthy |
| Agent-ready | 85, ready | 70, partly |
| Facts from GitHub and the README | ||
| Stars | 33.7k | 60.8k |
| License | MIT (permissive) | MIT (permissive) |
| Last commit | Nov 2026 | Nov 2026 |
| Last release | Nov 2026 | Nov 2026 |
| Language | TypeScript | Python |
| Docker | Yes | Yes |
| GPU | Not needed | Optional |
| arm64 or Apple Silicon | Mentioned | Mentioned |
gbrain
GBrain stores facts and markdown pages with their sources and exposes them over MCP to agents such as Claude Code, Codex, Cursor and ChatGPT. It starts keyless with keyword search on embedded PGLite, and optionally adds embeddings, reranking, a typed link graph, and `gbrain think`, which writes cited answers with gap notes. Postgres and a paid hosted option at gbrain.io are also available.
Who it is for: Engineers giving Claude Code, Codex or other agents persistent, sourced memory
Strengths
- Keyless start: embedded PGLite and keyword search, no server or API keys needed
- MCP access via local stdio, Tailscale tailnet exposure, or remote URL with token
- `gbrain think` answers carry citations and note stale or missing knowledge
- Swappable schema packs and a typed link graph; MIT license
Weaknesses
- Not on npm; install from GitHub with Bun 1.4.4 or newer
- Semantic search, synthesis and enrichment need separately configured, paid model providers
- Shared brains are not isolated against local file or shared DB credential access
- Always-on enrichment suggests a server with 8GB+ RAM plus its own API usage
- RAM ≥ 8 GB
- no GPU
- Compose
- Needs Bun 1.4.4+, PGLite or Postgres, Tailscale (optional, remote MCP), Embedding and chat provider API (optional)
MemPalace
MemPalace stores conversation history and project files as verbatim text, without summarizing, and retrieves it by semantic search scoped into wings (people, projects), rooms (topics) and drawers (original content). It defaults to ChromaDB with a pluggable backend interface, and exposes 47 MCP tools plus a SQLite temporal knowledge graph. The README reports 96.6% R@5 on LongMemEval in raw mode with no LLM.
Who it is for: Developers giving coding agents persistent, local long-term memory
Strengths
- Stores original text verbatim; raw mode needs no LLM or API key
- Pluggable backends: Chroma, SQLite exact, Rust exact, Milvus, Qdrant, pgvector
- Benchmarks reproducible from the repo with committed per-question results
- Auto-save hooks for Claude Code, Codex CLI and Cursor; 47 MCP tools
Weaknesses
- Native Termux install unsupported; Android needs a Debian PRoot container
- Claude Code sessions expire in 30 days unless auto-save hooks are wired
- First embedding call downloads a model of about 80-300 MB
- GPU optional
- Docker + Compose
- Needs Python 3.10+, ChromaDB (default), Milvus (optional), Qdrant (optional), Postgres pgvector (optional)
- Models: minilm, embeddinggemma, OpenAI-compatible embeddings endpoints
More in Memory
Building with these?
We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.
AI app development →Send a project brief (opens in a new tab)