Compound Memory MCP server
io.github.chinwe/compound-memory·v0.5.12·1 starsLocal-first shared memory for multiple AI agents that compounds with use; Markdown + git, MCP + CLI.
not scanned yet
1 stars909 downloads/wk
Reviews
Write oneNobody has reviewed Compound Memory yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Compound Memory tools
No tool declarations could be read from the package source. They show once the server is installed.
How Compound Memory compares
Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 1,119 Developer tools servers
- GitHub stars
- 1
- more than 50% of 855 Developer tools servers
- Downloads a week
- 909
- more than 91% of 436 Developer tools servers with a package
Release history: 8 versions in the registry since 2026-10-08, latest 2026-10-29, typically one every 3 days.
Install Compound Memory in Claude Code, Cursor or VS Code
claude mcp add compound-memory -- uvx compound-memory
What the publisher says
From the Compound Memory repository's README, as published. We do not edit it. Read it on GitHub
compound-memory
English | 简体中文
Local-first shared memory for multiple AI agents — plain Markdown files that compound in value as they are used. Memory lives on your disk as frontmatter-annotated Markdown, gets stronger with every confirmed use, decays into a revivable archive when neglected, and auto-commits to a local git history on every write.
Why
Every agent session starts from zero: preferences get re-asked, project conventions get re-discovered, the same pitfall gets hit twice. compound-memory gives all your agents one shared store:
- Local-first — nothing leaves your machine; memories are human-readable Markdown files, not rows in an opaque database.
- MCP-native — exactly 5 tools (memorywrite / memorysearch / memoryget / memorylink / memory_feedback) as the single read-write boundary; works with any MCP host (Claude Code, ZCode, WorkBuddy, …), plus a full CLI for operations.
- Compounding — confirmed usage raises confidence, related memories are recalled as neighbors, validation from a different host counts as independent evidence, and distillation merges many raw memories into fewer, denser ones.
- Multi-agent by design — a shared namespace everyone reads, plus agent- private namespaces each host owns; cross-host validation is tracked per host.
- Optional semantic recall — vector search via sqlite-vec + BGE embeddings, with automatic graceful fallback to pure lexical search when unavailable. Override the model with COMPOUNDMEMORYEMBEDDINGMODEL (default Xenova/bge-small-zh-v1.5) and COMPOUNDMEMORYEMBEDDINGDIM (default 512); changing either is an ops action and needs an explicit rebuild-index.
Quick Start
For AI agents
Paste this one-liner into your coding agent (Claude Code, Cursor, ZCode, …) and let it do the rest:
Set up compound-memory (https://github.com/chinwe/compound-memory) — a local-first multi-agent shared memory (MCP server + CLI) — on this machine. Do not clone the repo for a normal install. Initialize the store with `uvx --from compound-memory compound-memory init` (defaults to ~/.agents/memory). Register its stdio MCP server in this host's MCP config: command `uvx`, args `--from compound-memory compound-memory-server`, env `COMPOUND_MEMORY_ROOT=$HOME/.agents/memory` and `COMPOUND_MEMORY_AGENT_ID=agent-<your-host-id>`. Verify by calling `memory_search` and expecting a `{"hits": [...]}` response; if the host needs a restart to load MCP servers, tell me. Use `uv run --directory <repo>` only when developing against a local checkout. Host-specific configs and the usage protocol: docs/agent-integration.md in the repo.For humans
1. Install
Python ≥ 3.11. The default does not clone the repo:
# Default: PyPI. Hosts launch the MCP server with
# uvx --from compound-memory compound-memory-server
# Optional CLI on PATH:
uv tool install compound-memory # or: pip install compound-memory
# Developer / local checkout only — not the default host launch
git clone https://github.com/chinwe/compound-memory.git
cd compound-memory && uv sync --extra dev2. Initialize your store
Defaults to ~/.agents/memory; override with the COMPOUNDMEMORYROOT env var. A leading ~ or $HOME is expanded; a blank override falls back to the default.
uvx --from compound-memory compound-memory init
# after `uv tool install`: compound-memory init3. Wire it into your MCP host (recommended)
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Compound Memory: common questions
- Is Compound Memory MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Compound Memory safety report
- How do I install Compound Memory?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Compound Memory need an API key?
- No secret keys are declared. It reads 2 settings from the environment.
- Is Compound Memory maintained?
- The last commit was 23 days ago (2026-10-12). The latest release is v0.5.12.
- What can I use instead of Compound Memory?
- Servers from other publishers that do the same job: Palinode MCP server, Nexusmem MCP server and Agent Memory MCP server. Compare all Compound Memory alternatives.
- How does Compound Memory compare with other Developer tools MCP servers?
- safety score 92/100 (higher than 90% of 1,119 Developer tools servers); github stars 1 (more than 50% of 855 Developer tools servers); downloads a week 909 (more than 91% of 436 Developer tools servers with a package). Full comparison.
Alternatives to Compound Memory
Same job from other publishers: the closest match first, then the best rated.
- PalinodeInspectable, correctable project memory in git-versioned Markdown for AI agents.not reviewedEstablishedC
- NexusmemLocal-first memory for AI coding agents: shell history with exit codes, git diffs, docs, MCP.not reviewedGrowingA
- Agent MemoryGit-native project memory for AI coding agents: Markdown source of truth, reviewable, secret-safe.not reviewedGrowingA
- SoloMDRead and search a folder of Markdown notes: search, backlinks, tags, tasks, outlines, git history.not reviewedEstablishedB
- slivingdocDurable context for agents and people: shared notes with Git-style merges, no silent overwrites.not reviewedGrowingB