Memories With Lessons
M

Memories With Lessons

A persistent memory server based on knowledge graphs that supports remembering user information across sessions and accumulating experience through an error - learning system. It provides functions for entity - relationship management, observation record storage, and error - solution management, and can be integrated into the Cursor MCP client.
2.5 points
8.1K

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

Installation

Copy the following command to your Client for configuration
{
  "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"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
8.9K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
6.7K
4 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
C
Cipher
Cipher is an open-source memory layer framework designed for programming AI agents. It integrates with various IDEs and AI coding assistants through the MCP protocol, providing core functions such as automatic memory generation, team memory sharing, and dual-system memory management.
TypeScript
0
5 points
N
Nexus
Nexus is an AI tool aggregation gateway that supports connecting multiple MCP servers and LLM providers, providing tool search, execution, and model routing functions through a unified endpoint, and supporting security authentication and rate limiting.
Rust
0
4 points
Z
Zen MCP Server
Zen MCP is a multi-model AI collaborative development server that provides enhanced workflow tools and cross-model context management for AI coding assistants such as Claude and Gemini CLI. It supports seamless collaboration of multiple AI models to complete development tasks such as code review, debugging, and refactoring, and can maintain the continuation of conversation context between different workflows.
Python
14.8K
5 points
O
Opendia
OpenDia is an open - source browser extension tool that allows AI models to directly control the user's browser, perform automated operations using existing login status, bookmarks and other data, support multiple browsers and AI models, and focus on privacy protection.
JavaScript
14.4K
5 points
N
Notte Browser
Certified
Notte is an open-source full-stack network AI agent framework that provides browser sessions, automated LLM-driven agents, web page observation and operation, credential management, etc. It aims to transform the Internet into an agent-friendly environment and reduce the cognitive burden of LLMs by describing website structures in natural language.
16.6K
4.5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
15.2K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
47.8K
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.5K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
25.7K
5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
21.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
47.4K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
67.2K
4.7 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
31.2K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase