MemMesh — persistent, self-improving memory for AI agents. Get started →
IntegrationsMCP Tools

MCP Tools

Once the engine is wired into your editor (see Installer & doctor), these tools appear in the client’s tool list. Tool names use underscores (memory_observe, not memory.observe).

The one you’ll use most is memory_observe — feed it raw text and the engine decides what’s worth keeping. A good default is to call it after every user message.

Core

ToolPurpose
memory_observeFeed raw text; the engine extracts and saves what’s worth keeping. The primary tool — call it after every user message.
memory_saveWrite an explicit memory item (scope, type, content, importance).
memory_searchSearch stored memories by scope/project + content match.
memory_recallFetch a single memory item by id (reinforces it on access). Not a semantic search.
memory_listEnumerate the most-recent items in a scope.

Lifecycle & correction

ToolPurpose
memory_extract_pendingReturn candidate memories awaiting confirmation.
memory_commit_extractionConfirm and persist extracted candidates.
memory_supersedeReplace a stale memory with a corrected version (keeps provenance).
memory_deleteDelete a memory item.

Prediction & context

ToolPurpose
memory_predictForecast the next likely event for a subject, with calibrated confidence.
memory_build_contextAssemble a context bundle (memories + patterns + predictions) for a subject.
memory_prefetch_relatedSpreading-activation retrieval — surface memories linked to the current working set.

Knowledge graph

The engine builds a knowledge graph automatically as you observe — a deterministic structural pass (no LLM) for structured sources, and agent-run extraction (memory_extract_pending → memory_commit_extraction, above) for narrative text. Retrieval (memory_search / memory_recall) already draws on that graph structure, so there is no separate “query the graph” call on the local engine.

ToolPurpose
memory_graphHosted — walk entities across every brain you’re entitled to (cross-brain federated graph), merging facts with per-brain provenance. Available over the hosted MCP endpoint.

Diagnostics

ToolPurpose
memory_statsCounts and aggregates for the store.

The exact tool set depends on your engine version. Always trust the tool list your connected client reports.

See also