What it does
Palace stores what coding agents do and learn, such as decisions, fixes, commands and preferences, as text kept verbatim in one SQLite file. Items are organised into wings, rooms and drawers, alongside a time-stamped knowledge graph and per-agent diaries. Search combines BM25 keyword scoring with cosine similarity over local embeddings, and each result cites its wing, room, source file and score breakdown. Hooks inject relevant memory at session start, on prompts and during investigation. It is listed for clients including Claude Code, Codex, Cursor, Gemini CLI, VS Code, Cline, Zed, Goose, Windsurf and Claude Desktop.
It suits cases where agents repeat rejected approaches or rediscover conventions in every new session. Topic wings can hold chat history or meeting notes without a project folder, and the creative and personal profiles adapt it to fiction, worldbuilding, coaching or household notes.
Setup means installing the palace binary through a shell script, PowerShell script, Homebrew, the MCP registry bundle or from source, then running palace install to connect agents and restarting the agent app. The default embedding model (about 23 MB) downloads from Hugging Face on first mine or search and is cached locally. Other supported local models can be tried, and migrate rebuilds vectors from the stored text in batches.
Limitations and requirements
Not supported on macOS Intel, as there is no ONNX Runtime build for it. The embedding model downloads from Hugging Face the first time it is used. Remote mode, if enabled, sends data off the machine. Experimental embedding models scored below the default on the publisher's coding-agent eval. Homebrew needs brew update before upgrading, and releases that change the memory protocol require running palace install again.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 17 Nov 2026 · its page on the source
Palace
Local-first memory for coding agents — MCP server, single SQLite file, local embeddings
v0.20.2As shown on registry.modelcontextprotocol.io when we last read it