Skip to content
Grok

Local Memory for Grok

io.github.studiomeyer-io/local-memory-mcp

Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys.

client:Grok transport:stdio runtime:npm

Install Local 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": {
    "local-memory-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@studiomeyer/local-memory-mcp"
      ],
      "env": {
        "MEMORY_DB_PATH": "<MEMORY_DB_PATH>",
        "MEMORY_EMBED_DISABLED": "<MEMORY_EMBED_DISABLED>",
        "MEMORY_EMBED_MODEL": "<MEMORY_EMBED_MODEL>",
        "MEMORY_EMBED_CACHE_DIR": "<MEMORY_EMBED_CACHE_DIR>"
      }
    }
  }
}

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

Local Memory in other clients