Connection check
local install
hmem-mcp
Persistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded.
Tools
24
GitHub stars
23
Installs / wk
—
Licence
MIT
Transport
stdio
Last checked
never
Tools & capabilities
24 toolsRead from the published package source — this server runs locally, so there is no endpoint to query. Names are taken from the code, not observed at runtime, and descriptions are often absent.
append_memory
from source
Append new child nodes to an existing memory entry or node (your own personal memory). Append new child nodes to an existing memory entry or node (your own personal memory).
create_project
from source
Create a new project with the standard R0009 schema. Automatically creates:\n Create a new project with the standard R0009 schema. Automatically creates:\n
delete
from source
Permanently delete a memory entry or sub-node by ID. Permanently delete a memory entry or sub-node by ID.
export_memory
from source
Export your memory, excluding secret entries and secret sub-nodes. Export your memory, excluding secret entries and secret sub-nodes.
find_related
from source
Find entries related to the given entry. Find entries related to the given entry.
flush_context
from source
Store a conversation chunk as linear context history (O-prefix). Store a conversation chunk as linear context history (O-prefix).
import_memory
from source
Import entries from a .hmem file into your memory. Import entries from a .hmem file into your memory.
list_projects
from source
List all projects (P-entries) with their IDs and titles. Minimal output for checkpoint agents. List all projects (P-entries) with their IDs and titles. Minimal output for checkpoint agents.
load_project
from source
Load a project and activate it. Returns L2 content + L3 titles — the perfect project briefing. Load a project and activate it. Returns L2 content + L3 titles — the perfect project briefing.
memory_health
from source
Audit report for your memory: broken links (links pointing to deleted entries), Audit report for your memory: broken links (links pointing to deleted entries),
memory_stats
from source
Shows budget status of your memory: total entries by prefix, nodes, favorites, pinned, most-accessed, oldest entry, stale count (not accessed in 30 days), unique hashtags, and avg… Shows budget status of your memory: total entries by prefix, nodes, favorites, pinned, most-accessed, oldest entry, stale count (not accessed in 30 days), unique hashtags, and avg nodes per entry.
move_memory
from source
Move a sub-node (and its entire subtree) to a different parent, updating all ID references. Move a sub-node (and its entire subtree) to a different parent, updating all ID references.
move_nodes
from source
Move session (L2), batch (L3), or exchange (L4) nodes between O-entries. Handles ID rewriting, tag migration, and cleanup of empty parents. Move session (L2), batch (L3), or exchange (L4) nodes between O-entries. Handles ID rewriting, tag migration, and cleanup of empty parents.
read_memory
from source
Read from your hierarchical long-term memory (.hmem). Read from your hierarchical long-term memory (.hmem).
read_project
from source
Read a project Read a project
rename_id
from source
Atomically rename a memory entry or node ID and update ALL references across the database. Atomically rename a memory entry or node ID and update ALL references across the database.
reset_memory_cache
from source
Clear the session cache of the hmem server so all entries are treated as unseen again. Clear the session cache of the hmem server so all entries are treated as unseen again.
search_memory
from source
Searches the collective memory: agent memories (lessons learned, evaluations), Searches the collective memory: agent memories (lessons learned, evaluations),
set_active_device
from source
Set the active device for this machine. Call this once after identifying which machine you are on. Set the active device for this machine. Call this once after identifying which machine you are on.
tag_bulk
from source
Apply tag changes (add and/or remove) to all entries matching a filter. Apply tag changes (add and/or remove) to all entries matching a filter.
tag_rename
from source
Rename a hashtag across all entries and nodes. Rename a hashtag across all entries and nodes.
update_many
from source
Batch-update multiple memory entries at once. Applies the same flag(s) to all listed IDs. Batch-update multiple memory entries at once. Applies the same flag(s) to all listed IDs.
update_memory
from source
Update the text of an existing memory entry or sub-node (your own personal memory). Update the text of an existing memory entry or sub-node (your own personal memory).
write_memory
from source