optimized-memory-mcp-server logo

optimized-memory-mcp-server

by MCP-Mirror

This is a fork of a Python Memory MCP Server that uses SQLite for a backend. It implements a basic persistent memory using a local knowledge graph, allowing Claude to remember information across chats.

View on GitHub

Last updated: N/A

What is optimized-memory-mcp-server?

A Python implementation of a Memory MCP Server that uses a local knowledge graph to store and retrieve information. It allows Claude to maintain persistent memory of users and their interactions.

How to use optimized-memory-mcp-server?

The server provides an API with tools to create entities and relations, add/delete observations, read/search the graph, and retrieve specific nodes. It can be integrated with Claude Desktop by configuring the claude_desktop_config.json file with either Docker or NPX. A system prompt is required to instruct Claude on how to utilize the memory server.

Key features of optimized-memory-mcp-server

  • Persistent memory using a local knowledge graph

  • Entities, relations, and observations for structured data storage

  • API for creating, updating, and querying the knowledge graph

  • Integration with Claude Desktop

  • Docker and NPX deployment options

Use cases of optimized-memory-mcp-server

  • Chat personalization

  • Contextual understanding in conversations

  • Remembering user preferences and history

  • Building user profiles

  • Tracking relationships between entities

FAQ from optimized-memory-mcp-server

What are entities?

Entities are the primary nodes in the knowledge graph, representing objects or concepts with a unique name, 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 integrate this with Claude Desktop?

You need to configure the claude_desktop_config.json file with either Docker or NPX, as described in the README.

What is the purpose of the system prompt?

The system prompt instructs Claude on how to utilize the memory server, including when to retrieve and update information.