Skip to content
Grok

ChainMemory for Grok

io.github.chaelynet/chainmemory

Persistent cross-model memory for AI agents: verifiable, portable, client-side encrypted.

client:Grok transport:stdio runtime:npm

Install ChainMemory 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": {
    "chainmemory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "chainmemory-mcp"
      ],
      "env": {
        "CHAINMEMORY_API_KEY": "<CHAINMEMORY_API_KEY>",
        "CHAINMEMORY_SEED_PHRASE": "<CHAINMEMORY_SEED_PHRASE>",
        "CHAINMEMORY_API_BASE": "<CHAINMEMORY_API_BASE>",
        "AICHAIN_KEY": "<AICHAIN_KEY>",
        "AICHAIN_RPC": "<AICHAIN_RPC>"
      }
    }
  }
}

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

ChainMemory in other clients