This repository provides a knowledge graph memory server, a fork of the original Memory Server, that allows Claude to remember user information across chats using local, persistent storage with customizable memory paths.
This project is a fork of the original Memory Server, designed for persistent memory using a local knowledge graph with a customizable --memory-path
. It allows Claude to remember user information across chats without relying on ephemeral memory.
Core Concepts: The server utilizes entities (nodes with a unique name, type, and observations), relations (directed connections between entities), and observations (atomic facts about entities).
API: The API provides tools for managing the knowledge graph, including create_entities
, create_relations
, add_observations
, delete_entities
, delete_observations
, delete_relations
, read_graph
, search_nodes
, and open_nodes
.
Usage: To use with Claude Desktop, configure the claude_desktop_config.json
file with the server command and arguments. A custom memory path can be specified. The system prompt guides the model to identify users, retrieve relevant information from the knowledge graph (memory), and update the memory with new information gathered during interactions.
This MCP server is licensed under the MIT License.
shaneholloman/mcp-knowledge-graph
December 9, 2024
March 28, 2025
JavaScript