Repomemory MCP Server

Your codebase never forgets. Persistent, structured memory for AI coding agents.

Local serverstdioGo

What is the Repomemory MCP Server?

Your codebase never forgets. Persistent, structured memory for AI coding agents.

What it actually does

AI agents lose context every session. repomemory fixes that — one command creates a persistent, searchable knowledge base that any AI tool can read, search, and write to.

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.

How to install the Repomemory MCP Server

{
  "mcpServers": {
    "repomemory": {
      "command": "npx",
      "args": ["-y", "repomemory"],
      "env": {
        "ANTHROPIC_API_KEY": "your-value",
        "OPENAI_API_KEY": "your-value",
        "GEMINI_API_KEY": "your-value",
        "GOOGLE_API_KEY": "your-value",
        "GROK_API_KEY": "your-value",
        "XAI_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes
GEMINI_API_KEYCredential the server authenticates with.Yes
GOOGLE_API_KEYCredential the server authenticates with.Yes
GROK_API_KEYCredential the server authenticates with.Yes
XAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Repomemory to Cursor.”
  • “Use Repomemory to Windsurf.”
  • “Use Repomemory to Cline.”

Frequently asked questions

Your codebase never forgets. Persistent, structured memory for AI coding agents. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.