Optimized Memory MCP Server

Provides a persistent memory solution using a local knowledge graph, allowing applications to remember information across interactions.

Local serverstdioPython★ 6

What is the Optimized Memory MCP Server?

Provides a persistent memory solution using a local knowledge graph, allowing applications to remember information across interactions.

What it actually does

This is to test and demonstrate Claude AI's coding abilities, as well as good AI workflows and prompt design. This is a fork of a Python Memory MCP Server (I believe the official one is in Java) which uses SQLite for a backend.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
create_entitiesCreate multiple new entities in the knowledge graph
create_relationsCreate multiple new relations between entities
add_observationsAdd new observations to existing entities
delete_entitiesRemove entities and their relations
delete_observationsRemove specific observations from entities
delete_relationsRemove specific relations from the graph
read_graphRead the entire knowledge graph
search_nodesSearch for nodes based on query
open_nodesRetrieve specific nodes by name

How to install the Optimized Memory MCP Server

{
  "mcpServers": {
    "memory": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "mcp/memory"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • “Use Optimized Memory to create entities.”
  • “Use Optimized Memory to Input.”
  • “Use Optimized Memory to create relations.”

Frequently asked questions

Optimized Memory is an API providing persistent memory using a local knowledge graph. It enables applications, especially AI models like Claude, to remember information across interactions, creating a more personalized experience.