Hmem — Humanlike Memory For AI Agents MCP Server

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

Local serverstdioTypeScript

What is the Hmem — Humanlike Memory For AI Agents MCP Server?

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

What you get

One load_project() call. ~3000 tokens. Your agent knows everything important about a project — every past mistake, every decision, every open task — across sessions, devices, and AI providers. No setup per conversation. No "let me re-read the codebase." It just remembers.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Hmem — Humanlike Memory For AI Agents MCP Server

{
  "mcpServers": {
    "hmem": {
      "command": "/absolute/path/to/node",
      "args": ["/absolute/path/to/hmem/dist/mcp-server.js"],
      "env": { "HMEM_PROJECT_DIR": "/home/yourname/.hmem" }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
HMEM_PROJECT_DIRFilesystem location the server is allowed to use.Optional
HMEM_AGENT_IDConfiguration value read at startup.Optional
HMEM_PATHFilesystem location the server is allowed to use.Optional
DEEPSEEK_API_KEYCredential the server authenticates with.Yes
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Hmem — Humanlike Memory For AI Agents to Curation.”
  • “Use Hmem — Humanlike Memory For AI Agents to Announcements.”

Frequently asked questions

Persistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.