Palace MCP server
io.github.AncientiCe/palace-rs·v0.19.1·10 starsLocal-first memory for coding agents — MCP server, single SQLite file, local embeddings
not scanned yet
10 stars
Reviews
Write oneNobody has reviewed Palace yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Palace tools
No tool declarations could be read from the package source. They show once the server is installed.
How Palace compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 802 Databases servers
- GitHub stars
- 10
- more than 80% of 602 Databases servers
Release history: 10 versions in the registry since 2026-09-01, latest 2026-11-02, typically one every 4 days.
Install Palace in Claude Code, Cursor or VS Code
The registry entry has no remote endpoint or installable package.
What the publisher says
From the Palace repository's README, as published. We do not edit it. Read it on GitHub
palace-rs
A local-first memory retrieval engine for coding agents, implemented in Rust.
This project stores verbatim project and conversation memory, embeds it locally, and retrieves source-grounded context through MCP. It is built for coding agents that need to remember decisions, prior fixes, commands, project conventions, and user preferences across sessions without running a separate vector database.
What It Does
fuzzy "what do I prefer?" and convention questions.
- Stores project files and conversation turns in a local SQLite database.
- Generates local embeddings with ONNX Runtime and all-MiniLM-L6-v2.
- Retrieves memories with hybrid semantic/BM25 search plus coding-agent intent boosts.
- Tags preference-shaped drawers and runs a dedicated preference recall pass for
preference_match score for preference-shaped queries.
- Stores preference spans with optional secondary embeddings and exposes a
temporal, unknown) and can optionally rerank top results with a local interaction reranker.
- Classifies search intent (preference, decision, how_to, definition,
and compact session text.
- Sanitizes agent-generated query dumps before retrieval.
- Returns source-grounded results with score provenance and nearby source context.
- Warms up agents from recent diary entries with project, topic, timestamp, tags,
optional folded feedback on the existing palace_gain MCP tool.
- Provides a knowledge graph for temporal entity relationships.
- Measures real-world usefulness through palace gain precision metrics and
project mining and topic-wing creation.
- Exposes MCP tools for assistants that support Model Context Protocol.
- Offers a small Rust library API for embedding memory into other services.
- Tracks a first-class wings registry (project vs. topic wings) with on-demand
memory protocol doesn't depend on tool-search deferral (Claude Code >= 2.1.121).
- Pins the nine protocol-critical MCP tools resident with alwaysLoad so the
session's project — directly into SessionStart, not just protocol text.
- Injects real recalled memory — recent diary entries plus top drawers for the
Agent Memory Reliability
Palace focuses on the retrieval cases that matter most during coding work: preferences, project conventions, recent session continuity, source-grounded answers, and measurable usefulness in real agent sessions. Drawers that look like user preferences or conventions are tagged in metadata during writes and updates, record the matched preference span, and can store a secondary preference embedding. Preference-shaped queries receive a dedicated preference_match score alongside hybrid semantic/BM25 search.
MCP search responses expose score provenance (combined, cosine, bm25, and codingboost, preferencematch, optional rerank_score, and intent) plus adjacent source context so agents can cite why a memory was returned. Diary tools provide warm-start context for recent sessions, including project path, topic, timestamp, session ID, tags, and compact text.
Library consumers can use Palace::searchwithprovenance when they need the same structured score details that MCP tools return.
Storage
Collapses Python's dual-store (ChromaDB + SQLite) into one file at ~/.palace/palace.db:
Embeddings are stored as f32 vectors from all-MiniLM-L6-v2. Search uses local cosine similarity over the stored vectors.
Benchmarks
Coding-Agent Memory Eval
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Palace: common questions
- Is Palace MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Palace safety report
- Does Palace need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Palace maintained?
- The last commit was 9 days ago (2026-10-27). The latest release is v0.19.1.
- What can I use instead of Palace?
- Servers from other publishers that do the same job: Remem MCP server, Myc MCP server and open-memex MCP server. Compare all Palace alternatives.
- How does Palace compare with other Databases MCP servers?
- safety score 88/100 (higher than 75% of 802 Databases servers); github stars 10 (more than 80% of 602 Databases servers). Full comparison.
Alternatives to Palace
Same job from other publishers: the closest match first, then the best rated.
- RememLocal-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.not reviewedEstablishedB
- MycTask queue, decisions and memory for coding agents. Local SQLite, no network. Requires Bun.not reviewedEstablishedC
- open-memexLocal-first memory for AI coding agents — Markdown + SQLite FTS5, shared across editors via MCP.not reviewedGrowingB
- GraphmemShared local memory for coding agents: SQLite, semantic recall, linked entities, code navigation.not reviewedGrowingA
- SAME - Stateless Agent Memory EnginePersistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools.not reviewedGrowingB