memory_classify
kind / scope / authority / taint labels; optionally persisted as a sidecar
How to use it
memory_classify is exposed by the N Memory MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the memory_classify tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install N Memory
claude mcp add nmemory -- "$(pwd)/target/release/nmemory" --project my-projectOther tools in N Memory (21)
teach recall synonyms the store then honors
cold-start pack: your constraints FIRST (never capped), the one next action, decisions, traps — in ≤1500 tokens
deterministic maintenance plan: exact dupes, merge proposals, tier moves
session-start projection: what you know, what's ready, what's blocked.
the whole store as one deterministic markdown view; byte-identical on an unchanged store
text → candidate memories over the closed 10-kind set; advisory, stores nothing
tombstones with audit, never silent deletion.
one full capsule by id, with GET-only fact time, relations,
one-shot import of native sources (CLAUDE.md, AGENTS.md, memory dirs); born tainted
capture with a birth certificate: no source + anchor, no storage.
compact index with project fences
reconcile a second store file into this one: content-hash identity, id-remap, forget-wins, deterministic — the offline-first path to keep two machines' stores in sync
record an observed consequence (advisory observation, never a self-certified close)
pin (or unpin) a load-bearing capsule: decay-exempt + archive-vetoed, surfaced as a pinned flag and digest section; NEVER eligibility (fenced capsules stay fenced, taint dominates pin)
pairwise preference evidence (chosen-over, in context, by whom)
the five edges you reach for daily, out of nine declared: supersedes, derivedfrom, witnesses, blocks, and falsifies (a disproven fact stops grounding recall, but the evidence stays). The other four — proposes, partof, groundedin, about — are in the tool surface below.
recall as evidence: grounded, missingevidence, or an honest abstain.
/ memorysessionfinish — bracket a session; finish captures the handoff the next session's digest leads with
attach caller-fed embeddings (optional cosine lane; no embedder inside)
deterministic Mermaid projections (dag / relations / tiers / sessions), plus an MCP Apps view
on memoryretrieve — fence recall to one topic: the capsules