drio
Open app

Knowledge Graph Memory Server

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

The Knowledge Graph Memory Server is a basic implementation of persistent memory using a local knowledge graph, allowing Claude to remember user information across chats and learn from past errors through a lesson system.

To use the server, clone the repository, install dependencies, build the project, and configure it with the Cursor MCP client or Claude Desktop.

  • Persistent memory storage using a knowledge graph - Ability to create and manage entities, relations, and observations - Lesson management for capturing knowledge about errors and solutions - API tools for interacting with the knowledge graph
  1. Storing user preferences and behaviors for personalized interactions
  2. Managing error patterns and solutions for software development
  3. Enhancing AI interactions by remembering past conversations

Add to your AI client

Use these steps to connect Knowledge Graph Memory Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-t1nker-1220-memories-with-lessons-mcp-server-mcp-mirror"
      ]
    }
  }
}

FAQ

Can the server handle multiple users?

Yes! The server can manage information for multiple users through unique entities.

Is there a limit to the number of entities or observations?

No, but performance may vary based on the size of the knowledge graph.

How can I integrate it with other applications?

You can use the provided API tools to connect the server with various applications.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1374,"uuid":"c31284ee-56d2-43a7-afe4-494ddeea26cf","name":"T1nker-1220_memories-with-lessons-mcp-server","title":"Knowledge Graph Memory Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2025-02-20T15:32:13.102Z","updated_at":"2025-02-23T07:20:27.903Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"knowledge-graph,memory-server,persistent-memory","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/T1nker-1220_memories-with-lessons-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]