MCP Catalogs
首页Memory-Plus screenshot

Memory-Plus

by Yuchen20·58·综合分 43

轻量级本地RAG记忆存储,支持记录、检索、更新和可视化AI代理的持久记忆。

ai-llmdeveloper-toolsknowledge-graph
7
Forks
2
活跃 Issue
12 个月前
最近提交
2 天前
收录于

概述

Memory-Plus 是基于Python的MCP服务器,为AI代理提供本地检索增强生成(RAG)记忆存储。它允许开发者记录、检索、更新、删除和可视化跨会话的持久记忆。服务器使用Google的Gemini Embedding API处理记忆,并保留记忆的版本以提供历史上下文。特别适合使用多个AI编程工具的开发者,希望他们的AI助手在会话间保持上下文。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:让AI编程助手跨会话记住项目上下文
:存储和检索用户偏好以实现个性化AI交互
:创建想法和概念的知识图谱以增进理解
:为什么memory-plus无法工作?
:如何在真实的聊天会话中使用memory-plus?

什么时候选它

当您需要为 AI 代理提供一个本地、注重隐私的内存解决方案,能在多个会话和 IDE 中工作且无需外部服务时,选择 Memory-Plus。

什么时候不要选它

如果您需要跨设备的云内存共享,需要超越基本关键词匹配的搜索功能,或者想要没有外部 API 依赖(如 Google)的解决方案,不要选择 Memory-Plus。

此 server 暴露的工具

从 README 抽取出 7 个工具
  • record_memory

    Save user data, ideas, and important context.

  • retrieve_memory

    Search by keywords or topics over past entries.

  • get_recent_memories

    Fetch the last N memory items.

  • update_memory

    Append or modify existing memory entries.

  • visualize_memories

    Create interactive graph clusters revealing relationships between memories.

  • import_file

    Ingest documents directly into memory.

  • delete_memory

    Remove unwanted memory entries.

可对比工具

semantic-memory-mcpmemgptautogen-mcpvector-mcp

安装

安装步骤

**先决条件:**

  1. Google API密钥(用于Gemini Embedding API)

- 从[Google AI Studio](https://aistudio.google.com/apikey)获取 - 设置为环境变量中的GOOGLE_API_KEY

**使用UV Runtime设置:**

# 安装UV
pip install uv

# 添加到VS Code/settings.json
{
  "mcpServers": {
    "memory-plus": {
      "command": "uvx",
      "args": [
        "-q",
        "memory-plus@latest"
      ],
      "env": {
        "GOOGLE_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

**VS Code一键安装:** [![VS Code一键安装](https://imgix.net/memory-plus.png)](https://insiders.vscode.dev/redirect/mcp/install?name=memory-plus&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22-q%22%2C%22memory-plus%40latest%22%5D%7D)

FAQ

为什么memory-plus无法工作?
memory-plus的依赖项首次下载可能较慢(约1分钟)。安装后,后续使用会快很多。
如何在真实的聊天会话中使用memory-plus?
将MCP JSON配置添加到您的MCP设置中。添加后,memory-plus会在需要时自动激活。

Memory-Plus 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。