Memories With Lessons
M

Memories With Lessons

一個基於知識圖譜的持久化記憶服務器,支持跨會話記憶用戶信息並通過錯誤學習系統積累經驗。提供實體關係管理、觀察記錄存儲和錯誤解決方案管理功能,可集成到Cursor MCP客戶端中。
2.5分
7.6K

What is the Knowledge Graph Memory Server?

This server provides Claude with long-term memory capabilities by storing information in a structured knowledge graph format. It remembers user details, preferences, and past interactions, while also capturing error patterns and solutions for continuous learning.

How does it work?

The server stores information as interconnected entities (people, organizations, events) with observations (facts) and relationships. Special 'lesson' entities capture error patterns and verified solutions for future reference.

When should I use it?

Ideal for: 1) Personalized AI assistants that remember user details 2) Technical support bots that learn from past solutions 3) Any application requiring persistent memory across conversations.

Key Features

Entity System
Store information about people, organizations, and events as interconnected nodes with attributes and relationships.
Error Learning
Capture error patterns and solutions as special 'lesson' entities that improve over time with success rate tracking.
Persistent Memory
Maintain information across different conversations through local JSON storage that persists between sessions.
Cursor MCP Integration
Seamless integration with Cursor IDE through Model Context Protocol for developer assistance scenarios.
Advantages
Remembers user preferences and details across conversations
Learns from mistakes by capturing error patterns and solutions
Lightweight local storage avoids cloud dependencies
Structured knowledge graph enables complex relationship modeling
Limitations
Local storage limits sharing across devices
Manual setup required for Cursor integration
Basic search capabilities (no advanced semantic search)
File-based storage may have performance limits at scale

Setup Guide

Installation
Install via Docker or NPX depending on your preference.
Cursor Configuration
Add the server configuration to your claude_desktop_config.json file.
System Prompt
Configure Claude's behavior with a prompt template that specifies when and how to use memory.
Memory Management
Use the provided API tools to create, read, update and delete memory entries as needed.

Example Scenarios

Personal Assistant
Claude remembers user preferences and personal details across conversations
Technical Support
Learn from and recall solutions to common technical errors
Project Management
Track team members and their relationships to projects

Frequently Asked Questions

Where is the memory data stored?
How do I clear the memory?
Can I use this with multiple users?
What happens if the JSON files get too large?

Additional Resources

GitHub Repository
Original source code and documentation
Model Context Protocol
About the MCP standard this implements
Knowledge Graphs Explained
Background on knowledge graph technology

安裝

複製以下命令到你的Client進行配置
{
  "mcpServers": {
    "memory": {
      "command": "docker",
      "args": ["run", "-i", "-v", "claude-memory:/app/dist", "--rm", "mcp/memory"]
    }
  }
}

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ]
    }
  }
}

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ],
      "env": {
        "MEMORY_FILE_PATH": "/path/to/custom/memory.json"
      }
    }
  }
}
注意:您的密鑰屬於敏感信息,請勿與任何人分享。

替代品

K
Klavis
Klavis AI是一個開源項目,提供在Slack、Discord和Web平臺上簡單易用的MCP(模型上下文協議)服務,包括報告生成、YouTube工具、文檔轉換等多種功能,支持非技術用戶和開發者使用AI工作流。
TypeScript
9.2K
5分
D
Devtools Debugger MCP
Node.js調試器MCP服務器,提供基於Chrome DevTools協議的完整調試功能,包括斷點設置、單步執行、變量檢查和表達式評估等
TypeScript
5.4K
4分
M
Mcpjungle
MCPJungle是一個自託管的MCP網關,用於集中管理和代理多個MCP服務器,為AI代理提供統一的工具訪問接口。
Go
0
4.5分
C
Cipher
Cipher是一個專為編程AI代理設計的開源記憶層框架,通過MCP協議與各種IDE和AI編碼助手集成,提供自動記憶生成、團隊記憶共享和雙系統記憶管理等核心功能。
TypeScript
0
5分
N
Nexus
Nexus是一個AI工具聚合網關,支持連接多個MCP服務器和LLM提供商,通過統一端點提供工具搜索、執行和模型路由功能,支持安全認證和速率限制。
Rust
0
4分
Z
Zen MCP Server
Zen MCP是一個多模型AI協作開發服務器,為Claude和Gemini CLI等AI編碼助手提供增強的工作流工具和跨模型上下文管理。它支持多種AI模型的無縫協作,實現代碼審查、調試、重構等開發任務,並能保持對話上下文在不同工作流間的延續。
Python
16.2K
5分
O
Opendia
OpenDia是一款開源瀏覽器擴展工具,允許AI模型直接控制用戶瀏覽器,利用現有登錄狀態、書籤等數據進行自動化操作,支持多種瀏覽器和AI模型,注重隱私保護。
JavaScript
9.1K
5分
N
Notte Browser
已認證
Notte是一個開源的全棧網絡AI代理框架,提供瀏覽器會話、自動化LLM驅動的代理、網頁觀察與操作、憑證管理等功能,旨在將互聯網轉化為代理友好的環境,並通過自然語言描述網站結構,降低LLM的認知負擔。
14.4K
4.5分
M
Markdownify MCP
Markdownify是一個多功能文件轉換服務,支持將PDF、圖片、音頻等多種格式及網頁內容轉換為Markdown格式。
TypeScript
19.6K
5分
B
Baidu Map
已認證
百度地圖MCP Server是國內首個兼容MCP協議的地圖服務,提供地理編碼、路線規劃等10個標準化API接口,支持Python和Typescript快速接入,賦能智能體實現地圖相關功能。
Python
27.5K
4.5分
F
Firecrawl MCP Server
Firecrawl MCP Server是一個集成Firecrawl網頁抓取能力的模型上下文協議服務器,提供豐富的網頁抓取、搜索和內容提取功能。
TypeScript
66.5K
5分
S
Sequential Thinking MCP Server
一個基於MCP協議的結構化思維服務器,通過定義思考階段幫助分解複雜問題並生成總結
Python
21.9K
4.5分
N
Notion Api MCP
已認證
一個基於Python的MCP服務器,通過Notion API提供高級待辦事項管理和內容組織功能,實現AI模型與Notion的無縫集成。
Python
13.4K
4.5分
E
Edgeone Pages MCP Server
EdgeOne Pages MCP是一個通過MCP協議快速部署HTML內容到EdgeOne Pages並獲取公開URL的服務
TypeScript
16.4K
4.8分
M
Magic MCP
Magic Component Platform (MCP) 是一個AI驅動的UI組件生成工具,通過自然語言描述幫助開發者快速創建現代化UI組件,支持多種IDE集成。
JavaScript
15.5K
5分
C
Context7
Context7 MCP是一個為AI編程助手提供即時、版本特定文檔和代碼示例的服務,通過Model Context Protocol直接集成到提示中,解決LLM使用過時信息的問題。
TypeScript
45.5K
4.7分
AIBase
智啟未來,您的人工智慧解決方案智庫
© 2025AIBase