| name | mempalace |
| description | MemPalace is a local-first AI memory system. It stores conversation context, Use when this capability is needed. |
| metadata | {"author":"bunkerlab-net"} |
MemPalace
MemPalace is a local-first AI memory system. It stores conversation context,
project knowledge, and code insights in an embedded SQLite database accessible
via MCP tools or the mempalace CLI. No cloud services or API keys required.
Architecture
Wings (top-level categories, e.g. projects, people, domains)
+-- Rooms (sub-topics within a wing)
+-- Drawers (verbatim memory chunks)
Tunnels connect related rooms across different wings.
When to Use MemPalace
- Remember context across sessions: call
mempalace_search when the user
references something that may have been discussed before.
- Wake up at the start of a session: check
mempalace_status and the
L0/L1 context from mempalace wakeup to orient yourself.
- File important facts: use
mempalace_add_drawer to store decisions,
preferences, milestones, and key facts the user wants to be remembered.
- Mine projects: run
mempalace mine <dir> to ingest a project directory
or conversation exports into the palace.
MCP Tools Quick Reference
Search and recall
mempalace_search(query, wing?, room?) -- keyword search with BM25 ranking
mempalace_list_wings() -- list all top-level wings
mempalace_list_rooms(wing) -- list rooms within a wing
mempalace_get_taxonomy() -- full wing/room/drawer tree
mempalace_traverse(room, wing?) -- graph traversal from a room
mempalace_find_tunnels(wing1, wing2) -- cross-wing connections
mempalace_follow_tunnels(wing, room?) -- follow tunnels from a location