hmem MCP
A persistent, 5-level hierarchical memory system for AI agents, backed by SQLite. It provides tools for managing agent lifecycle, injecting context, and curating memory entries, including a separate maintenance server for destructive operations like bulk patching and tag renaming.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 24 GitHub stars
What you can do with it
- Scaffold a new project entry with standard schema
- List all projects with status summary
- Persist current session context to long-term memory
- Export the full memory to a portable JSON snapshot
Source and maintenance
- Last repository push
- Latest release
- v1.3.8
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
hmem-mcp 1.6.7
{
"version": "1.6.7",
"transport": "stdio",
"identifier": "hmem-mcp",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "HMEM_STORAGE_DIR",
"description": "Directory where .hmem SQLite databases are stored. Defaults to ~/.hmem/"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"hmem-mcp": {
"command": "npx",
"args": [
"-y",
"hmem-mcp@1.6.7"
],
"env": {
"HMEM_STORAGE_DIR": "<YOUR_HMEM_STORAGE_DIR>"
}
}
}
}Cline
{
"mcpServers": {
"hmem-mcp": {
"command": "npx",
"args": [
"-y",
"hmem-mcp@1.6.7"
],
"env": {
"HMEM_STORAGE_DIR": "<YOUR_HMEM_STORAGE_DIR>"
}
}
}
}VS Code
{
"servers": {
"hmem-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"hmem-mcp@1.6.7"
],
"env": {
"HMEM_STORAGE_DIR": "<YOUR_HMEM_STORAGE_DIR>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"hmem-mcp": {
"command": "npx",
"args": [
"-y",
"hmem-mcp@1.6.7"
],
"env": {
"HMEM_STORAGE_DIR": "<YOUR_HMEM_STORAGE_DIR>"
}
}
}
}Let your agent find its tools
Find servers like hmem MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.