Skip to content
Grok

collective memory for Grok

io.github.hustada/collective-memory

MCP server for persistent, semantic memory across AI sessions

client:Grok transport:stdio runtime:npm

Install collective 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": {
    "collective-memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "collective-memory"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

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

collective memory in other clients