Knowledge Graph Memory Server logo

Knowledge Graph Memory Server

by s2005

A basic implementation of persistent memory using a local knowledge graph. This allows applications like Claude to remember information about users across interactions.

View on GitHub

Last updated: N/A

What is Knowledge Graph Memory Server?

The Knowledge Graph Memory Server is a standalone implementation of persistent memory using a local knowledge graph. It allows applications to store and retrieve information about entities and their relationships.

How to use Knowledge Graph Memory Server?

The server provides an API with tools to create entities and relations, add and delete observations, read the graph, and search for nodes. It can be used as a standalone package via npm or npx, or integrated into applications like Claude using Docker or NPX configurations.

Key features of Knowledge Graph Memory Server

  • Persistent memory storage using a knowledge graph

  • Entity and relation management

  • Observation storage and retrieval

  • API for creating, reading, updating, and deleting data

  • Search functionality

  • Integration with Claude via Docker or NPX

Use cases of Knowledge Graph Memory Server

  • Chat personalization by remembering user information

  • Contextual understanding in AI applications

  • Building knowledge bases for specific domains

  • Storing and retrieving information about entities and their relationships

FAQ from Knowledge Graph Memory Server

What are entities?

Entities are the primary nodes in the knowledge graph, representing objects or concepts with a unique name, entity type, and a list of observations.

What are relations?

Relations define directed connections between entities, describing how they interact or relate to each other.

What are observations?

Observations are discrete pieces of information about an entity, stored as strings and attached to specific entities.

How do I install the server?

You can install the server using npm: npm install mcp-memory-server or directly with npx: npx mcp-memory-server.

How can I integrate this with Claude?

You can integrate the server with Claude using Docker or NPX configurations in your claude_desktop_config.json file. Example configurations are provided in the README.