Integrates via Claude Code hooks, an MCP server (works with any MCP-compatible client), a native OpenClaw plugin, or a Hermes Agent MemoryProvider plugin. All paths write to the same local SQLite…
ClawMem is an MCP project maintained in the yoloshii/clawmem repository. The maintainer describes its purpose as “Integrates via Claude Code hooks, an MCP server (works with any MCP-compatible client), a native OpenClaw plugin, or a Hermes Agent MemoryProvider plugin. All paths…”. Read the project documentation for the complete scope.
The project provides a local client configuration using /absolute/path/to/clawmem/bin/clawmem. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| memory_retrieve | Preferred entry point. Auto-classifies query and routes to optimal backend (query, intent_search, session_log, find_similar, or query_plan). Use instead of… |
| search | BM25 keyword search — for exact terms, config names, error codes, filenames. v0.24.0: non-recency queries rank by the RAW BM25 transform (scoreBasis… |
| vsearch | Vector semantic search — for conceptual/fuzzy matching when exact keywords are unknown. v0.22.0: non-recency queries rank by RAW cosine (scoreBasis… |
| query | Full hybrid pipeline (BM25 + vector + rerank) — general-purpose when query type is unclear. WRONG for "why" questions (use intent_search) or cross-session… |
| get | Retrieve single document by path or docid |
| multi_get | Retrieve multiple docs by glob or comma-separated list |
| find_similar | USE THIS for "what else relates to X", "show me similar docs". Finds k-NN vector neighbors — discovers connections beyond keyword overlap that search/query… |
| intent_search | USE THIS for "why did we decide X", "what caused Y", "who worked on Z". Classifies intent (WHY/WHEN/ENTITY/WHAT), traverses causal + semantic graph edges.… |
| query_plan | USE THIS for complex multi-topic queries ("tell me about X and also Y", "compare A with B"). Decomposes into parallel typed clauses (bm25/vector/graph)… |
| build_graphs | Build temporal and/or semantic graphs from document corpus |
| find_causal_links | Trace decision chains: "what led to X", "how we got from A to B". Follow up intent_search with this tool on a top result to walk the full causal chain.… |
| kg_query | Query the SPO knowledge graph: "what does X relate to?", "what was true about X when?". Returns temporal entity-relationship triples with validity windows.… |
| memory_evolution_status | Show how a document's A-MEM metadata evolved over time |
| timeline | Show the temporal neighborhood around a document — what was created/modified before and after it. Progressive disclosure: search → timeline (context) → get… |
| beads_sync | Sync Beads issues from Dolt backend (bd CLI) into memory: syncs the full backlog (no 50-issue cap), creates docs, bridges all dep types to memory_relations… |
| list_vaults | Show configured vault names and paths. Empty in single-vault mode. |
| vault_sync | Index markdown from a directory into a named vault. Restricted-path validation rejects sensitive directories. |
| diary_write | Write a diary entry. Use for recording important events, decisions, or observations in environments without hook support. Stored as searchable memories. |
| diary_read | Read recent diary entries. Filter by agent name. |
| memory_forget | Search → deactivate closest match (with audit trail). Weak matches return a disambiguation list instead of acting (v0.23.0) |
| memory_pin | Pin a memory: lifecycle retention + priority among relevance-equivalent results (+0.3 composite boost on hook/query surfaces; exact-tie precedence on the raw… |
| memory_snooze | Temporarily hide a memory from context surfacing until a date. USE PROACTIVELY when repeatedly surfaces irrelevant content — snooze for 30 days instead of… |
| status | Index health with content type distribution |
| reindex | Trigger vault re-scan |
| index_stats | Detailed stats: types, staleness, access counts, sessions |
| memory_stats | Lifecycle + ranking-metadata aggregates per collection (v0.36.0): origin×active cross-tabs, pinned, accrual, deactivation reasons, and… |
| memory_rank | Ranking diagnostic (v0.36.0): real-pipeline composite breakdown per result — weights, recency, confidence blend, quality/length/frequency/canonical… |
| session_log | USE THIS for "last time", "yesterday", "what happened", "what did we do". Returns session history with handoffs and file changes. DO NOT use query() for… |
| profile | Current static + dynamic user profile |
| lifecycle_status | Document lifecycle statistics: active, archived, forgotten, pinned, snoozed counts, the deactivation-reason breakdown, and policy summary |
| lifecycle_sweep | Run lifecycle policies: archive stale docs past retention threshold. Archives only — never deletes. Defaults to dry_run (preview only) |
| lifecycle_restore | Restore documents that were auto-archived by lifecycle policies. Filter by query, collection, or restore all |
{
"mcpServers": {
"clawmem": {
"command": "/absolute/path/to/clawmem/bin/clawmem",
"args": [
"mcp"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.