1. Conduid
  2. Search
  3. Mnemo Cortex
MCP server · Search

Mnemo Cortex

Open-source cognitive coprocessor with active memory for AI agents — persistent recall, semantic search, overnight dreaming, verified facts, encrypted USB sync. MCP server; works with Claude, ChatGPT, and any local LLM. Built by one maker and his agents.

70Good

Scored 23 hours ago · breakdown

About Mnemo Cortex

Mnemo Cortex is an MCP server published by GuyMannDude in the Search category: open-source cognitive coprocessor with active memory for AI agents — persistent recall, semantic search, overnight dreaming, verified facts, encrypted USB sync. MCP server; works with Claude, ChatGPT, and any local LLM. Built by one maker and his agents. Conduid read 32 tools from its source: agent_startup, list_brain_files, mnemo_capture_pause, mnemo_capture_resume, mnemo_fact_authority, mnemo_fact_demote and 26 more. No package is published for it, so it installs from a source checkout.

The repository has 162 stars and 39 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v4.28.4 (12 Nov 2026): Anthropic provider (PR #25, thanks @SamHofmannOfficial). It follows v4.28.1 (30 Oct 2026), and the 5 most recent releases go back to v4.13.0 (23 Jul 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include agent-memory, ai-memory, context-management, memory, open-source and openclaw.

Install

From source
git clone https://github.com/GuyMannDude/mnemo-cortex

Tools (32)

agent_startupCALL THIS FIRST in every new conversation. Loads your brain lane (named after your MNEMO_AGENT_ID env, e.g. <agent>.md or <agent>-session.md, or the file MNEMO_LANE names), the shared docs the brain has (CLAUDE.md, active.md, people.md, doctrines.md), and the latest dream brief. It does not search your memories: use mnemo_recall or mnemo_search for that. Returns an agent-neutral session-boot block — your identity comes from your system prompt, this gives you continuity.
list_brain_filesList all files in the brain directory ($BRAIN_DIR). Use to discover what brain lanes and reference docs are available.
mnemo_capture_pausePause Mnemo's ambient auto-capture before sensitive operations (key rotations, credential pastes). Scope is THIS SEAT of this agent_id (the reply names it): its auto-capture, the jsonl sync and transcript lines labelled with this seat, and any writer that sends no seat. Other seats that send their seat, and other agent_ids, keep capturing. Set fleet_wide=true only when every agent_id's capture must stop. Auto-resumes after `minutes` (default 15, max 240) even if you forget — a dead-man switch, not a toggle. While paused, auto-capture flushes and ingested exchanges are DISCARDED, not buffered, and so is any mnemo_save with source=tool, category=session_log or a routine-shaped summary or key_facts; a mnemo_save with source user/inferred and a real summary still lands. Transcript lines timed inside the window are archived as stubs; the rest of the file lands.
ParameterTypeDescription
fleet_widebooleantrue = pause EVERY agent's capture (default false: only this agent's).
minutesnumberPause duration in minutes. Default 15.
reasonstringWhy capture is paused — shown in /capture/status.
mnemo_capture_resumeResume Mnemo's ambient auto-capture after a mnemo_capture_pause (early — it would auto-resume on its own at expiry).
mnemo_fact_authoritySet a fact slot's authority tier: 'open' (anyone, default), 'probe' (only a machine may change it — evidence must start with probe: or tool:; needs probe_cmd, the command that re-asks it), or 'declared' (only the owner's word — evidence statement:guy…, the server's fixed prefix for the owner). Locking or unlocking is itself the owner's act: evidence_source must start with statement:guy, and you must be relaying their actual ruling (cite the turn or message). Writes that do not match a locked slot's tier land as proposals, never as the value.
ParameterTypeDescription
attribute *stringProperty to lock or unlock.
authority *stringopen = confidence ladder only. probe = machine-owned. declared = owner-only.
entity *stringThing the fact is about.
evidence_source *stringMust start with statement:guy — name the ruling (e.g. 'statement:guy S337 chat').
probe_cmdstringprobe tier only, required: the command that re-verifies the value (dmidecode -t 2, nc -z host 22, curl /health).
probe_hoststringprobe tier: which machine can run probe_cmd.
mnemo_fact_demoteForce a fact to confidence='false' without supplying a new value. Use when you know something is wrong but don't yet know the correct answer. Required because the normal save path's promotion ladder blocks verified→false transitions that lack a replacement value. On a LOCKED slot (probe/declared) a demote is a write like any other: pass evidence_source of the slot's own kind (probe:/tool: for probe, statement:guy for declared) or it is recorded as a proposal to demote, never applied.
ParameterTypeDescription
attribute *stringProperty to demote.
entity *stringThing the fact is about.
evidence_sourcestringProvenance of the demote, e.g. 'tool:nc -z host 22 -> closed' or 'statement:guy S338'. Needed to write a locked slot.
reason *stringWhy this fact is wrong. Required, logged to history.
mnemo_fact_getLook up a single fact by (entity, attribute). Instant key-value retrieval, NOT semantic search. Use for queries like 'where does the user live' where you want one definitive answer. Returns {found: false} if missing. By default excludes facts with confidence='false' (use include_false=true to see them for audit).
ParameterTypeDescription
attribute *stringProperty of the entity (location, owner, port, url, version). Snake_case normalized.
entity *stringThing the fact is about (person, machine, product, store, project). Case + spacing normalized.
include_falsebooleanInclude facts that were disproven. Default false.
mnemo_fact_proposalsList proposals, or resolve one. A proposal is a machine write that waits on the owner. kind 'fact' (the default): a write a lock held — the value some agent, the dreamer, or a seed script tried to put on a probe/declared slot. kind 'memory_category': a classifier (Jev shadow) disagrees with a memory's stored category; the memory is unchanged until accepted. kind 'memory_note': listed only, not yet acceptable. Listing is safe. Resolving is the owner's word relayed by you: 'accept' writes the proposed value (a fact lands verified past its lock; a category is amended, the first value kept as category_original), 'reject' closes it and leaves the target alone. Only resolve with an actual ruling from the owner — cite it in reason.
ParameterTypeDescription
actionstringRequired with resolve_id.
kindstringWhich proposals to list (default fact).
limitnumberMax rows (default 50).
reasonstringWhy — cite the owner's ruling. Logged to fact history.
resolve_idnumberProposal id to resolve (any kind). Omit to list.
statusstringWhich proposals to list (default pending).
mnemo_fact_queryList facts matching filters. All filters optional; AND-joined. Use for queries like 'all facts about the user' or 'all unverified facts'. Default limit 20, max 100.
ParameterTypeDescription
attributestringFilter to this attribute name.
confidencestringFilter by confidence level.
entitystringFilter to facts about this entity.
limitnumberMax results. Default 20.
value_containsstringSubstring match on the value.
mnemo_fact_saveAssert a structured fact. UPSERT semantics — same (entity, attribute) updates in place. Different value triggers contradiction handling: higher-or-equal confidence overwrites with audit log; lower confidence is REJECTED if existing is higher. Use confidence='verified' only when confirmed (source code, a direct statement by the user, tool output). Use 'high_probability' for strong inference. evidence_source uses prefix convention: memory:<id>, commit:<sha>, file:<path>:<line>, statement:<who>, bus:#<id>, dream:<date>.
ParameterTypeDescription
attribute *stringProperty of the entity. Normalized snake_case.
confidence *stringverified = confirmed from source. high_probability = strong inference. false = known wrong.
entity *stringThing the fact is about. Normalized lowercase.
evidence_source *stringWhere the confidence comes from. Use prefixes: memory:<id>, commit:<sha>, statement:<who>, etc.
source_memory_idstringPointer to the originating memory entry, if any.
value *stringCurrent truth value.
mnemo_memory_demoteDemote one memory by id: it leaves recall (vector removed) but its JSON and ledger entry stay as history. Use for a memory that is WRONG (e.g. an auto-captured sentence that stated a falsehood as fact). Requires a reason. Not for tidying — a merely old or duplicate memory is not wrong. This is the route a supersedes-save used to be faked for.
ParameterTypeDescription
memory_id *stringThe memory id (shown as id=… in recall headers).
reason *stringWhy it is wrong. Required, stored on the record.
mnemo_recallRecall memories from Mnemo Cortex for the current agent (${AGENT_ID}). Returns semantically relevant chunks from past sessions. Each chunk may carry a structured stale_warning when it exceeds its category's decay threshold — verify with a tool call before acting on stale topology/current_state facts.
ParameterTypeDescription
categorystringRestrict to a single category.
exclude_categoriesarrayCategories to drop from results. Defaults to ['session_log']. Pass [] to include everything.
exclude_stalebooleanDrop topology records past 1.5x their warn threshold.
expandbooleanThesaurus Loop escalation — reword the query several ways and search each, fusing by max relevance. Costs ~5x latency (one Flash call plus up to 4 extra retrieval passes) and is NON-DETERMINISTIC, so the same query can return different memories. Use it deliberately when a normal recall came back weak or off-topic; do not set it by default.
max_age_daysnumberHard upper bound on record age in days.
max_resultsnumberMaximum number of memories to return (default: 3)
modestringRecall lens. 'focus': best match wins. 'explore': the serendipity lens — what does this remind the store of; prefers the adjacent similarity band, ignores recency, favors rarely-recalled memories. 'recent': the boot lens — similarity only gates, every on-topic memory is served newest first. Omitted: the server's persona decides (strict/default -> focus, creative -> explore; business vs artist mode). Use explore for brainstorming and idea recall; use recent for 'what was I doing'.
query *stringWhat to search for in memory
sourcestringRestrict to one provenance source. Use 'user' or 'tool' for highest-confidence facts.
mnemo_recall_trajectoryRecall proven task recipes for the current agent (${AGENT_ID}) BEFORE starting a task. Returns past trajectories ranked by semantic similarity, then rating, then recency — each with its full step sequence (the proven recipe). Call this when you're about to do something you may have done before.
ParameterTypeDescription
max_resultsnumberDefault 3
min_ratingnumberQuality threshold, default 3 (excludes ratings below this)
query *stringDescribe what you're about to do
task_typestringFilter by category tag
mnemo_saveSave a summary or key facts to Mnemo Cortex for future recall. Use at session end or when something important should be remembered. Optional v3 provenance fields (source, category, additional_tags) let you mark how the fact was learned and how it should decay — when omitted, a regex auto-suggester picks a category from the content.
ParameterTypeDescription
additional_tagsarrayFree-form human-readable tags for search.
categorystringDrives decay behavior. Omit to let the regex auto-suggester choose — the response will tell you what it picked so you can override on the next save.
forcebooleanSave despite reported near-duplicates; records near_dup_of links.
key_factsarrayList of key facts to store (one fact per item)
session_idstringSession identifier. Auto-generated if omitted.
sourcestringWhere this fact came from. Defaults to 'inferred'. Use 'user' when the user stated it directly, 'tool' for deterministic outputs, 'brain' when pulled from a brain file.
summary *stringSummary of what happened or what to remember
supersedesarraySave and demote these existing memory ids while preserving history.
mnemo_save_trajectorySave a proven task recipe to Mnemo Cortex AFTER you complete a task well, so you (or another session) can recall the working approach before a similar task. Capture the ordered steps you actually took, the outcome, and an honest 1–5 self-rating. Use after a non-trivial task that went well (or instructively badly — a low rating still teaches).
ParameterTypeDescription
duration_secondsnumber
modelstring
outcome *stringThe final result
rating *numberHonest self-assessment 1–5 (5 = clean success)
stepsarrayWhat you did at this step
task_description *stringThe goal — what you set out to do
task_type *stringCategory tag, e.g. shopify_fix, bus_debug, security_triage, file_migration
token_costnumber
mnemo_searchSearch memories in Mnemo Cortex. By default, searches only your own memories. Use mnemo_share to enable cross-agent search for this session. Returns structured stale_warning on results past their category's warn threshold — verify before acting on stale topology facts.
ParameterTypeDescription
agent_idstringFilter to a specific agent (rocky, cc, opie). Only works when cross-agent sharing is enabled. Omit to search your own memories — every search names a tenant; the server returns silent zeros for agent-less queries (#1941).
categorystringRestrict to a single category.
exclude_categoriesarrayCategories to drop from results. Defaults to ['session_log']. Pass [] to include everything.
exclude_stalebooleanDrop topology records past 1.5x their warn threshold.
max_age_daysnumberHard upper bound on record age in days.
max_resultsnumberMaximum number of memories to return (default: 3)
query *stringWhat to search for
sourcestringRestrict to one provenance source. Use 'user' or 'tool' for highest-confidence facts.
mnemo_shareToggle cross-agent memory sharing for this session. When on, mnemo_search can read another agent's memories by passing agent_id; without agent_id, search stays scoped to you. When off, search is limited to this agent only.
mnemo_transcriptSearch or read the FULL archived session transcripts for the current agent (${AGENT_ID}) — every user turn, assistant turn, thinking block, tool call and tool output, secret-redacted. mnemo_recall finds a session's one pointer memory ("Full transcript archived: ..."); this tool reads what it points to. action=search: keyword (FTS) search over every turn, or with no q the newest sessions. action=get: format=manifest (what the session is), turns (paged by seq with from/to; replies are budgeted and name the next from), or raw (the redacted JSONL, cut to the reply budget).
ParameterTypeDescription
action *stringsearch = find turns or list sessions; get = read one session
formatstringget: default manifest
fromnumberget turns: first seq, default 0
limitnumbersearch: max results, default 20
qstringsearch: keywords (all must match). Omit to list the newest sessions.
session_idstringget: the transcript's session id (a UUID, or <uuid>_agent-<id> for a subagent)
tonumberget turns: last seq (inclusive); default a 50-turn page
mnemo_transcript_pushArchive this chat's turns to the Mnemo transcript tier WITHOUT a file export: pass the conversation as text and the bridge writes and uploads the transcript itself. Use it at every checkpoint / topic change, from any seat — it works where the Cowork transcript copy is denied or there is no file. Send the turns since your last push (a re-sent tail is skipped). Verbatim beats paraphrase. One archive per chat for ${AGENT_ID}: the first push prints the chat handle — pass it back as chat_id on every later push of the same chat, because one Desktop can run several chats through this one bridge. The archived session id is readable with mnemo_transcript get.
ParameterTypeDescription
chat_idstringThis chat's handle: the one your first push printed, or the chat's own id if you know it. Same handle = same archive. Default: this bridge session's id.
fidelitystringverbatim = copied as said; reconstructed = re-typed from a compacted or summarized context. Default reconstructed. Stamped on every turn of this push; split a mixed batch into two pushes.
titlestringA short chat title; stored once, on the first push of a chat.
turns *arrayThe turns in order: role = who spoke, text = what they said, verbatim where you can.
opie_startupDEPRECATED — use `agent_startup` instead. Legacy alias that loads opie.md as the lane and forces agent_id=opie regardless of MNEMO_AGENT_ID. Kept for back-compat with existing Opie / Claude Desktop installs. Identity lives in opie.md, not in this tool.
passport_forget_or_overrideDeprecate, forget, or replace an existing stable claim. Use override (with replacement_claim) to correct wording while preserving lineage. Use forget to remove a claim entirely. Use deprecate to retire without replacement.
ParameterTypeDescription
action *stringdeprecate=retire; forget=remove; override/replace=new wording with supersedes link.
actorstringuser | opie | cc | system. Default: user.
reasonstringFree-text reason (lands in the audit log).
replacement_claimstringRequired for action=override/replace. The corrected claim text.
target_claim_id *stringThe claim_id to act on, e.g. 'pref_prefers_001'.
passport_get_user_contextRead the user's portable working-style passport. Returns a prompt-ready text block plus structured claims. Call at session start to calibrate tone, workflow defaults, and negative constraints.
ParameterTypeDescription
max_claimsnumberCap the number of claims returned (default: 20)
platformstringPlatform hint (chatgpt, claude, gemini). Reserved for Phase 2 adapter layer.
scopesarrayFilter by scope tags (general, build_mode, debug_mode, research_mode, public_facing). Omit for all.
passport_list_pending_observationsList candidate observations waiting in the pending queue. Filter by status (pending|promoted).
ParameterTypeDescription
limitnumberCap items returned (default: 25)
statusstringFilter by status (default: pending)
passport_observe_behaviorRecord a candidate observation about the user's working style. REQUIRES 2+ evidence turn refs (minimum). Lands in pending queue; does NOT promote automatically. Never include credentials, project secrets, or client data.
ParameterTypeDescription
confidence *numberSelf-assessment 0.0–1.0.
evidence *arrayTurn identifier, e.g. 'u12-a12'.
proposed_claim *stringAtomic, testable claim (≤180 chars). E.g. 'Prefers direct answers with minimal fluff.'
proposed_target_section *stringDotted path for promotion. E.g. 'stable_core.communication', 'stable_core.workflow', 'negative_constraints'.
scopearrayScope tags: general, build_mode, debug_mode, research_mode, public_facing, personal, professional.
source_platform *stringWhere the interaction happened (chatgpt, claude, cc, opie, rocky).
source_session_id *stringSession identifier (free-form).
type *stringClaim type.
passport_promote_observationMove a pending observation into the stable passport. Only promote claims you're confident in — this is the gate between candidate and canonical.
ParameterTypeDescription
actorstringWho is promoting (user, opie, cc, system). Default: system.
observation_id *stringThe obs_NNN id from passport_list_pending_observations.
target_sectionstringOverride the observation's proposed target. Dotted path, e.g. 'stable_core.communication'.
read_brain_fileRead a file from the brain directory ($BRAIN_DIR). Use this to check brain lanes, reference docs, or any .md file in the brain. The last line is a stamp naming the clone (host), its commit, and when this bridge last pulled it — only agent_startup pulls by default, so pass pull=true when another agent just pushed.
ParameterTypeDescription
filename *stringFilename to read, e.g. 'my-agent.md', 'active.md'
pullbooleanFast-forward pull the brain repo before reading. Use when another agent just pushed and you need their text, not this clone's boot-time copy.
session_checkpointSave-and-commit WITHOUT closing the session. Flushes auto-capture, saves your summary to Mnemo Cortex, and optionally appends a dated CHECKPOINT line to your lane file and commits + pushes it. The session continues under the same session_id; call session_end as usual when you are actually done. Use it during long sessions or when many sessions are open at once, so a session that never reaches session_end still leaves a record. The summary must carry substance (400+ chars: what changed, why, what is next) — status-only saves are refused.
ParameterTypeDescription
categorystringDecay class. Defaults to current_state.
forcebooleanSave despite reported near-duplicates. A second checkpoint in the same session is forced automatically.
key_factsarrayKey facts to remember (one per item)
lane_kickstart_linestringOne dated line for your lane file. Appended under a '## CHECKPOINT <timestamp>' heading at the END of the lane (below any BOOT BOUNDARY), then committed + pushed as its own commit. Omit to save to Mnemo only.
summary *stringWhat this session has learned, changed, and decided so far, and what is next. Substance, not status — the tool cannot see the chat.
tagsarrayExtra free-form tags; 'session_checkpoint' is always added.
transcriptstring'denied' = the transcript export is not possible from this seat (the classifier refused the copy, or this chat has no Cowork VM transcript), so checkpoints are this session's record — the bridge then nudges checkpoints instead of exports, until the next agent_startup. 'shipped' is informational; the bridge verifies a landing by the file itself.
session_endCall this before ending a session. Saves a final summary to Mnemo Cortex and commits brain lane changes. This is your last chance to preserve what happened in this conversation.
ParameterTypeDescription
key_factsarrayKey facts to remember from this session
summary *stringFinal session summary — what was accomplished, decided, and what's next
wiki_indexGet the static wiki index — lists all projects, entities, and concepts in the legacy WikAI page set. Good starting point to see what the archive holds.
wiki_readRead a specific static wiki page by path (relative to ~/wiki/). Example: 'projects/my-project.md', 'entities/some-person.md'. Use wiki_search first to find the right page, then wiki_read to get the full content. Pages are a legacy WikAI snapshot — no longer recompiled nightly.
ParameterTypeDescription
path *stringRelative path within ~/wiki/, e.g. 'projects/my-project.md' or 'entities/some-person.md'
wiki_searchSearch the static wiki pages (legacy WikAI archive) — project docs, entities, and concepts compiled from Mnemo before the wiki was retired. Uses grep under the hood. Returns matching filenames and context lines. NOTE: pages are a snapshot, no longer recompiled nightly. For live document discovery, prefer the Librarian's file_find tool (FrankenClaw) if it's available to you.
ParameterTypeDescription
max_resultsnumberMax files to return (default 10)
query *stringSearch term or phrase to find in the wiki
sectionstringLimit search to a wiki section. Default: all
write_brain_fileWrite or update a file in the brain directory ($BRAIN_DIR). Use at session end to update your own lane file. Per the Lane Protocol convention, write only to your own lane (named after MNEMO_AGENT_ID, or the file MNEMO_LANE names), not other agents' lanes or shared docs. Compare-and-write: an existing file is refused unless this session read it (agent_startup or read_brain_file) and it has not changed on disk since — on a refusal, re-read, merge your changes into the current text, and write again.
ParameterTypeDescription
content *stringFull file content to write
filename *stringFilename to write, e.g. 'my-agent.md', 'active.md'

Security checks

  • ✓README presentThe repository's README runs to about 7.0K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionScanned 92 source files and found 7 calls to eval or shell execution, in adapters/openclaw/mnemo-ingest/handler.ts and integrations/mcp-bridge/server.js among others. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

Releases

v4.28.4v4.28.4 — Anthropic provider on Sonnet 5.5; Claude Desktop bundle rebuilt (reinstall it) · 12 Nov 2026Anthropic provider (PR #25, thanks @SamHofmannOfficial). The setup wizard's Anthropic default is now `claude-sonnet-5-5` (`claude-sonnet-4-5-20250929` retires 2026-11-30), and `AnthropicReasoning.generate` no longer raises `KeyError` when…
v4.28.1v4.28.1 — SECURITY: wiki_search no longer runs a shell (GHSA-h2jf-xmmf-2w8p) · 30 Oct 2026Security fix — MCP bridge 2.40.1. The read-only `wiki_search` tool built a shell command string with the query inside double quotes; `$(...)` and backticks expand there, so a search term shaped that way ran commands as the bridge user.…
v4.27.0v4.27.0 — SECURITY: no wildcard CORS, foreign origins and hosts refused without auth · 19 Oct 2026Problem. GHSA-682p-grrx-wrwg (high, reported 2026-08-20 by kasparovabi). The server shipped `cors_origins: ["*"]` by default, and the default auth posture is none. A browser on the same machine is a loopback client, so any web page the…
v4.14.0v4.14.0 — ChatGPT integration (Custom GPT Actions gate) · 23 Jul 2026v4.14.0 — ChatGPT integration: Custom GPT Actions gate (2026-07-13) Problem. ChatGPT was the one major assistant Mnemo couldn't reach. It has no local/stdio MCP — OpenAI's cloud must call in over public HTTPS, and exposing a Mnemo server…
v4.13.0v4.13.0 — Cortex Stick zero-terminal courier · 23 Jul 2026v4.13.0 — Cortex Stick: zero-terminal courier (`stick watch --notify`) (2026-07-12) Problem. `stick watch` was built to run under a systemd user unit or Windows Task Scheduler, but its sync reports only went to a console nobody is looking…

README

The repository's README runs to about 7.0K words, fetched 12 days ago. The original in the repository is authoritative.

Read full README
Questions

About Mnemo Cortex

How do I install Mnemo Cortex?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Mnemo Cortex safe to use with an AI agent?

Its trust score is 70 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mnemo Cortex still maintained?

Yes — the latest release is v4.28.4 (12 Nov 2026), and the last commit was 5 hours ago. The repository has 162 stars and 2 open issues.

What tools does Mnemo Cortex provide?

Conduid read 32 tools from the source: agent_startup, list_brain_files, mnemo_capture_pause, mnemo_capture_resume, mnemo_fact_authority, mnemo_fact_demote, mnemo_fact_get, mnemo_fact_proposals and 24 more. 26 of them publish their parameters, listed under Tools above.

What license is Mnemo Cortex released under?

The repository declares the MIT license. That applies to the latest release, v4.28.4, as well.