Knowledge Graph Memory Server
@T1nker-1220
Knowledge Graph Memory Server について
I enhance the existing memory mcp server from the official mcp github, so big thanks and credits for creating this
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"memories-with-lessons-mcp-server": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/memory",
"-f",
"src/memory/Dockerfile",
"."
]
}
}
}ツール
9Create multiple new entities in the knowledge graph
Create multiple new relations between entities
Add new observations to existing entities
Remove entities and their relations
Remove specific observations from entities
Remove specific relations from the graph
Read the entire knowledge graph
Search for nodes based on query
Retrieve specific nodes by name
概要
What is Knowledge Graph Memory Server?
A persistent memory implementation using a local knowledge graph, allowing Claude to remember user information across chats and learn from past errors through a lesson system.
How to use Knowledge Graph Memory Server?
Install via npx or Docker, configure the MCP client (e.g., Claude Desktop or Cursor), and add a system prompt for memory usage. The server exposes tools for managing entities, relations, observations, and lessons. Environment variable MEMORY_FILE_PATH can set a custom storage path.
Key features of Knowledge Graph Memory Server
- Entities as primary nodes with name, type, and observations.
- Directed relations stored in active voice.
- Atomic observations attached to entities.
- Lesson system for error pattern capture and success tracking.
- Automatic file splitting when lines exceed 1000.
Use cases of Knowledge Graph Memory Server
- Persistent memory for personal assistant across chat sessions.
- Learning from past errors by storing lessons with solutions.
- Building a knowledge graph of user preferences, relationships, and goals.
FAQ from Knowledge Graph Memory Server
What data does the server store?
It stores entities (with type and observations), relations between entities, and lessons (error patterns, solutions, metadata) in local JSON files (memory.json and lesson.json).
How are lessons different from regular entities?
Lessons are special entities with structured error pattern information, solution steps, success rate tracking, and environmental context, designed for learning from errors.
What are the runtime requirements?
Requires Node.js and npm/npx or Docker. The server uses local file storage; no external database is needed.
How does file management work?
Files are automatically split if they exceed 1000 lines to maintain performance.
What transport/auth does the server use?
The server uses stdio transport (for Claude Desktop) and is intended for local use with no authentication mechanism described.
「メモリとナレッジ」の他のコンテンツ
minutes
silversteinEvery meeting, every idea, every voice note — searchable by your AI. Open-source, privacy-first conversation memory layer.
Memory Bank MCP Server
alioshrA Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.
MCP server for Obsidian
MarkusPfundsteinMCP server that interacts with Obsidian via the Obsidian rest API community plugin
Obsidian MCP Server
cyanheadsRead, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP. STDIO or Streamable HTTP.
MCP Apple Notes
RafalWilinskiTalk with your notes in Claude. RAG over your Apple Notes using Model Context Protocol.
コメント