# Palace

Local-first memory server for coding agents. It records past decisions, setup choices, and terminal commands in a local SQLite file across sessions.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 10
- Author: AncientiCe
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/AncientiCe/palace-rs
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/palace

## What it does

Palace keeps project context intact between agent restarts. Instead of compressing conversations into fuzzy summaries, it stores text verbatim inside a local `palace.db` database. Embeddings run on the local CPU through ONNX Runtime with the `all-MiniLM-L6-v2` model, so no cloud API keys are needed.

The memory layout mirrors a physical building with wings, rooms, and text drawers. When an agent answers a question about historical context, it includes exact citations showing the file and drawer identifier. On the initial search or ingestion run, the binary fetches a 90 MB embedding model into the local cache.

The setup fails on Intel-based Macs because ONNX Runtime builds are unavailable for that target. Palace ships as a compiled Rust binary and works without external vector storage or Docker daemons.

## Requirements
- Needs: a prebuilt binary from the repository releases

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- retrieve architectural decisions made in earlier agent sessions
- keep project coding conventions across fresh tool launches
- avoid re-explaining repository setup rules to the assistant
- trace exact sources and files behind previous technical choices

## Example prompts
- "Why did we drop Redis in favor of SQLite last month?"
- "Search our notes for database migration guidelines."
- "Save our API route naming convention to the project decisions."

## Similar
- [memory-bridge](https://affpapa.org/en/nevibecode/skills/ruvnet-memory-bridge.md) — skill · 744 installs
- [Palinode](https://affpapa.org/en/nevibecode/mcp/palinode.md) — MCP server · ★ 46
- [sqlite-graph-memory](https://affpapa.org/en/nevibecode/mcp/sqlite-graph-memory.md) — MCP server · ★ 12
- [claude-self-reflect](https://affpapa.org/en/nevibecode/plugins/claude-self-reflect.md) — plugin · ★ 228
- [Pensyve](https://affpapa.org/en/nevibecode/mcp/pensyve.md) — MCP server · ★ 97
- [clude](https://affpapa.org/en/nevibecode/mcp/clude.md) — MCP server · ★ 22

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
