Skip to content
Grok

Counterparts for Grok

ai.counterparts/memory

Local-first memory for AI: it interprets, forgets on purpose, and keeps a self across sessions.

client:Grok transport:stdio runtime:npm

Install Counterparts 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": {
    "memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "counterparts"
      ],
      "env": {
        "COUNTERPARTS_DATA_DIR": "<COUNTERPARTS_DATA_DIR>",
        "COUNTERPARTS_CONFIG": "<COUNTERPARTS_CONFIG>",
        "COUNTERPARTS_UPDATE_CHECK": "<COUNTERPARTS_UPDATE_CHECK>"
      }
    }
  }
}

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

Counterparts in other clients