
MemPal
by zhanghandong
High-performance project memory for coding agents with hybrid search and a knowledge graph.
What it does
MemPal provides persistent, searchable memory for AI coding agents. It allows agents to save decision contexts and rationale during a project, then retrieve them later using a hybrid search engine (BM25 + Vector) to ensure consistency across sessions.
Tools
mempal_search: Hybrid semantic and keyword search for project memories.mempal_ingest: Persists a memory/decision with importance ranking.mempal_kg: Manages a knowledge graph of entity relationships.mempal_fact_check: Detects contradictions against stored KG triples.mempal_cowork_push: Sends handoff messages between different agents (e.g., Claude ↔ Codex).mempal_status: Provides current memory state and the MEMORY_PROTOCOL spec.
Installation
Install via cargo:
cargo install --path crates/mempal-cli --locked
Then run mempal serve --mcp to start the server.
Supported hosts
Confirmed for Claude Code and Codex.
Quick install
cargo install --path crates/mempal-cli --lockedInformation
- Pricing
- free
- Published
- 5/13/2026
- stars






