MindCore Memory MCP

io.github.woshilaoheiPublished by GitHub account woshilaoheiv0.1.11Updated Oct 24, 2026

AI long-term memory MCP server with importance scoring and confidence calibration

The publisher's own server: Memory.fit

VerifiedSTDIODesktop onlyKnowledge & MemoryAI & ML

Overview

AI-generated overview

A local MCP memory server that gives an AI assistant persistent, searchable long-term memory with importance scoring, confidence calibration and boundary-based

What you can do
Store memories with content, importance, tags and confidence, automatically scored by a boundary evaluation filter. Search and recall memories using hybrid BM25 plus optional FAISS semantic search, filtered by tags or session. Build a context window from relevant memories for the assistant to use. Adjust a memory's confidence, delete a memory, and read system statistics. Run boundary checks and boundary statistics, and extract patterns from high-quality memories through cognitive deduction.
When to use it
Use it when you want an assistant to remember facts, decisions or context across sessions on your own machine, and to retrieve them by keyword or semantic search. It suits users who want a self-contained local memory store without external database services.
Requirements
A local Python install; the package is installed with pip and launched as a stdio process. Optional extras add semantic search and encryption at rest. The README's client config sets a memory storage path through the MINDCORE_MEMORY_PATH environment variable. No account or API key is declared.
Before you install
The server writes, updates and deletes stored memories on local disk, so treat the memory store as persistent data. Optional encryption at rest is opt-in; without it, memories are stored unencrypted. The README makes strong comparative and production-readiness claims that are worth verifying yourself before relying on them.

Installation

In SourceWeft

  1. Open MindCore Memory MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

Production-Hardened MCP Memory Server — Hybrid Search + Resilience for AI Agents

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.

[CI] [PyPI version] [Python] [License: MIT] [Downloads] [MCP Registry] [GitHub stars]

[MindCore Memory demo]


Quick Start

bash
# 1. Installpip install mindcore-memory
# 2. Launch (stdio mode — works with any MCP client)mindcore-memory
# 3. Your AI agent remembers across sessions
MCP Client Config (Claude Desktop / Cursor / Cline)
json
{  "mcpServers": {    "mindcore-memory": {      "command": "python",      "args": ["-m", "mindcore_memory.server"],      "env": { "MINDCORE_MEMORY_PATH": "~/.mindcore/memory" }    }  }}
Optional: Semantic Search
bash
pip install mindcore-memory[semantic]# Enables FAISS embeddings for hybrid BM25+semantic search

Why MindCore — vs the Competition

FeatureMindCore MemoryMem0SynaBunLetta (MemGPT)
SearchBM25 + FAISS HybridFAISS onlysqlite-vec onlyFAISS 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❌❌
Tests118/118 (100%)UnknownUnknownUnknown
LicenseMITApache 2.0Apache 2.0Apache 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.


Unique: 3D Boundary Balance Algorithm

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·BALANCE
  • Forward cycle: TRJ → BND → EVO → COG → BND (each step draws a boundary, each boundary is growth)
  • Reverse chain: Chaos → Unknown → Risk → Harm → Death (2+ linked triggers → auto 50% score penalty)
  • 3D balance: Variance across TRJ/EVO/COG penalizes lopsided memories (pure data dumps without insight)
  • No LLM calls: Pure algorithmic evaluation using keyword patterns, regex, and statistical variance
python
from mindcore_memory import BNDManagerbnd = 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.


Production Features

Resilience Layer

  • Circuit Breaker: CLOSED → OPEN → HALF_OPEN state machine. Protects FAISS/embedding operations from cascading failure.
  • Retry: Exponential backoff with jitter. Transient errors retry automatically, permanent errors fail fast.
  • Input Validation: Server-level sanitization against injection attacks.

Observability Layer

  • SLO Tracking: P95/P99 latency targets for all 6 operations. Violations logged and exported.
  • Prometheus /metrics: Zero-dependency Prometheus-compatible collector. Drop-in for any monitoring stack.

Data Layer

  • Encryption: Optional Fernet encryption at rest (mindcore-memory[encrypt]).
  • Deduplication: Exact-match merge — identical memory updates importance/confidence instead of storing duplicates.
  • Smart Eviction: Low-importance memory pruning with atomic disk sync. No zombie memories.

Core Tools

Memory (6 tools)

ToolDescriptionKey Parameters
memory_storePersist a memory (auto-BND evaluated)content, importance (1-4), tags, confidence
memory_recallSearch memories (BM25+FAISS hybrid)query, tags, limit, session_id
memory_contextBuild LLM context windowquery, max_tokens, session_id
memory_update_confidenceAdjust memory confidencememory_id, confidence
memory_deleteRemove a memorymemory_id
memory_statsSystem statistics(no args)

Boundary & Deduction (3 tools) 🆕

ToolDescriptionKey Parameters
bnd_check4D boundary evaluation (TRJ/EVO/COG/BALANCE + Anti-Chain)content, importance, confidence, tags
bnd_statsBND manager stats: acceptance rate, scores, anti-chain triggers(no args)
deduceCognitive deduction: pattern extraction from high-quality memoriesquery, 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.


Architecture

┌───────────────────┐     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)    │                                            └────────────────────────────┘
  • Embedded: No PostgreSQL, Redis, or external services needed. One binary, local JSONL + FAISS.
  • IVF Index: FAISS inverted file index activates at 500+ memories for O(√N) search.
  • MCP Native: Full MCP protocol over stdio and HTTP transports.

Available On

PlatformStatusLink
PyPIPublished v0.1.11mindcore-memory
MCP RegistryRegisteredView
GlamaListedView
MCP MarketListedView
MCP.soListedView
LobeHubListedView
mcpservers.orgListedView

Full Comparison

See docs/comparison.md for a detailed 5-server comparison covering architecture, search quality, latency, and migration guides.


Contributing

See CONTRIBUTING.md for the full guide. Quick path:

bash
git clone https://github.com/woshilaohei/mindcore-memory-mcp.gitcd mindcore-memory-mcppip install -e ".[dev]"pytest -v              # 118 testsruff check .           # lintermypy mindcore_memory/  # type checker

License

MIT License — Copyright (c) 2025 Lao Hei


⬆ back to top

⭐ If MindCore helps your AI remember, give it a star! ⭐

Source: README.md at commit f939e77

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.11LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Memory integrations