mnestic-mcp

v0.3.0
mnestic-mcp Checked 6 hours ago Published 18 days ago

Local memory MCP server backed by mnestic — hybrid BM25+vector+graph recall with per-leg attribution and time travel, all on your machine.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

store_memory

Store one memory (a durable fact, preference, decision, or outcome). `source` names the evidence (a message, document, URL). `valid_from` (ISO-8601) says when the fact became true, if not now. Returns its id.

ParameterTypeDescription
text *string
id
meta
source
valid_from

store_batch

Store many memories atomically. Each item: {text, meta?, id?, source?, valid_from?}.

ParameterTypeDescription
items *array

list_recent

The most recently stored or updated memories. Byte-budgeted output (see search).

ParameterTypeDescription
max_bytesinteger
ninteger

continue_result

Next slice of a byte-budgeted result, by its `continuation` token. Tokens are single-use and do not survive a server restart.

ParameterTypeDescription
token *string
max_bytesinteger

update

Correct or extend a memory (meta is merged). Pass `valid_from` when the change took effect earlier than now (a backdated correction) and `source` for the evidence. Earlier beliefs stay queryable.

ParameterTypeDescription
id *string
meta
source
text
valid_from

delete

Delete a memory: it stops being true from `valid_until` (default now). Its history stays queryable via recall_believed and memory_timeline.

ParameterTypeDescription
id *string
source
valid_until

recall_as_of

What the memory store contained at ISO-8601 instant t, by write time (updates/deletes are never destructive). For "what was true then" versus "what was known then", use recall_believed. Byte-budgeted output (see search).

ParameterTypeDescription
t *string
kinteger
max_bytesinteger
query

recall_believed

Two-axis recall: what was true at `valid_at`, according to what had been recorded by `known_at` (both ISO-8601, default now). Each result carries valid_from, recorded_at (stamped by the database, not the caller) and source. Byte-budgeted output (see search).

ParameterTypeDescription
kinteger
known_at
max_bytesinteger
query
valid_at

memory_timeline

Every recorded belief about one memory: each assertion and retraction with when it was valid, when it was recorded, and its source.

ParameterTypeDescription
id *string
limitinteger
max_bytesinteger

stats

Store diagnostics: counts, indices, db path, embedding model.