Mindcore Memory Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mindcore Memory Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
The only MCP memory server with circuit breaker, SLO tracking, and BM25+FAISS hybrid search. AI agents forget everything between sessions. MindCore Memory gives them persistent, searchable, production-grade memory — with 118/118 tests passing and full CI/CD.
⭐ If this project helps your AI remember, a star means the world to us.
<p align="center"> <img src="docs/demo.gif" alt="MindCore Memory demo" width="800"> </p>
# 1. Install
pip install mindcore-memory
# 2. Launch (stdio mode — works with any MCP client)
mindcore-memory
# 3. Your AI agent remembers across sessions<details> <summary><b>MCP Client Config (Claude Desktop / Cursor / Cline)</b></summary>
{
"mcpServers": {
"mindcore-memory": {
"command": "python",
"args": ["-m", "mindcore_memory.server"],
"env": { "MINDCORE_MEMORY_PATH": "~/.mindcore/memory" }
}
}
}</details>
<details> <summary><b>Optional: Semantic Search</b></summary>
pip install mindcore-memory[semantic]
# Enables FAISS embeddings for hybrid BM25+semantic search</details>
| Feature | MindCore Memory | Mem0 | SynaBun | Letta (MemGPT) |
|---|---|---|---|---|
| Search | BM25 + FAISS Hybrid | FAISS only | sqlite-vec only | FAISS only |
| Circuit Breaker | ✅ 3-state | ❌ | ❌ | ❌ |
| Retry (exp. backoff) | ✅ | ❌ | ❌ | ❌ |
| SLO Tracking | ✅ P95/P99 | ❌ | ❌ | ❌ |
| Prometheus Metrics | ✅ /metrics | ❌ | ❌ | ❌ |
| Encryption at Rest | ✅ Fernet | ❌ | ❌ | ❌ |
| Deduplication | ✅ Exact-match merge | ⚠️ Partial | ❌ | ❌ |
| IVF Index (500+) | ✅ Auto-switch | ❌ | ❌ | ❌ |
| Local-First | ✅ Zero deps | ✅ (cloud optional) | ✅ | ❌ (needs Docker) |
| CI/CD Pipeline | ✅ Auto → PyPI + MCP | ⚠️ Manual | ❌ | ❌ |
| Tests | 118/118 (100%) | Unknown | Unknown | Unknown |
| License | MIT | Apache 2.0 | Apache 2.0 | Apache 2.0 |
MindCore is the only MCP memory server designed for production workloads from day one. Circuit breaker protects against embedding service failures. Retry with exponential backoff handles transient errors. SLO tracking alerts you before users notice. Metrics export for your monitoring stack. Every other server assumes nothing fails — MindCore doesn't.
MindCore is not just a memory store — it's a cognitive boundary engine. Every stored memory is automatically evaluated through a 4-dimensional scoring system based on the 正反公式 (Forward/Reverse Formula):
BND_score = 0.28·TRJ(Trajectory) + 0.28·EVO(Evolution) + 0.28·COG(Cognition) + 0.16·BALANCEfrom mindcore_memory import BNDManager
bnd = BNDManager()
result = bnd.evaluate("基于之前修复, 理解到根因, 改进后提升30%", importance=4)
# → TRJ:0.63 EVO:0.54 COG:0.61 BALANCE:0.98 BND:0.75 ACCEPTED📖 Full algorithm documentation
No other MCP memory server does this. BND transforms memory storage from a passive data dump into an active cognitive filter — rejecting noise, flagging risk chains, and ensuring only structured, growth-oriented knowledge enters the version chain.
mindcore-memory[encrypt]).| Tool | Description | Key Parameters |
|---|---|---|
memory_store | Persist a memory (auto-BND evaluated) | content, importance (1-4), tags, confidence |
memory_recall | Search memories (BM25+FAISS hybrid) | query, tags, limit, session_id |
memory_context | Build LLM context window | query, max_tokens, session_id |
memory_update_confidence | Adjust memory confidence | memory_id, confidence |
memory_delete | Remove a memory | memory_id |
memory_stats | System statistics | (no args) |
| Tool | Description | Key Parameters |
|---|---|---|
bnd_check | 4D boundary evaluation (TRJ/EVO/COG/BALANCE + Anti-Chain) | content, importance, confidence, tags |
bnd_stats | BND manager stats: acceptance rate, scores, anti-chain triggers | (no args) |
deduce | Cognitive deduction: pattern extraction from high-quality memories | query, tags |
Search formula: score = BM25(40%) + FAISS(50%) + importance(5%) + recency(5%)
When FAISS embeddings are unavailable, automatically falls back to BM25-only keyword search.
┌───────────────────┐ MCP JSON-RPC ┌────────────────────────────┐
│ AI Client │ ◄──────────────────► │ MindCore Memory │
│ (Claude/Cursor) │ stdio / HTTP │ MCP Server │
└───────────────────┘ └──────────┬─────────────────┘
│
┌──────────▼─────────────────┐
│ Memory Engine │
│ ┌──────────────────────┐ │
│ │ Hybrid Search │ │
│ │ BM25 (keyword) 40% │ │
│ │ FAISS (semantic)50%│ │
│ │ importance 5%│ │
│ │ recency 5%│ │
│ └──────────────────────┘ │
│ ┌──────────────────────┐ │
│ │ Resilience │ │
│ │ Circuit Breaker │ │
│ │ Retry + Backoff │ │
│ │ SLO Tracking │ │
│ └──────────────────────┘ │
└──────────┬─────────────────┘
│
┌──────────▼─────────────────┐
│ Storage │
│ JSONL (append) │
│ + FAISS index (IVF > 500) │
│ + Fernet encrypt (opt) │
└────────────────────────────┘| Platform | Status | Link |
|---|---|---|
| PyPI | Published v0.1.11 | mindcore-memory |
| MCP Registry | Registered | View |
| Glama | Listed | View |
| MCP Market | Listed | View |
| MCP.so | Listed | View |
| LobeHub | Listed | View |
| mcpservers.org | Listed | View |
See docs/comparison.md for a detailed 5-server comparison covering architecture, search quality, latency, and migration guides.
See CONTRIBUTING.md for the full guide. Quick path:
git clone https://github.com/woshilaohei/mindcore-memory-mcp.git
cd mindcore-memory-mcp
pip install -e ".[dev]"
pytest -v # 118 tests
ruff check . # linter
mypy mindcore_memory/ # type checkerMIT License — Copyright (c) 2025 Lao Hei
<div align="center">
[⬆ back to top](#production-hardened-mcp-memory-server--hybrid-search--resilience-for-ai-agents)
⭐ If MindCore helps your AI remember, give it a star! ⭐
</div>
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.