drio
Open app

MCP Memory Service

Source

MCP server providing semantic memory and persistent storage capabilities for Claude using ChromaDB and sentence transformers.

Catalog onlyCatalog onlySTDIO

Overview

MCP Memory Service is a semantic memory and persistent storage solution designed for use with Claude Desktop. It utilizes ChromaDB and sentence transformers to maintain context across various conversations and instances.

To use the service, set up a Python virtual environment, install the required dependencies, and run the server. Connect to it via websocket to store and retrieve memories.

  • Semantic search functionality - Persistent storage powered by ChromaDB - Automatic database backup - Tag-based memory retrieval - Debug mode for similarity analysis - Memory optimization tools
  1. Long-term conversational context management.
  2. Semantic search for relevant information retrieval across conversations.
  3. Maintaining structured data storage with automatic backups.

Add to your AI client

Use these steps to connect MCP Memory Service 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": {
    "mcp-memory-service-doobidoo": {
      "command": "uv",
      "args": [
        "--directory",
        "/workspaces/mcp-memory-service",
        "run",
        "memory"
      ],
      "env": {
        "MCP_MEMORY_BACKUPS_PATH": "/home/codespace/.local/share/mcp-memory/backups",
        "MCP_MEMORY_CHROMA_PATH": "/home/codespace/.local/share/mcp-memory/chroma_db"
      }
    }
  }
}

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": {
    "mcp-memory-service-doobidoo": {
      "command": "uv",
      "args": [
        "--directory",
        "/workspaces/mcp-memory-service",
        "run",
        "memory"
      ],
      "env": {
        "MCP_MEMORY_BACKUPS_PATH": "/home/codespace/.local/share/mcp-memory/backups",
        "MCP_MEMORY_CHROMA_PATH": "/home/codespace/.local/share/mcp-memory/chroma_db"
      }
    }
  }
}

Claude Code

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

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-memory-service-doobidoo": {
      "command": "uv",
      "args": [
        "--directory",
        "/workspaces/mcp-memory-service",
        "run",
        "memory"
      ],
      "env": {
        "MCP_MEMORY_BACKUPS_PATH": "/home/codespace/.local/share/mcp-memory/backups",
        "MCP_MEMORY_CHROMA_PATH": "/home/codespace/.local/share/mcp-memory/chroma_db"
      }
    }
  }
}

VS Code (Copilot)

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

.vscode/mcp.json

{
  "servers": {
    "mcp-memory-service-doobidoo": {
      "type": "stdio",
      "command": "uv",
      "args": [
        "--directory",
        "/workspaces/mcp-memory-service",
        "run",
        "memory"
      ],
      "env": {
        "MCP_MEMORY_BACKUPS_PATH": "/home/codespace/.local/share/mcp-memory/backups",
        "MCP_MEMORY_CHROMA_PATH": "/home/codespace/.local/share/mcp-memory/chroma_db"
      }
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-memory-service-doobidoo": {
      "command": "uv",
      "args": [
        "--directory",
        "/workspaces/mcp-memory-service",
        "run",
        "memory"
      ],
      "env": {
        "MCP_MEMORY_BACKUPS_PATH": "/home/codespace/.local/share/mcp-memory/backups",
        "MCP_MEMORY_CHROMA_PATH": "/home/codespace/.local/share/mcp-memory/chroma_db"
      }
    }
  }
}

Cline

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

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-memory-service-doobidoo": {
      "command": "uv",
      "args": [
        "--directory",
        "/workspaces/mcp-memory-service",
        "run",
        "memory"
      ],
      "env": {
        "MCP_MEMORY_BACKUPS_PATH": "/home/codespace/.local/share/mcp-memory/backups",
        "MCP_MEMORY_CHROMA_PATH": "/home/codespace/.local/share/mcp-memory/chroma_db"
      }
    }
  }
}

FAQ

Can I use MCP Memory Service for multiple users?

No, the service is designed for personal use only and does not provide user management.

How does the semantic search work?

It utilizes sentence transformers to enable context-aware retrieval of stored memories.

Is there an automatic backup feature?

Yes, the service includes automatic backups that run every 24 hours.