Skip to content
Grok

nan forget for Grok

io.github.nanmesh/nan-forget

AI that remembers. Local-first cross-session, cross-project long-term memory for coding tools.

client:Grok transport:stdio runtime:npm

Install nan forget 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": {
    "nan-forget": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nan-forget"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "NAN_FORGET_EMBEDDING_PROVIDER": "<NAN_FORGET_EMBEDDING_PROVIDER>",
        "NAN_FORGET_USER_ID": "<NAN_FORGET_USER_ID>",
        "NAN_FORGET_PROJECT_ROOT": "<NAN_FORGET_PROJECT_ROOT>"
      }
    }
  }
}

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

nan forget in other clients