经 AI Skill Hub 精选评估,MCP工具 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/star-ga/mind-mem
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp--": {
"command": "npx",
"args": ["-y", "mind-mem"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 MCP工具 执行以下任务... Claude: [自动调用 MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp__": {
"command": "npx",
"args": ["-y", "mind-mem"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效

Replayable memory for AI agents. Deterministic recall with a byte-identical audit chain across runs, machines, and substrates.
Built on the MIND substrate • Governed-write • Deterministic recall • 84 MCP tools
MIND Language Profile: default (full tensor stdlib + Q16.16 + heap) — see Phase 10.6
<p align="center"><sub> <strong>Current release:</strong> <code>v4.0.15</code> — <a href="CHANGELOG.md">see CHANGELOG</a> (single source of truth; per-version detail tables below may lag the changelog) </sub></p>
---
Built on the MIND substrate. Governed-write (propose → review → approve_apply). Deterministic recall. 84 MCP tools as the surface — but the differentiator is the substrate underneath. On the same workspace, recall is deterministic (same query → same ranked results) and every block and audit hash is byte-identical across every architecture mind-mem builds on — the Q16.16 audit chain. (The ranking scores themselves are standard floating-point; the byte-identity guarantee is the audit/replay chain.)
Most memory layers ship tools. That is table-stakes. MIND-Mem ships a substrate: Q16.16 fixed-point scoring kernels compiled from MIND source, a governance pipeline that rejects every unreviewed write, and an audit chain where every applied proposal is hash-anchored. The same query on the same workspace produces the same ranked recall, every time; that recall's audit/replay chain is byte-identical whether you replay it on the same machine or a different one that pulls the same workspace. That property is what makes MIND-Mem suitable as a canonical memory layer across heterogeneous agent stacks.
If your agent runs for weeks, it will drift. MIND-Mem prevents silent drift. MIND-Mem powers the Memory Plane of the MIND Cognitive Kernel — the deterministic AI runtime architecture.
| Capability | MIND-Mem | Mem0 | Zep | Letta | LangMem |
|---|---|---|---|---|---|
| BM25 lexical search | Y | — | — | — | — |
| Vector semantic search | Y | Y | Y | Y | Y |
| Hybrid BM25+Vector+RRF | Y | — | — | — | — |
| Cross-encoder reranking | Y | — | — | — | — |
| Intent-aware routing (9 types) | Y | — | — | — | — |
| RM3 query expansion | Y | — | — | — | — |
| Co-retrieval graph (PageRank) | Y | — | — | — | — |
| Fact sub-block indexing | Y | — | — | — | — |
| Hard negative mining | Y | — | — | — | — |
| Adaptive knee cutoff | Y | — | — | — | — |
| Contradiction detection | Y | — | — | — | — |
| Drift analysis | Y | — | — | — | — |
| Governance pipeline (propose/apply) | Y | — | — | — | — |
| Multi-agent shared memory (MCP) | Y | — | — | Y | — |
| Zero core dependencies | Y | — | — | — | — |
| Local-only (no cloud required) | Y | — | — | — | — |
| Compiled native kernels (MIND) | Y | — | — | — | — |
| Backup/restore with zip-slip protection | Y | — | — | — | — |
| Multi-query expansion with RRF | Y | — | — | — | — |
| 4-layer search deduplication | Y | — | — | — | — |
| Semantic-aware smart chunking | Y | — | — | — | — |
| Compiled truth pages (per-entity) | Y | — | — | — | — |
| Dream cycle (autonomous enrichment) | Y | — | — | — | — |
---
Compared against every major memory solution for AI agents (as of 2026):
| [Mem0](https://github.com/mem0ai/mem0) | [Supermemory](https://supermemory.ai) | [claude-mem](https://github.com/thedotmack/claude-mem) | [Letta](https://www.letta.com) | [Zep](https://www.getzep.com) | [LangMem](https://github.com/langchain-ai) | [Cognee](https://www.cognee.ai) | [Graphlit](https://www.graphlit.com) | [ClawMem](https://github.com/yoloshii/ClawMem) | [MemU](https://github.com/supermemory/memu) | **MIND-Mem** | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| **Recall** | |||||||||||
| Vector | Cloud | Cloud | Chroma | Yes | Yes | Yes | Yes | Yes | Yes | — | **Optional** |
| Lexical | Filter | — | — | — | — | — | — | — | BM25 | — | **BM25F** |
| Graph | Yes | — | — | — | Yes | — | Yes | Yes | Beam | — | **2-hop** |
| Hybrid + RRF | Part | — | — | — | Yes | — | Yes | Yes | **Yes** | — | **Yes** |
| Cross-encoder | — | — | — | — | — | — | — | — | qwen3 0.6B | — | **MiniLM 80MB** |
| Intent routing | — | — | — | — | — | — | — | — | Yes | — | **9 types** |
| Query expansion | — | — | — | — | — | — | — | — | QMD 1.7B | — | **RM3 (zero-dep)** |
| **Persistence** | |||||||||||
| Structured | JSON | JSON | SQL | Blk | Grph | KV | Grph | Grph | SQL | Markdown | **Markdown** |
| Entities | Yes | Yes | — | Yes | Yes | Yes | Yes | Yes | — | Yes | **Yes** |
| Temporal | — | — | — | — | Yes | — | — | — | — | — | **Yes** |
| Supersede | — | — | — | Yes | Yes | — | — | — | — | — | **Yes** |
| Append-only | — | — | — | — | — | — | — | — | — | — | **Yes** |
| A-MEM metadata | — | — | — | — | — | — | — | — | Yes | — | **Yes** |
| **Integrity** | |||||||||||
| Contradictions | — | — | — | — | — | — | — | — | — | — | **Yes** |
| Drift detection | — | — | — | — | — | — | — | — | — | — | **Yes** |
| Validation | — | — | — | — | — | — | — | — | — | — | **74+ rules** |
| Impact graph | — | — | — | — | — | — | — | — | — | — | **Yes** |
| Coverage | — | — | — | — | — | — | — | — | — | — | **Yes** |
| Multi-agent | — | — | — | Yes | — | — | — | — | — | — | **ACL-based** |
| Conflict res. | — | — | — | — | — | — | — | — | — | — | **Automatic** |
| WAL/crash | — | — | — | — | — | — | — | — | — | — | **Yes** |
| Backup/restore | — | — | — | — | — | — | — | — | — | — | **Yes** |
| Abstention | — | — | — | — | — | — | — | — | — | — | **Yes** |
| **Governance** | |||||||||||
| Auto-capture | Auto | Auto | Auto | Self | Ext | Ext | Ext | Ing | Auto | LLM Ext | **Propose** |
| Proposal queue | — | — | — | — | — | — | — | — | — | — | **Yes** |
python3 benchmarks/locomo_judge.py --dry-run python3 benchmarks/locomo_judge.py --answerer-model gpt-4o-mini --output results.json
Per-entity knowledge compilation: current-best-understanding on top, timestamped evidence trail below. Contradiction detection across evidence entries with automatic flagging. Entities accumulate knowledge from all sessions — each new evidence entry is checked against existing facts.
pip install mind-mem
mm install-all --force # auto-wires every detected AI CLI
mm install-model # downloads mind-mem-4b GGUF + imports to Ollama
Full options + Postgres setup + troubleshooting: docs/install-guide.md
python3 benchmarks/locomo_harness.py python3 benchmarks/longmemeval_harness.py
pipx install "mind-mem[mcp]"
mind-mem-mcp --help # smoke-test
pipx keeps MIND-Mem in its own venv, exposes the mind-mem-mcp console script on PATH, and avoids polluting your system Python. If you don't have pipx, pip install --user "mind-mem[mcp]" works too.
Then wire it into every AI coding client on your machine:
git clone https://github.com/star-ga/mind-mem.git
cd mind-mem
./install.sh --all --no-install # Already installed via pipx, just wire clients
Or do both in one shot (the installer will auto-pick pipx if available, else fall back to pip):
git clone https://github.com/star-ga/mind-mem.git
cd mind-mem
./install.sh --all
This auto-detects every AI coding client on your machine and configures MIND-Mem for all of them. Each client launches the same mind-mem-mcp binary, so all agents share one workspace. Supported clients:
| Client | Config Location | Format |
|---|---|---|
| **Claude Code CLI** | ~/.claude/mcp.json | JSON |
| **Claude Desktop** | ~/.config/Claude/claude_desktop_config.json | JSON |
| **Codex CLI** (OpenAI) | ~/.codex/config.toml | TOML |
| **Gemini CLI** (Google) | ~/.gemini/settings.json | JSON |
| **Cursor** | ~/.cursor/mcp.json | JSON |
| **Windsurf** | ~/.codeium/windsurf/mcp_config.json | JSON |
| **Zed** | ~/.config/zed/settings.json | JSON |
| **OpenClaw** | ~/.openclaw/hooks/mind-mem/ | JS hook |
Selective install:
./install.sh --claude-code --codex --gemini # Only specific clients
./install.sh --all --workspace ~/my-project/memory # Custom workspace path
Uninstall:
./uninstall.sh # Remove from all clients (keeps workspace data)
./uninstall.sh --purge # Remove everything including workspace data
For manual or per-project setup:
1. Clone into your project
cd /path/to/your/project
git clone https://github.com/star-ga/mind-mem.git .mind-mem
2. Initialize workspace
python3 .mind-mem/src/mind_mem/init_workspace.py .
Creates 12 directories, 19 template files, and mind-mem.json config. Never overwrites existing files.
3. Validate
```bash bash .mind-mem/src/mind_mem/validate.sh .
Generates semantically diverse query reformulations before search — synonym expansion, specificity shifts, temporal rephrasing, and negation variants. Combines all reformulated queries with Reciprocal Rank Fusion for broader recall without sacrificing precision. Runs locally with zero API calls.
Content-aware chunking that splits at semantic boundaries (headers, paragraph breaks, list items, code blocks) instead of fixed character counts. Produces variable-size chunks with overlap for continuity. Supports markdown, code, and prose with format-specific splitting rules.
MIND-Mem is the daily-driver memory layer for STARGA's six active projects: mind, mind-runtime, mindlang.dev, mind-inference, mind-fleet, arch-mind. First-party, verifiable in our own commit history.
pip install mind-mem
mind-mem-init ~/my-workspace # Create workspace
mind-mem-recall -q "API decisions" --workspace ~/my-workspace # Hybrid BM25F search
mind-mem-scan ~/my-workspace # Detect drift & contradictions
Output:
[1.204] D-20260215-001 (decision) — Use async/await for all API endpoints
decisions/DECISIONS.md:11
[1.094] D-20260210-003 (decision) — REST over GraphQL for public API
decisions/DECISIONS.md:20
<sub>Current release: v4.0.15 — Full per-release notes (issues closed, CI run ids, job counts) live in <a href="./CHANGELOG.md">CHANGELOG.md</a>.</sub>
Drop-in ms-marco-MiniLM-L-6-v2 cross-encoder (80MB). Blends 0.6 CE + 0.4 original score. Falls back gracefully when unavailable. Enabled via config.
26 .mind configuration files at mind/ that tune the scoring pipeline (BM25F, RRF fusion, reranking, negation penalty, date proximity, category boost, importance, entity overlap, confidence, top-k, weighted rank, category affinity, query-category relevance, category assignment, and others). Currently INI-format declarative configuration parsed by mind_ffi.py; the MIND-language port that compiles to native .so via the MIND compiler is the forward-looking story — see docs/MIND_CONFIG_VS_MIND_LANG.md for the disambiguation. The pure-Python scoring logic in src/mind_mem/mind_kernels.py is the authoritative implementation today.
Pluggable embedding backend — local ONNX (all-MiniLM-L6-v2, no server needed) or cloud (Pinecone). Falls back to BM25 when unavailable.
Because the substrate is deterministic, integrating with 17 different CLIs produces the same answers on each. That is not a coincidence — it is the point. MIND-Mem can be the canonical memory layer across heterogeneous agent stacks precisely because recall is deterministic and its audit/replay chain is byte-identical regardless of which client is asking. The 17-CLI surface is a consequence of the substrate, not a feature in itself.
Honest positioning: the integrations below are software-level — the named tool talks to MIND-Mem via the Model Context Protocol. They are not commercial-customer relationships with any vendor. Full positioning policy: docs/integrations.md.
pip install mind-mem
mm install-all
mm install-all auto-detects every supported client on your machine and writes the appropriate config file for each. MIND-Mem speaks the Model Context Protocol — any MCP-compatible client connects with one command.
| Client | Vendor | Client | Vendor |
|---|---|---|---|
| Claude Code | Anthropic | Cline | Cline.bot |
| Claude Desktop | Anthropic | Roo | Roo Code |
| Codex CLI | OpenAI | GitHub Copilot | GitHub / Microsoft |
| Gemini CLI | Cody | Sourcegraph | |
| Vibe (Mistral CLI) | Mistral | Qodo | Qodo |
| Cursor | Anysphere | aider | aider-chat |
| Windsurf | Codeium | OpenClaw | OpenAI (Peter Steinberger) |
| Zed | Zed Industries | NemoClaw / Nemo | NVIDIA |
| Continue | Continue.dev | NanoClaw | Anthropic |
| Feature | MIND-Mem | Mem0 | Letta | Zep/Graphiti |
|---|---|---|---|---|
| Local-only | Yes | No (cloud API) | No (runtime) | No (Neo4j) |
| Zero infrastructure | Yes | No | No | No |
| Hybrid retrieval | BM25F + vector + RRF | Vector only | Hybrid | Graph + vector |
| Governance (propose/review/apply) | Yes | No | No | No |
| Contradiction detection | Yes | No | No | No |
| Tests | 3,600+ | - | - | - |
| LoCoMo benchmark | 86.33 conv-0 (v3.6, Mistral-Large) | 66.88 | 74.0% | - |
| MCP tools | 81 (58 legacy + 7 dispatchers + 16 v3.7→v3.9 additions) | - | - | - |
| Core dependencies | 0 | Many | Many | Many |
MIND-Mem 是专为 AI agents 设计的可重现记忆层。它基于 MIND substrate 构建,能够实现跨运行、跨机器及跨基座的确定性召回(Deterministic recall)。通过字节级一致的审计链(Audit chain),确保记忆过程的可追溯性与一致性,为 AI 提供受控且可验证的长期记忆能力。
MIND-Mem 提供业界领先的记忆检索功能,支持 BM25 词法搜索、Vector 语义搜索以及 Hybrid(混合)检索模式。它集成了 Cross-encoder 重排序、意图感知路由(支持 9 种类型)以及 RM3 查询扩展技术。相比 Mem0、Zep 或 Letta 等主流方案,MIND-Mem 在检索精度、召回率及知识编译(Knowledge compilation)方面具有显著优势,能够自动检测并标记证据间的矛盾。
运行本项目需要 Python 3 环境。此外,若需进行准确性指标评估(LLM-as-judge),则需要配置相应的 API key(如 OpenAI 的 gpt-4o-mini),以便通过 benchmarks 脚本进行自动化测试与结果输出。
推荐使用 `pipx install "mind-mem[mcp]"` 进行一键式安装,这能将 MIND-Mem 隔离在独立的虚拟环境中,避免污染系统 Python 环境。对于需要集成到 AI 命令行工具的用户,可以使用 `mm install-all` 命令自动配置。此外,项目支持通过 `pip` 安装并配合 Ollama 导入 GGUF 模型,或参考 `docs/install-guide.md` 进行完整的 Postgres 数据库配置。
MIND-Mem 具备智能化的检索增强能力。其 LLM-Guided Multi-Query Expansion 功能可在搜索前生成语义多样化的查询变体,并利用 Reciprocal Rank Fusion (RRF) 算法平衡精度与召回率,且支持本地运行无需 API 调用。在数据处理方面,其 LLM-Guided Smart Chunking 支持基于语义边界(如 Markdown 标题、代码块)的智能切片,而非简单的字符计数,确保了上下文的连续性。
项目提供了高度灵活的配置机制。用户可以通过配置启用可选的 Cross-Encoder(如 ms-marco-MiniLM)来提升重排序精度。针对高级用户,MIND Kernels 提供了 26 个 `.mind` 配置文件,允许对 BM25F、RRF 融合、否定惩罚、实体重叠度等核心评分参数进行精细化调优。向量检索后端支持本地 ONNX 或云端 Pinecone,并在不可用时自动回退至 BM25 模式。
MIND-Mem 通过原生支持 Model Context Protocol (MCP) 实现了与 17 种 AI 开发工具的深度集成。由于其底层 substrate 具有确定性,无论在何种异构的 Agent 栈中使用,都能保证召回结果的一致性。通过 `mm install-all` 命令,用户可以自动为机器上检测到的所有兼容客户端写入配置,使 MIND-Mem 成为跨工具链的规范化记忆层。
高质量的MCP工具,提供持久记忆
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:MCP工具 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | mind-mem |
| 原始描述 | 开源MCP工具:Persistent AI memory for Claude Code, OpenClaw, and any MCP-compatible agent. BM。⭐7 · Python |
| Topics | mcpai-memorypython |
| GitHub | https://github.com/star-ga/mind-mem |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-05-28 · 更新时间:2026-05-30 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端