Skip to content
VS Code

hmem — Humanlike Memory for AI Agents for VS Code

io.github.bumblebiber/hmem-mcp

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

client:VS Code transport:stdio runtime:npm

Install hmem — Humanlike Memory for AI Agents in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "hmem-storage-dir",
      "description": "HMEM_STORAGE_DIR",
      "password": true
    }
  ],
  "servers": {
    "hmem-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hmem-mcp"
      ],
      "env": {
        "HMEM_STORAGE_DIR": "${input:hmem-storage-dir}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

hmem — Humanlike Memory for AI Agents in other clients