Skip to content
Grok

hmem — Humanlike Memory for AI Agents for Grok

io.github.bumblebiber/hmem-mcp

Persistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded.

client:Grok transport:stdio runtime:npm

Install hmem — Humanlike Memory for AI Agents 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": {
    "hmem-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hmem-mcp"
      ],
      "env": {
        "HMEM_STORAGE_DIR": "<HMEM_STORAGE_DIR>"
      }
    }
  }
}

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

hmem — Humanlike Memory for AI Agents in other clients