hmem — Humanlike Memory for AI Agents
About
Persistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
HMEM_STORAGE_DIRClaude Code
claude mcp add --env HMEM_STORAGE_DIR= hmem-mcp -- npx hmem-mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"hmem-mcp","command":"npx","args":["hmem-mcp"],"env":{"HMEM_STORAGE_DIR":""}}'
JSON
{
"mcpServers": {
"hmem-mcp": {
"command": "npx",
"args": [
"hmem-mcp"
],
"env": {
"HMEM_STORAGE_DIR": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.