Skip to content
Grok

memoir for Grok

io.github.bighippoman/memoir

Structured session journals for AI agents. Persistent memory across sessions.

client:Grok transport:stdio runtime:npm

Install memoir 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": {
    "memoir": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memoir-mcp"
      ],
      "env": {
        "MEMOIR_MAX_CONTENT": "<MEMOIR_MAX_CONTENT>",
        "MEMOIR_MAX_OUTCOME": "<MEMOIR_MAX_OUTCOME>",
        "MEMOIR_MAX_ENTRIES": "<MEMOIR_MAX_ENTRIES>",
        "MEMOIR_MAX_SESSIONS": "<MEMOIR_MAX_SESSIONS>"
      }
    }
  }
}

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

memoir in other clients