Mnemograph
Event-sourced knowledge graph memory for AI coding agents with semantic search
Connector by tm42 · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/tm42-mnemograph
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 15 read · 12 write · 4 delete · 3 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Python package
Tools by what they do 34
Read from the source code; the running server may list different tools.
Read 15 · Look things up without changing anything.
branch_currentbranch_diffbranch_listdiff_timerangefind_orphansfind_similarget_entity_historyget_graph_healthget_primerget_relation_weightget_state_atget_strongest_connections
Show 3 more tools
get_weak_relationsrecallsuggest_relations
Write 12 · Create, change, send or run things.
add_observationsbranch_addbranch_checkoutbranch_createcreate_entitiescreate_entities_forcecreate_relationsmerge_entitiesrememberrestore_state_atsession_startset_relation_importance
Delete 4 · Delete, drop, revoke or wipe things.
clear_graphdelete_entitiesdelete_observationsdelete_relations
Not yet classified 3 · We could not tell from the name and description.
reloadrewindsession_end
Secrets and settings it asks for
Other settings (environment variables or headers).
MEMORY_PATH
Files it touches
- Any path the agent passes to its tools
Tools (34)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
add_observationsAdd atomic facts to existing entities. One fact per observation — don't dump paragraphs. Use prefixes: 'Gotcha: ...', 'Warning: ...', 'Status: ...', 'Source: ...'. For relations, use create_relations instead of 'X is related to Y' observations.
branch_addAdd entities to the current branch. Only works on non-main branches. Optionally includes relations between added entities.
branch_checkoutSwitch to a different branch. Changes what entities/relations are visible in queries. Use 'main' to see everything.
branch_createCreate a new branch with seed entities. Uses BFS to expand from seeds to N-hop neighbors. Branch names follow format: <type>/<name> where type is project|feature|domain|spike|archive.
branch_currentGet the name and details of the currently active branch.
branch_diffShow differences between two branches. Returns entities and relations that are only in one branch vs the other, plus what's common to both.
branch_listList all memory branches. Branches are filtered views of the knowledge graph. Main branch sees everything; other branches see filtered subsets.
clear_graphClear ALL entities and relations from the graph. Use sparingly! For graphs with >10 entities: requires reason AND confirm_token. Event-sourced: can rewind to before clear with get_state_at(timestamp).
create_entitiesCreate new entities in the knowledge graph. AUTO-BLOCKS if similar entity exists (>80% match) — returns warning with suggestion. Use create_entities_force to override. Types: concept, decision, project, pattern, question, learning. Naming: use canonical names ('Python' not 'python language'), prefix decisions ('Decision: Use Redis').
create_entities_forceCreate entities BYPASSING duplicate check. Use when you're certain the entity is distinct despite similar names (e.g., 'React' library vs 'React' conference).
create_relationsCreate relations (edges) between entities. Every entity should have at least one relation. Use specific types: uses, implements, part_of, depends_on, alternative_to, decided_by, affects. Avoid generic 'related_to' when a specific type fits.
delete_entitiesDelete entities by name (cascades to relations)
delete_observationsDelete specific observations from entities
delete_relationsDelete specific relations
diff_timerangeShow what changed between two points in time
Show 19 more tools
find_orphansFind entities with no relations (likely incomplete). Orphans should be connected, merged into another entity, or deleted.
find_similarFind entities with similar names (potential duplicates). Use before creating to check for existing entities. Returns similarity scores — consider merging if >0.85.
get_entity_historyGet the history of all changes to an entity
get_graph_healthAssess knowledge graph quality. Returns: orphan count, potential duplicates, overloaded entities, weak relations. Run periodically to maintain graph hygiene. Use full=true for deep duplicate detection (slower).
get_primerGet oriented with this knowledge graph. Call at session start.
get_relation_weightGet weight breakdown for a relation (recency, co-access, explicit)
get_state_atGet graph state at a specific point in time (event rewind)
get_strongest_connectionsGet an entity's strongest connections by edge weight
get_weak_relationsGet relations below a weight threshold (pruning candidates)
merge_entitiesMerge source entity into target. Source's observations and relations move to target, then source is deleted. Use to consolidate duplicates (e.g., merge 'ReactJS' into 'React').
recallPRIMARY RETRIEVAL TOOL. Get relevant context with automatic token management. Use focus=['EntityName'] to get full details on specific entities. shallow=quick summary, medium=semantic search+neighbors, deep=full exploration.
reloadReload graph state from mnemograph.db on disk. Use after: git operations (checkout, restore), external edits to mnemograph.db, or any time MCP server seems out of sync.
rememberStore knowledge atomically — entity + observations + relations in ONE call. PRIMARY TOOL for storing new knowledge. Prevents orphan entities. AUTO-BLOCKS if similar entity exists (>80% match). Use force=True to override.
restore_state_atRestore graph to state at a specific timestamp. Emits clear + recreate events — full audit trail preserved. Use get_state_at() first to preview what will be restored.
rewindRewind graph to a previous state using git. Fast undo, audit trail in git only. For audit-preserving restore, use restore_state_at() instead.
session_endSignal session end, optionally save summary
session_startSignal session start and get initial context. Returns quick_start guide with tool usage. IMPORTANT: If memory is empty, ask user whether to use project-local or global memory scope.
set_relation_importanceSet explicit importance weight for a relation
suggest_relationsSuggest potential relations for an entity based on semantic similarity and co-occurrence. Useful for connecting newly created entities or discovering missing links.
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 93
- Last commit
- Feb 14, 2026 (8 months ago)
- Last release
- Feb 14, 2026 (8 months ago)
- Last package publish
- Feb 14, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.tm42/mnemograph- Version
- 0.5.1
- Auth
- No auth
- Packages
- pypi mnemograph
- License
- MIT
- Repository
- github.com/tm42/mnemograph
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
Mnemograph MCP server. Agent Mart. https://agentmart.dev/connectors/tm42-mnemograph (last updated 2026-10-24)