Design Engineer Logo
Visit Repo
Open Graph preview

MCP Knowledge Graph

MCP server enabling persistent memory for Claude through a local knowledge graph

Site favicon
💡 Knowledge Base

Overview

MCP Knowledge Graph: Empowering Claude with Persistent Memory

The MCP Knowledge Graph is a powerful tool designed to enhance the capabilities of the Claude AI assistant by providing it with persistent memory. This innovative solution enables Claude to remember and build upon information across multiple conversations, allowing for more personalized and contextual interactions.

Key Features:

  1. Entities: The knowledge graph stores information as discrete entities, each with a unique name, type, and set of observations.
  2. Relations: The system defines directed connections between entities, capturing how they interact or relate to each other.
  3. Observations: Atomic pieces of information are stored as observations and can be added, removed, or updated independently for each entity.
  4. API Tools: The project provides a comprehensive set of API tools for managing the knowledge graph, including creating entities, relations, and observations, as well as searching and retrieving information.

Target Audience and Use Cases:

The MCP Knowledge Graph is primarily designed for developers and researchers working on conversational AI systems, particularly those using the Claude assistant. It can be used to enhance the user experience by enabling Claude to maintain a persistent memory of the user's information, preferences, and interactions.

Noteworthy Aspects:

  1. Customizable Memory Path: The solution allows users to specify a custom path for the memory file, providing flexibility in how the knowledge graph is stored and accessed.
  2. System Prompt Integration: The project includes an example system prompt that demonstrates how the knowledge graph can be integrated into the conversation flow, guiding the model to effectively utilize and update the persistent memory.
  3. Open-Source and Extensible: The MCP Knowledge Graph is licensed under the MIT License, making it freely available for use, modification, and distribution. This allows developers to build upon and extend the functionality to suit their specific needs.

Overall, the MCP Knowledge Graph is a valuable addition to the Claude ecosystem, empowering developers to create more engaging and personalized conversational experiences by leveraging the power of persistent memory.