Skip to content
Grok

code memory for Grok

io.github.kapillamba4/code-memory

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

client:Grok transport:stdio runtime:pypi

Install code memory in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

code memory in other clients