← Back to browse

code-memory

Indexed by io.github.kapillamba4

About

Local semantic code search with Git history. Works offline, no API key needed.

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsCODE_MEMORY_LOG_LEVEL EMBEDDING_MODEL
Claude Code
claude mcp add --env CODE_MEMORY_LOG_LEVEL= --env EMBEDDING_MODEL= code-memory -- uvx code-memory
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"code-memory","command":"uvx","args":["code-memory"],"env":{"CODE_MEMORY_LOG_LEVEL":"","EMBEDDING_MODEL":""}}'
JSON
{
  "mcpServers": {
    "code-memory": {
      "command": "uvx",
      "args": [
        "code-memory"
      ],
      "env": {
        "CODE_MEMORY_LOG_LEVEL": "",
        "EMBEDDING_MODEL": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.