Claude Code Buddy MCP Server

MeMesh — Local memory for Claude Code and MCP coding agents. One SQLite file, zero cloud required.

Remote serverstreamable-httpPython

What is the Claude Code Buddy MCP Server?

MeMesh — Local memory for Claude Code and MCP coding agents. One SQLite file, zero cloud required.

More MCP options

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

Maintainer setup documentation.

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
rememberStore knowledge with observations, relations, and tags
recallFTS5 + sqlite-vec search with multi-factor scoring (relevance, recency, frequency, confidence, recall impact) — no LLM in the hot path
forgetSoft-archive (never deletes) or remove specific observations
consolidateLLM-powered compression of verbose memories
exportShare memories as JSON between projects or team members
importImport memories with merge strategies (skip / overwrite / append)
learnRecord structured lessons from mistakes (error, root cause, fix, prevention)
user_patternsAnalyze your work patterns — schedule, tools, strengths, learning areas
verify_agent_workPersist a verification report for background-agent work; reality-checks claimed file changes against git diff

How to install the Claude Code Buddy MCP Server

{
  "mcpServers": {
    "claude-code-buddy": {
      "command": "npx",
      "args": ["-y", "@pcircle/memesh"],
      "env": {
        "MEMESH_AUTO_CAPTURE": "your-value",
        "MEMESH_DB_PATH": "your-value",
        "ANTHROPIC_API_KEY": "your-value",
        "OPENAI_API_KEY": "your-value",
        "OLLAMA_HOST": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
MEMESH_AUTO_CAPTUREConfiguration value read at startup.Optional
MEMESH_DB_PATHFilesystem location the server is allowed to use.Optional
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes
OLLAMA_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • “Use Claude Code Buddy to remember.”
  • “Use Claude Code Buddy to recall.”
  • “Use Claude Code Buddy to forget.”

Frequently asked questions

MeMesh — Local memory for Claude Code and MCP coding agents. One SQLite file, zero cloud required. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.