MCP Server Studio

Compound Memory MCP server

Local-first shared memory for multiple AI agents that compounds with use; Markdown + git, MCP + CLI.

Registry name: io.github.chinwe/compound-memory

Publisher
chinwe
Runs
Runs locally
Package
PyPI
Version
0.5.12
Category
AI & agents
Updated
2026-10-29

Source code on GitHub

Set up Compound Memory (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "compound-memory": {
      "command": "uvx",
      "args": [
        "compound-memory==0.5.12"
      ],
      "env": {
        "COMPOUND_MEMORY_ROOT": "<COMPOUND_MEMORY_ROOT>",
        "COMPOUND_MEMORY_AGENT_ID": "<COMPOUND_MEMORY_AGENT_ID>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add compound-memory -e COMPOUND_MEMORY_ROOT='<COMPOUND_MEMORY_ROOT>' -e COMPOUND_MEMORY_AGENT_ID='<COMPOUND_MEMORY_AGENT_ID>' -- uvx compound-memory==0.5.12

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "compound-memory": {
      "command": "uvx",
      "args": [
        "compound-memory==0.5.12"
      ],
      "env": {
        "COMPOUND_MEMORY_ROOT": "<COMPOUND_MEMORY_ROOT>",
        "COMPOUND_MEMORY_AGENT_ID": "<COMPOUND_MEMORY_AGENT_ID>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "compound-memory": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "compound-memory==0.5.12"
      ],
      "env": {
        "COMPOUND_MEMORY_ROOT": "<COMPOUND_MEMORY_ROOT>",
        "COMPOUND_MEMORY_AGENT_ID": "<COMPOUND_MEMORY_AGENT_ID>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "compound-memory": {
      "command": "uvx",
      "args": [
        "compound-memory==0.5.12"
      ],
      "env": {
        "COMPOUND_MEMORY_ROOT": "<COMPOUND_MEMORY_ROOT>",
        "COMPOUND_MEMORY_AGENT_ID": "<COMPOUND_MEMORY_AGENT_ID>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
COMPOUND_MEMORY_ROOTNoStore root directory. A leading ~ or $HOME/${HOME} is expanded; unset or blank falls back to $HOME/.agents/memory
COMPOUND_MEMORY_AGENT_IDNoStable host agent id (e.g. agent-claude). Required for a multi-agent store: process identity wins over a self-reported source. Unset is only for a single trusted caller; stats.attestation.warning…

More ai & agents MCP servers