delx-memory
v0.2.3Local-first persistent memory MCP: shared SQLite key/value store, searchable, TTL-aware, secret-safe
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
memory_get Get one memory entry by key
Exact key lookup. Returns the stored value plus timestamps, ttl, tags, metadata. Returns null if missing or expired.
| Parameter | Type | Description |
|---|---|---|
key * | string | Stable identifier for the memory entry. Free-form text. Treat as case-sensitive. |
memory_list List memory keys (not values)
List keys with optional prefix or tag filter. Returns keys + timestamps + tags only — call memory_get for values. Use this first on a new session to discover what is stored.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max keys to return. |
prefix | string | Only return keys starting with this string. |
tag | string | Only return keys carrying this tag. |
memory_search Keyword search across keys and values
Full-text search across keys, values AND tags. Uses an FTS5 index with bm25 relevance ranking (key-weighted), word-stemming, diacritic folding and prefix matching — so multi-word, partial and accent-insensitive queries all hit, ranked by relevance. Falls back to a LIKE substring scan if the SQLite build lacks FTS5. Returns top N matches with a snippet. Case-insensitive.
| Parameter | Type | Description |
|---|---|---|
query * | string | Keyword query. Matched against keys and values. |
limit | integer | Max matches to return. |
memory_stats Memory store stats
High-level stats about the local memory store. Safe to call first on every session to gauge whether the store is empty, small, or large.
memory_set Upsert a memory entry (requires explicit_user_intent)
Create or update a key in memory. Rejects credential-shaped keys or values. Requires explicit_user_intent: true. Returns whether the row was created or updated.
| Parameter | Type | Description |
|---|---|---|
explicit_user_intent * | boolean | Must be true. Set ONLY when the current user message explicitly asks the agent to modify memory (set/forget/export). Do not infer intent. |
key * | string | Stable identifier for the memory entry. Free-form text. Treat as case-sensitive. |
value * | The value to store. Will be JSON-serialized. Rejected if it looks like a credential. | |
metadata | object | Optional small JSON object with provenance/notes. Subject to same secret-detection rules. |
tags | array | Optional list of tags for grouping/filter/bulk-delete. |
ttl_seconds | integer | Optional TTL in seconds. After this, the entry is lazy-deleted on next read. |
memory_forget Delete one memory entry (requires explicit_user_intent)
Delete a single key from memory. Idempotent: returns existed=false if the key was not present. Requires explicit_user_intent: true.
| Parameter | Type | Description |
|---|---|---|
explicit_user_intent * | boolean | Must be true. Set ONLY when the current user message explicitly asks the agent to modify memory (set/forget/export). Do not infer intent. |
key * | string | Stable identifier for the memory entry. Free-form text. Treat as case-sensitive. |
memory_forget_by_tag Bulk-delete entries by tag (requires explicit_user_intent)
Delete every entry carrying the given tag. Returns deleted_count. Requires explicit_user_intent: true.
| Parameter | Type | Description |
|---|---|---|
explicit_user_intent * | boolean | Must be true. Set ONLY when the current user message explicitly asks the agent to modify memory (set/forget/export). Do not infer intent. |
tag * | string | Tag to bulk-delete. |
memory_export Export memory contents (requires explicit_user_intent)
Dump the memory store as JSON, JSONL, or Markdown. Optional since/until window on updated_at. Use for backup/inspection. Requires explicit_user_intent: true.
| Parameter | Type | Description |
|---|---|---|
explicit_user_intent * | boolean | Must be true. Set ONLY when the current user message explicitly asks the agent to modify memory (set/forget/export). Do not infer intent. |
format * | string | Output format: json (single object), jsonl (one entry per line), markdown (human-friendly). |
since | integer | Unix ms timestamp — include only entries with updated_at >= since. |
until | integer | Unix ms timestamp — include only entries with updated_at <= until. |