Vault-native, accountable memory for Claude Code and MCP clients. Markdown is the source of truth, no LLM on the Stop path, redaction before every derived store.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
claude mcp add mneme -- uvx mneme{
"mcpServers": {
"mneme": {
"command": "uvx",
"args": ["mneme"]
}
}
}MCP Servers overview
<p align="center"> <img src="assets/mneme-banner.jpg" alt="mneme — vault-native memory for Claude Code" width="100%"> </p> # mneme > Vault-native memory for Claude Code. Markdown is ground truth. <p align="center"> <a href="https://pypi.org/project/mneme-core/"><img src="https://img.shields.io/pypi/v/mneme-core?label=mneme-core&color=3776ab&logo=pypi&logoColor=white" alt="mneme-core on PyPI"></a> <a href="https://pypi.org/project/mneme-cc-plugin/"><img src="https://img.shields.io/pypi/v/mneme-cc-plugin?label=mneme-cc-plugin&color=3776ab&logo=pypi&logoColor=white" alt="mneme-cc-plugin on PyPI"></a> <a href="https://www.npmjs.com/package/mneme-mcp-server"><img src="https://img.shields.io/npm/v/mneme-mcp-server?label=mneme-mcp-server&color=cb3837&logo=npm&logoColor=white" alt="mneme-mcp-server on npm"></a> <a href="https://github.com/TheGoatPsy/mneme/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/TheGoatPsy/mneme/ci.yml?branch=main&label=CI" alt="CI"></a> <a href="https://github.com/TheGoatPsy/mneme/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="Apache-2.0"></a> <img src="https://img.shields.io/pypi/pyversions/mneme-core" alt="Python versions"> </p> <p align="center"><code>pipx install mneme-cc-plugin && mneme install</code></p> FTS5 retrieval, RRF-fused hybrid core, built-in temporal claim lifecycle with memory blame, gated knowledge-graph enrichment, zero LLM cost on Stop, token-aware adaptive context budget, agent security firewall, domain privacy modes. **Status**: 3.1.0 public release. Package, plugin, runtime, citation, and documentation version sources are kept in lockstep by `tools/version_bump.py` (18 sources including this line, verified in CI), so no single declared version can drift. Upgrading from an earlier line: [`docs/UPGRADING.md`](docs/UPGRADING.md). ## Why mneme Most Claude Code memory plugins store your conversation history in opaque SQLite blobs and call an LLM every time you finish a session. mneme takes the opposite stance. - **Markdown is ground truth.** Your vault is a directory of plain `.md` files you can `git diff`, `grep`, edit, and back up. - **No LLM on the critical path.** The Stop hook appends deterministically. Compression happens in the background, opt-in, with a cost cap. - **Hybrid retrieval, shipped and opt-in.** The default MCP search path is FTS5 BM25. A local hashing-embedding dense backend is now a shipped opt-in feature, RRF-fused, activated with a flag. Full-profile knowledge graph enrichment (Graphiti + Neo4j) remains gated. The heavyweight packaged LEANN / sentence-transformers dense adapter is roadmap. - **Token-efficient by architecture.** Shell output compression, injection deduplication, adaptive top-k, and three injection format levels save 40 to 60 percent on session token consumption. - **Privacy by default.** Inline `<private>` tag redaction at staging write with SHA256 audit log. Zero outbound network calls except opted-in compression LLM and optional local Neo4j. - **Temporal reasoning.** The deterministic claim lifecycle (valid-from/to, supersedes, as-of queries, contradiction detection, `temporal blame` provenance time-travel) is built in on every profile — pure SQLite, no extra dependency. Graphiti export and LLM claim extraction remain optional and never run on the Stop or critical path. - **Pattern and trajectory memory.** First-class vault-markdown primitives for Signal/Action/Outcome patterns and per-session step recorders, queryable via the same retrieval pipeline. - **Agent security and domain modes.** A capability firewall, data-flow taint tracking, and a human-approval gate for durable edits ship in 2.0. Domain privacy modes (clinical, security-review) block external extraction and artifact upload at the config layer. A mode can never weaken built-in privacy guarantees or disable redaction. ### On vaults and Obsidian A vault is simply a plain directory of markdown files. mneme requires no specific editor, no external application, and no Obsidian installation. You can work with your vault using `grep`, `git`, VS Code, or any text editor. The term "vault" is borrowed convention for a self-contained markdown directory, not a dependency on any particular tool. Obsidian is fully optional. Because the vault is plain markdown, a user who already uses Obsidian can point it at the same directory and get rendered notes, backlinks, and graph-view navigation over the wikilinks mneme writes. The two tools coexist cleanly: mneme stores all derived state (indexes, staging, audit logs) inside a `.mneme` directory that Obsidian ignores as a dot folder, and mneme's indexer excludes the `.obsidian` settings folder from indexing, so neither tool disturbs the other. Obsidian is a convenient viewer and navigator for vault content. It is not part of mneme's capture, indexing, or retrieval path, and it must not be treated as an installation prerequisite. ## How mneme compares Memory tools in the Claude Code and agent ecosystem make different trade-offs. The table below compares architectural capabilities across the dimensions mneme commits to, and it deliberately includes the rows where another tool leads. These cells describe design properties that are publicly verifiable from each tool's documentation. They are not a benchmarked ranking. For mneme's own reproducible numbers see [Reproducible Numbers](#reproducible-numbers); for per-tool detail and an honest "where mneme is not the best fit" list see [`docs/COMPETITIVE.md`](docs/COMPETITIVE.md). Legend: **✓** built in · **gated** shipped, needs an opt-in dependency or flag · **~** partial · **—** not available · **n/a** the dimension does not apply. | Dimension | mneme | claude-mem | mem0 | Letta | Zep | Supermemory | |---|:---:|:---:|:---:|:---:|:---:|:---:| | Plain-markdown store you can `git diff` and grep | **✓** | — | — | ~ | — | — | | Built-in `<private>` redaction with SHA256 audit | **✓** | — | — | — | — | — | | Deterministic Stop capture, no LLM call | **✓** | — | n/a | n/a | n/a | n/a | | Hybrid retrieval, FTS5 plus local dense, RRF-fused | **✓** | ~ | ~ | ~ | ✓ | ✓ | | Temporal claim lifecycle (valid-from/to, supersedes, blame) | **✓** | — | ~ | ~ | ✓ | ~ | | Project and code graph (tree-sitter, PR-impact) | gated | ~ | — | — | — | — | | Adaptive token and context budget | **✓** | — | — | — | — | — | | Agent security: capability firewall, taint, approval gate | **✓** | — | — | — | — | — | | One-command lossless migration from claude-mem | **✓** | n/a | — | — | — | — | | Local-first, no cloud account required | **✓** | ✓ | ~ | ✓ | — | — | | Runs in Claude Code, Codex, Antigravity, any MCP client | **✓** | ~ | ~ | ~ | ~ | ~ | | License | Apache-2.0 | Apache-2.0 | Apache-2.0 | Apache-2.0 | cloud | open source | | Team memory with a web graph UI (mneme: self-hosted git sync + local console) | **✓** | — | ~ | — | **✓** | **✓** | | Agent autonomously rewrites its own memory (mneme: policy-graduated, rollback, audit chain) | **✓** | — | ~ | **✓** | — | — | | Auto-summarization at session end, on by default (mneme: deterministic zero-LLM) | **✓** | **✓** | — | — | ~ | ~ | | Localized observation-prompt presets (mneme: en + tr) | ~ | **✓** | — | — | — | — | The 3.0 line closed the former gap rows on mneme's own terms. Team memory is self-hosted (any git remote, redaction-before-share, optional age end-to-end encryption) with a loopback-only web console rather than a vendor cloud. Autonomy is policy-graduated: the agent applies operator-allowed low-risk edit classes on its own, every change is journalled for one-command rollback and chained into a tamper-evident HMAC audit log, and durable categories always keep a human in the loop. The default-on session summary is deterministic and zero-LLM — no key, no cost, no latency — with LLM compression as the opt-in richer layer. Localized presets ship for English and Turkish today (claude-mem still leads on raw language count, hence the honest ~). Where a hosted product is genuinely the better fit, `docs/COMPETITIVE.md` says so. ## Implementation Status An honest, at-a-glance map of what is shipped today versus what is gated behind optional infrastructure or still on the roadmap. **Shipped** means present in the default install path and covered by CI. **Gated** means implemented but inactive until you provide the optional dependency or flag. **Roadmap** means designed (often with a seam or protocol already in place) but not yet packaged. | Capability | Status | Detail | |---|---|---| | FTS5 BM25 retrieval (`mneme_search`) | Shipped | default MCP search path | | RRF fusion protocol | Shipped | `mneme-core/retrieval/rrf.py`; FTS5-fed by default | | `<private>` redaction + SHA256 audit | Shipped | Python + TypeScript mirror; staging write | | Zero-LLM deterministic Stop capture | Shipped | `Stop` hook appends a typed session doc | | Adaptive context layer (shell compress, injection dedup, adaptive top-k) | Shipped | `distill.*` subsystem | | Pattern + trajectory memory | Shipped | vault-markdown primitives | | Claude Code / Codex / Antigravity native plugins | Shipped (native) | 5 lifecycle hooks + 2 skills + MCP | | Open MCP adapter (Kimi, Qwen, any MCP client) | Shipped (non-native) | MCP tools only, no auto-capture | | Background AI compression | Shipped (opt-in, default off) | monthly cost-cap ledger | | Local dense retrieval (hashing-embedding, RRF-fused) | Shipped (opt-in) | FTS5 remains the default; sentence-transformers is an opt-in seam, not a default dependency | | Temporal claim lifecycle + rule-based claim extraction + `temporal blame` | Shipped | Graphiti export gated; LLM extraction optional, never on the Stop/critical path | | Project + code graph (mneme-graph 0.2.0) | Shipped (separate package) | tree-sitter Python/JavaScript/TypeScript extraction, community detection, PR-impact, entity canonicalization | | Code memory (mneme-code 0.2.0)
What people ask about mneme
What is TheGoatPsy/mneme?
+
TheGoatPsy/mneme is mcp servers for the Claude AI ecosystem. Vault-native, accountable memory for Claude Code and MCP clients. Markdown is the source of truth, no LLM on the Stop path, redaction before every derived store. It has 0 GitHub stars and was last updated today.
How do I install mneme?
+
You can install mneme by cloning the repository (https://github.com/TheGoatPsy/mneme) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is TheGoatPsy/mneme safe to use?
+
Our security agent has analyzed TheGoatPsy/mneme and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains TheGoatPsy/mneme?
+
TheGoatPsy/mneme is maintained by TheGoatPsy. The last recorded GitHub activity is from today, with 2 open issues.
Are there alternatives to mneme?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy mneme to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/thegoatpsy-mneme)<a href="https://claudewave.com/repo/thegoatpsy-mneme"><img src="https://claudewave.com/api/badge/thegoatpsy-mneme" alt="Featured on ClaudeWave: TheGoatPsy/mneme" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。