Memory Engine MCP
Local-first graph memory for AI assistants with SQLite, semantic search, and MCP tools.
Connector by SimoneB79 · GitHub account verified by the MCP Registry
Install
Pick your client. Read the repository before you give any tool access to your data.
No install instructions from the source yet. Check the repository for setup steps.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 43 read · 25 write · 9 delete · 15 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Docker image
Tools by what they do 92
Read from the source code; the running server may list different tools.
Read 43 · Look things up without changing anything.
answer_humanask_pendingclassify_memory_tiercognitive_statuserror_checkerror_listfind_similarget_atomlist_atomslist_contradictionsmemory_answer_humanmemory_ask_pending
Show 31 more tools
memory_classify_memory_tiermemory_cleanup_duplicatesmemory_cognitive_statusmemory_error_checkmemory_error_listmemory_find_similarmemory_get_atommemory_list_atomsmemory_list_backupsmemory_list_contradictionsmemory_preference_searchmemory_recallmemory_recall_sessionmemory_rules_get_bindingmemory_rules_list_allmemory_search_graphmemory_semantic_searchmemory_statsmemory_suggest_bondsmemory_suggest_bonds_allpreference_searchrecallrecall_sessionreindex_embeddingssearch_graphsemantic_searchsession_summarystatssuggest_bondssuggest_bonds_allversion
Write 25 · Create, change, send or run things.
backup_databasecurator_rundecay_runimport_dataimport_markdownlearning_runlinkmemory_backup_databasememory_curator_runmemory_decay_runmemory_import_datamemory_import_markdown
Show 13 more tools
memory_learning_runmemory_merge_atomsmemory_remembermemory_restore_databasememory_rules_addmemory_rules_set_activememory_update_domainmemory_working_setmerge_atomsrememberrestore_databaseupdate_domainworking_set
Delete 9 · Delete, drop, revoke or wipe things.
cleanup_duplicatescleanup_sessionsdelete_atommemory_cleanup_sessionsmemory_delete_atommemory_rules_deletememory_rules_removememory_unlinkunlink
Not yet classified 15 · We could not tell from the name and description.
error_logexport_allexport_atommemory_adminmemory_contradictmemory_error_logmemory_export_allmemory_export_atommemory_generate_session_digestmemory_impactmemory_linkmemory_reindex_embeddings
Show 3 more tools
memory_session_summarymemory_summarymemory_version
Files it touches
- Any path the agent passes to its tools
Tools (92)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
answer_humanAnswer a pending question. The system applies side effects based on question type and answer content.
ask_pendingGet pending questions generated by the learning engine. These are things the system needs human input on.
backup_databaseCreate, list, verify, or clean up database backups. Args: action: One of: create, list, verify, cleanup backup_path: Path to backup (for verify). If None, uses default location. keep: Number of backups to keep for cleanup (default 10) Returns: JSON string with backup information
classify_memory_tierInfer the 3-tier memory class for a prospective atom. Tiers: episodic (events/logs/session traces), semantic (facts/decisions), procedural (preferences/procedures/standing rules).
cleanup_duplicatesRemove duplicate session_msg atoms. Keeps atoms with a content_hash (v2 watcher) and removes older duplicates without one (v1 watcher artifacts). Also removes any remaining exact-duplicate pairs by content_hash, keeping the oldest. Returns a summary of what was removed.
cleanup_sessionsDelete expired session atoms (TTL passed). Safe to call anytime — only removes atoms past their TTL.
cognitive_statusGet cognitive health metrics for the memory graph. Returns counts for active/durable atoms, bonds, isolated durable atoms, pending questions, missing compact summaries, stale atoms, and recommendations.
curator_runRun one cognitive curator pass. dry_run=True only proposes actions. With auto_apply=True and dry_run=False, applies safe body_compact generation and high-confidence rule-based bonds. It never deletes durable atoms or rewrites markdown source files.
decay_runRun decay cycle: reduce weight of atoms not accessed recently.
delete_atomDelete an atom from the Memory Engine. This permanently removes the atom and all bonds connected to it.
error_checkCheck if a task has failed before. Call BEFORE executing a task to retrieve past errors and corrections. Args: task_description: What you're about to do (e.g. 'compile ProStructures DLL') limit: Max results Returns: JSON string with matching unresolved errors
error_listList recorded errors, filtered by resolution status. Args: resolved: True to show resolved errors, False for unresolved (default) limit: Max results Returns: JSON string with error list
error_logLog an error and its correction. If the same error has occurred 3+ times, it auto-promotes to a permanent preference rule. Args: mistake: What went wrong correction: What should have been done task_type: Category of task (e.g. 'compilation', 'deploy', 'config') error_category: field_selection, logic_error, scope_error, omission, tool_misuse severity: minor, major, critical Returns: JSON string with logged error and promotion status
export_allExport all memory data as JSON. Portable format for migration, versioning, or external analysis. Args: include_embeddings: Include embedding vectors (default False — they are large) Returns: JSON string with all memory data
export_atomExport an atom as markdown (for coexistence with markdown system). Returns markdown text that can be saved to a .md file.
Show 77 more tools
find_similarFind atoms semantically similar to a given atom. Uses cosine similarity on embeddings. Args: atom_id: The reference atom limit: Max results threshold: Minimum similarity score (0-1) Returns: JSON string with similar atoms and scores
get_atomGet full atom details including all bonds (incoming and outgoing). Bumps access count.
import_dataImport memory data from a JSON export. Args: json_data: JSON string from export_all, or path to a .json file mode: "merge" (upsert by ID) or "replace" (wipe + insert) Returns: JSON string with import statistics
import_markdownImport markdown file(s) into the memory engine. Args: filepath: Specific file to import, or None to import all markdown files Returns: JSON string with import statistics
learning_runRun the learning engine: detect contradictions, weak atoms, merge candidates, decay, and content gaps. Creates human questions for findings. Graph-gap/isolation review is handled by curator_run by default.
linkCreate a typed bond between two atoms. Relations: is_a, part_of, depends_on, contradicts, refines, derived_from, detail_of, related_to
list_atomsList atoms with optional filters. Useful for browsing the memory.
list_contradictionsList explicit contradiction/supersession records. Args: atom_id: Optional atom id to filter old/new side of contradictions. limit: Max records to return.
memory_adminAdmin jobs pointer.
memory_answer_humanAnswer a pending question: resolves it and optionally updates the linked atom status.
memory_ask_pendingList pending human questions for review.
memory_backup_databaseCreate a SQLite backup (VACUUM INTO) with timestamp. Returns backup path and size.
memory_classify_memory_tierInfer the 3-tier memory class (episodic/semantic/procedural) for a prospective atom.
memory_cleanup_duplicatesDetect duplicate durable atoms by normalized title (report only, or auto-merge with auto_apply).
memory_cleanup_sessionsPurge expired session_msg/session_digest atoms (TTL passed). Returns purged count.
memory_cognitive_statusCognitive health metrics for the memory graph.
memory_contradictNew atom supersedes old one.
memory_curator_runConservative curation pass: compact, bonds, isolated classification, promotions, merges. dry_run default true.
memory_decay_runDecay cycle: reduce weight of atoms not accessed within interval_days by factor (default 0.95). Returns decayed count.
memory_delete_atomDelete an atom: soft (status='deleted', default) or hard (remove row + bonds + versions). Hard delete is irreversible.
memory_error_checkKnown errors for a task.
memory_error_listList recorded error memories.
memory_error_logLog mistake + correction.
memory_export_allExport all atoms + bonds to a JSON file. Returns file path and counts.
memory_export_atomExport a single atom (with bonds) to JSON. Returns the data.
memory_find_similarFind atoms similar to a reference atom. Semantic via embeddings (cosine) with FTS fallback.
memory_generate_session_digestGenerate digest atom for a session.
memory_get_atomFull atom by id.
memory_impactWhat depends on an atom.
memory_import_dataImport atoms from a JSON export file (merge mode: skip existing IDs). Returns import counts.
memory_import_markdownImport atoms from a markdown file: each heading (##/###) becomes an atom, body is the content.
memory_learning_runRun learning checks (full Python parity): contradictions, weak atoms, merge candidates, decay critical, gaps (body vuoti), graph gaps (opt-in) + stale_fact/needs_link. Creates deduped human_questions; answers apply side effects.
memory_linkBond two atoms.
memory_list_atomsList atoms by domain/type.
memory_list_backupsList available backup files with sizes and dates.
memory_list_contradictionsList contradiction records (superseded atoms).
memory_merge_atomsMerge duplicate atoms into a primary: move bonds, mark duplicates merged (soft). Returns merge report.
memory_preference_searchSearch stable preferences.
memory_recallSmart recall of past memories. Query short and specific. semantic=true merges embedding search.
memory_recall_sessionRecall messages from a specific OpenClaw session (search within session/ domain atoms).
memory_reindex_embeddings(Re)generate embeddings for active durable atoms missing one. Batch with max_atoms; returns indexed/failed counts.
memory_rememberSave a durable memory (fact, decision, procedure, preference).
memory_restore_databaseRestore from a backup file. DANGEROUS: overwrites current DB. Requires confirm=true.
memory_rules_addAdd a binding rule.
memory_rules_deletePermanently delete a binding rule by id.
memory_rules_get_bindingGet active binding rules.
memory_rules_list_allList all binding rules.
memory_rules_removeDeactivate a binding rule by id.
memory_rules_set_activeActivate or deactivate a binding rule.
memory_search_graphBFS graph traversal.
memory_semantic_searchSemantic search over atom embeddings (Ollama). Falls back to FTS with a note when embeddings/Ollama are unavailable.
memory_session_summaryDigest of a session.
memory_statsMemory statistics.
memory_suggest_bondsSuggest bonds for one atom (domain cluster, keyword overlap, id patterns). auto_apply=false by default.
memory_suggest_bonds_allBulk bond suggestion across active atoms (fast strategies only). auto_apply=false by default.
memory_summaryHierarchical 3-level memory summary: L0 global counts, L1 per-domain top atoms, L2 pointer to detail.
memory_unlinkRemove a bond between two atoms.
memory_update_domainBulk update the domain of one or more atoms.
memory_versionMemory Engine TS version.
memory_working_setTask context pack with token budget.
merge_atomsMerge two atoms. Secondary is marked as 'merged', all bonds move to primary. Primary gets a confidence boost.
preference_searchSearch preference atoms by structured metadata. Preferences are atoms with type='preference' and metadata like: {"category": "tooling", "condition": "when compiling PS", "rule": "dotnet build net48"} Args: category: Filter by category (e.g. 'tooling', 'naming', 'format', 'policy') query: Free-text search in title, body, and meta fields scope: Filter by scope (e.g. 'personal', 'project') limit: Max results Returns: JSON string with matching preferences
recallSmart recall: search memory with multi-factor ranking. Combines FTS relevance, semantic similarity, confidence, recency, and weight. Args: query: Natural language query limit: Max results (default 5) min_weight: Filter out low-weight atoms domain: Filter by domain semantic: If True (default), also use semantic search via Ollama memory_tier: Optional filter: episodic, semantic, procedural include_superseded: Include historical superseded atoms (default False) Returns: JSON string with ranked results
recall_sessionRecall messages from a specific OpenClaw session. Searches within session_msg atoms for the given session. Args: session_id: Session ID (filename without .jsonl) query: Search query to filter messages limit: Max results
reindex_embeddingsCheck the status of the background embedding indexer. The indexer runs automatically at startup and processes all atoms missing embeddings. Args: force: If True, delete all existing embeddings and restart from scratch Returns: JSON string with current indexing progress
rememberCreate or update a memory atom. Args: title: Short, clear title for this memory body: Full content (can be markdown) type: One of: fact, decision, event, preference, log, procedure, note domain: Categorization (e.g. 'infrastructure', 'personal', 'project:xxx') confidence: 0.0 (hypothesis) to 1.0 (verified) tags: List of tags for categorization ttl_days: Optional TTL in days (None = permanent) memory_tier: Optional 3-tier class: episodic, semantic, procedural Returns: JSON string with created atom info
restore_databaseRestore database from a backup file. WARNING: This overwrites the current database. A safety backup of the current state is created automatically before restore. Args: backup_path: Path to the backup file to restore from Returns: JSON string with restore result
search_graphTraverse the knowledge graph starting from an atom. Args: atom_id: Starting atom depth: How many hops to traverse (default 2) relation: Filter by specific relation type Returns: JSON with nodes and edges discovered.
semantic_searchSemantic search using Ollama embeddings (nomic-embed-text). Finds atoms by meaning, not just keyword match. Args: query: Natural language query limit: Max results (default 5) domain: Filter by domain min_weight: Filter by minimum weight Returns: JSON string with ranked semantic results
session_summaryGet a summary of a session: message count, time range, topics. Useful for quickly understanding what was discussed. Args: session_id: Session ID (filename without .jsonl)
statsGet memory engine statistics: atom counts, bonds, pending questions, breakdown by domain and type, average weight, low-confidence count.
suggest_bondsSuggest bonds for an atom using rules + semantic similarity. Strategies: domain cluster, keyword overlap, pattern detection, semantic. Args: atom_id: The atom to find bonds for auto_apply: If True, create the bonds directly Returns: JSON string with bond suggestions
suggest_bonds_allScan active atoms and suggest/create bonds. Useful for initial graph population or periodic maintenance. Args: auto_apply: If True, create bonds directly limit_per_atom: Max suggestions per atom max_atoms: Max atoms to scan (default 30) Returns: JSON string with summary statistics and top suggestions
unlinkRemove a bond between two atoms.
update_domainUpdate the domain of one or more atoms (bulk-friendly). Useful to consolidate fragmented domains (e.g. 'projects/x' vs 'project:x'). Does NOT touch embeddings or FTS (domain is not part of the indexed text). Args: atom_ids: list of atom ids to move new_domain: target domain include_archived: also update non-active atoms (default False) Returns JSON: {updated, not_found, skipped_archived, new_domain}
versionGet the Memory Engine server version.
working_setBuild a task-oriented context pack before doing work. Combines smart recall, graph neighbors, and key procedures/decisions into a compact working set so the agent starts with the right operational memory.
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit
- Oct 22, 2026 (7 days ago)
- Last release
- Oct 22, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.SimoneB79/memory-engine-mcp- Version
- 1.5.3
- Auth
- No auth
- Packages
- oci
ghcr.io/simoneb79/memory-engine-mcp:1.5.3 - License
- MIT
- Repository
- github.com/SimoneB79/memory-engine-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
Memory Engine MCP. Agent Mart. https://agentmart.dev/connectors/simoneb79-memory-engine-mcp (last updated 2026-10-24)