Sponsored by Deepsite.site

Mindcore Memory Mcp

Created By
woshilaohei7 days ago
Long-term memory system for AI agents with semantic search, context management, and multi-format storage. Hierarchical memory architecture (STM → LTM → Deduction), FAISS vector retrieval, SQLite persistence.
Overview

MindCore Memory MCP

mcp-name: io.github.woshilaohei/mindcore-memory

AI Long-Term Memory Server — Production-grade persistent memory for AI agents.

"The best AI agent isn't the smartest — it's the one that remembers."

PyPI version Python CI MCP Registry Glama Score Downloads License: MIT GitHub stars

Table of Contents

Why MindCore Memory

AI agents today face a fundamental limitation: they forget everything between sessions.

Pain PointWithout MemoryWith MindCore Memory
Session AmnesiaRe-teach every conversationPersistent cross-session recall
Memory OverloadAll memories equal weight, context explodesImportance grading + smart pruning
RAG FailureBrute-force injection, quality degradesPrecision context window construction
Zero ContinuityEvery session starts from scratchKnowledge accumulates over time

MindCore Memory is the missing persistence layer for AI agents. Built as an MCP server, it plugs into any MCP-compatible client (Claude Desktop, Cursor, Cline, etc.) with zero configuration changes.

Quick Start

# 1. Install
pip install mindcore-memory

# 2. Launch MCP Server
mindcore-memory

# 3. Store a memory
# Your AI agent can now call:
memory_store(
    content="User's name is Zhang San, prefers Python, free on Wednesdays",
    importance=3,
    tags=["user-profile", "schedule"],
    confidence=0.95
)

# 4. Recall later (even across sessions!)
results = memory_recall(
    query="Zhang San's schedule and preferences",
    limit=5
)

Installation

pip install mindcore-memory

Via pipx (Isolated)

pipx install mindcore-memory

From Source

git clone https://github.com/woshilaohei/mindcore-memory-mcp.git
cd mindcore-memory-mcp
pip install -e .

Requirements

  • Python 3.10 or higher
  • No external database required (uses embedded TinyDB)

MCP Client Setup

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mindcore-memory": {
      "command": "python",
      "args": ["-m", "mindcore_memory.server"]
    }
  }
}

Cursor / Cline / Roo Code

{
  "mcpServers": {
    "mindcore-memory": {
      "command": "python",
      "args": ["-m", "mindcore_memory.server"],
      "env": {
        "MINDCODE_MEMORY_FILE": "~/.mindcore/memory.json"
      }
    }
  }
}

Any MCP Client (Generic)

{
  "mcpServers": {
    "mindcore-memory": {
      "command": "python",
      "args": ["-m", "mindcore_memory.server"]
    }
  }
}

Core Tools

memory_store — Store a Memory

memory_store(
    content="Python was created by Guido van Rossum",
    importance=3,          # 1 (low) to 4 (critical)
    tags=["python", "history"],
    confidence=0.95,       # 0.0 to 1.0
    source="agent"         # "agent", "user", or "tool"
)

Returns a memory_id for later reference.

memory_recall — Search Memories

memory_recall(
    query="Who created Python?",
    tags=["python"],       # Optional: filter by tags
    limit=10,              # Max results
    min_confidence=0.7     # Confidence threshold
)

Returns ranked results by relevance × importance × confidence.

memory_context — Build Context Window

memory_context(
    query="Current project architecture decisions",
    max_tokens=2000,       # Auto-truncates to fit context
    tags=["architecture"]  # Optional tag filter
)

Smart deduplication + priority sorting. Never overloads the context window.

memory_update — Update a Memory

memory_update(
    memory_id="abc123",
    content="Updated: Python 3.13 is now the latest stable release",
    importance=4,
    confidence=0.99
)

memory_delete — Remove a Memory

memory_delete(memory_id="abc123")

memory_stats — Memory Statistics

stats = memory_stats()
# Returns: total memories, per-tag counts, average confidence, storage size

Eval Results

Our evaluation framework tests every dimension of memory quality:

Storage Integrity:        100% — Data persists correctly across restarts
Recall Relevance:         100% — Relevant memories recalled first
Confidence Calibration:   100% — Confidence scores match actual relevance
Importance Weighting:     100% — High-priority memories always ranked higher
Context Efficiency:       100% — Context window never overloaded
Deduplication Accuracy:   100% — No duplicate memories in context

Overall Score: 100%

Architecture

+------------------+     MCP Protocol     +---------------------+
|                  | <--- JSON-RPC -----> |                     |
|  AI Client       |       (stdio)        |  MindCore Memory    |
|  (Claude/Cursor) |                      |  MCP Server         |
|                  |                      |                     |
+------------------+                      +----------+----------+
                                                     |
                                            +--------v--------+
                                            |                 |
                                            |  Memory Engine  |
                                            |  - Store        |
                                            |  - Recall       |
                                            |  - Context      |
                                            |  - Update       |
                                            |  - Delete       |
                                            |                 |
                                            +--------+--------+
                                                     |
                                            +--------v--------+
                                            |                 |
                                            |  TinyDB         |
                                            |  (Embedded)     |
                                            |                 |
                                            +-----------------+
  • Zero Dependencies: No PostgreSQL, Redis, or vector DB needed
  • Embedded Database: TinyDB stores memories as local JSON files
  • MCP Native: Implements Model Context Protocol over stdio transport
  • Scoring Engine: Combines importance, confidence, recency, and relevance

Find Us

MindCore Memory is listed on all major MCP directories:

PlatformStatusLink
MCP Registry (Official)RegisteredView
PyPIPublishedmindcore-memory
GlamaListedView
MCP MarketListedView
LobeHubListedView

Development

# Clone and install dev dependencies
git clone https://github.com/woshilaohei/mindcore-memory-mcp.git
cd mindcore-memory-mcp
pip install -e ".[dev]"

# Run tests
pytest

# Run linter
ruff check .

# Run type checker
mypy mindcore_memory/

License

MIT License — Copyright (c) 2025 Lao Hei

Server Config

{
  "mcpServers": {
    "mindcore-memory": {
      "command": "python",
      "args": [
        "-m",
        "mindcore_memory"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
CursorThe AI Code Editor
Playwright McpPlaywright MCP server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
DeepChatYour AI Partner on Desktop
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Amap Maps高德地图官方 MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp