Skip to content
Cursor

code memory for Cursor

io.github.kapillamba4/code-memory

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

client:Cursor transport:stdio runtime:pypi

Install code memory in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "code-memory": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "code-memory"
      ],
      "env": {
        "CODE_MEMORY_LOG_LEVEL": "<CODE_MEMORY_LOG_LEVEL>",
        "EMBEDDING_MODEL": "<EMBEDDING_MODEL>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

code memory in other clients