About Megamem
Megamem is an MCP server published by C-Bjorn in the AI category: transform your Obsidian vault into a powerful knowledge graph with MCP support. Conduid read 24 tools from its source: add_conversation_memory, add_memory, ask_bjorn, clear_graph, create_note_with_template, create_obsidian_note and 18 more. No package is published for it, so it installs from a source checkout.
The repository has 83 stars and 10 forks, is licensed MIT, and its last commit was on 13 Oct 2026. The latest release is v1.8.0 (13 Oct 2026): MegaMem MCP v1.8.0 Installation For Obsidian Plugin: 1. It follows v1.7.6 (23 Jul 2026), and the 5 most recent releases go back to v1.7.3 (28 May 2026). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned, No dynamic code execution and Scoped permissions. Its topics include graphrag, falkordb, graphiti, awesome, neo4j and obsidian-mcp.
Install
git clone https://github.com/C-Bjorn/MegaMemTools (24)
add_conversation_memoryStore a conversation as a structured memory episode| Parameter | Type | Description |
|---|---|---|
| conversation * | array | Array of message objects |
| database_id | string | Optional: target a specific named database (id or label from Databases settings) |
| group_id | string | Group ID for organizing memories |
| name | string | Name for conversation episode |
| source_description | string | Source description |
add_memoryAdd an episode/memory to the knowledge graph (`database_id` optional)| Parameter | Type | Description |
|---|---|---|
| content * | string | The memory content to add (episode_body) |
| database_id | string | Optional: target a specific named database (id or label from Databases settings) |
| group_id | string | Group ID for organizing memories |
| name * | string | Name of the episode |
| namespace | string | DEPRECATED: Use group_id instead |
| source | string | Source type (text, json, message) |
| source_description | string | Description of the source |
| uuid | string | Optional UUID for the episode |
ask_bjornAsk Bjørn, Endogon's support agent, about MegaMem/Endogon (not your vault). Needs a Pro key with the `service.ask_bjorn` capability; unmetered| Parameter | Type | Description |
|---|---|---|
| question * | string | The question to ask Bjorn about MegaMem, Endogon, or the product |
clear_graphClear the entire memory graph (use with caution)| Parameter | Type | Description |
|---|---|---|
| database_id | string | Optional: target a specific named database (id or label from Databases settings) |
create_note_with_templateCreate a note from a template with intelligent routing — native rendering engine (no Templater required) when `templateSources` is configured, with cross-vault resolution and registry-aware candidate matching| Parameter | Type | Description |
|---|---|---|
| content | string | Optional content to append after template processing |
| file_name * | string | Filename to create (required) |
| request_type * | string | Template name to use (fuzzy-matched). {self._template_list_description} |
| target_folder | string | Override folder. Most templates self-route via Templater mappings or tp.file.move; omit unless forcing a specific location. |
| template_source | string | Optional: label or index of a configured template source to pin resolution to for this call, overriding source precedence (CLI mode with templateSources configured only). |
| vault_id | string | Vault ID (optional) |
create_obsidian_noteCreate a new note at a specified path| Parameter | Type | Description |
|---|---|---|
| content * | string | Note content |
| path * | string | Note path |
| vault_id | string | Vault ID (optional) |
delete_entity_edgeRemove a specific relationship edge by UUID (`database_id` optional)| Parameter | Type | Description |
|---|---|---|
| database_id | string | Optional: target a specific named database (id or label from Databases settings) |
| uuid * | string | UUID of the entity edge to delete |
delete_episodeRemove a specific episode by ID (`database_id` optional)| Parameter | Type | Description |
|---|---|---|
| database_id | string | Optional: target a specific named database (id or label from Databases settings) |
| episode_id * | string | Episode ID to delete |
explore_vault_foldersExplore vault folder structure (tree/flat/paths output)| Parameter | Type | Description |
|---|---|---|
| extension_filter | array | Optional list of file extensions to filter results (e.g. ['md', 'canvas']). Only used when include_files is true. |
| format | string | Preferred output format: tree|flat|paths|smart |
| include_files | any | Include files in the folder listing alongside folders. Default false. |
| max_depth | any | Maximum traversal depth |
| path | string | Explicit vault path to explore (optional) |
| query | string | Natural language or path query (optional) |
| vault_id | string | Vault ID (optional) |
get_entity_edgeGet relationships for a specific entity by name (`database_id` optional)| Parameter | Type | Description |
|---|---|---|
| database_id | string | Optional: target a specific named database (id or label from Databases settings) |
| edge_type | string | Edge type (optional) |
| entity_name * | string | Entity name |
| group_ids | array | Optional list of group IDs to scope the search (prevents cross-group data leakage) |
get_episodesRetrieve the most recent N episodes from a group (`database_id` optional)| Parameter | Type | Description |
|---|---|---|
| database_id | string | Optional: target a specific named database (id or label from Databases settings) |
| group_id | string | Group ID to retrieve episodes from |
| last_n | integer | Number of most recent episodes to retrieve |
list_databasesList all configured database targets — use before routing with `database_id`list_group_idsList all group IDs (namespaces) in the vaultlist_obsidian_vaultsList all registered Obsidian vaultsmanage_obsidian_baseManage Obsidian Bases `.base` files — operations: `list`, `views`, `query`, `create`| Parameter | Type | Description |
|---|---|---|
| content | string | Initial content for the new item. Used by: create. |
| file | string | Base filename (without extension). Used by: views, query, create. |
| format | string | Output format for query results. json (default) returns parsed structured data. Used by: query. |
| limit | integer | Max number of results to return. Applied post-fetch to the parsed JSON array. Used by: query. |
| name | string | Name/title for the new item. Used by: create. |
| operation * | string | Operation to perform. 'list': list all .base files (no other params needed). 'views': list views in a base (requires file or path). 'query': query base data and return results (requires file or path; use format param to control output). 'create': create a new item/row in a base (requires file or path). |
| path | string | Full vault-relative path to the .base file (alternative to file). Used by: views, query, create. |
| vault_id | string | Vault ID (optional) |
| view | string | View name within the base. Used by: query (optional), create (optional). |
manage_obsidian_foldersCreate, rename, or delete vault folders| Parameter | Type | Description |
|---|---|---|
| folderPath * | string | Path to the folder (source path for rename/delete/clone, target path for create) |
| newFolderPath | string | New folder path (required for rename and clone operations) |
| operation * | string | Folder operation to perform. 'clone' duplicates the entire folder tree to a new path. |
| vault_id | string | Vault ID (optional) |
manage_obsidian_notesDelete, rename/move, copy, or cross-vault copy/move notes (`copy_to_vault`/`move_to_vault`)| Parameter | Type | Description |
|---|---|---|
| newPath | string | The destination path (required for rename and copy operations, same vault only) |
| operation * | string | The operation to perform. 'copy' duplicates the note to newPath within the same vault. 'copy_to_vault'/'move_to_vault' transfer the note to a different vault (targetVaultId + targetPath required); 'move_to_vault' deletes the source only after the target write is verified. |
| overwrite | boolean | For copy_to_vault/move_to_vault: if true, allow overwriting an existing note at targetPath. Default false — fails with TARGET_EXISTS if the target already exists. |
| path * | string | The note path for delete/copy/copy_to_vault/move_to_vault, or the old path for rename |
| targetPath | string | Target note path in targetVaultId (required for copy_to_vault/move_to_vault). |
| targetVaultId | string | Target vault ID (required for copy_to_vault/move_to_vault) — the note is written here. |
| vault_id | string | Optional vault ID to target specific vault. Source vault for copy_to_vault/move_to_vault. |
manage_sagasList all sagas (`operation: "list"`) or summarize a saga (`operation: "summarize"`)| Parameter | Type | Description |
|---|---|---|
| database_id | string | Optional: target a specific named database (id or label from Databases settings) |
| group_id | string | Namespace/group_id to scope the operation. Defaults to server default_namespace. |
| operation * | string | Operation to perform. 'list': list all sagas in the namespace (no saga_name needed). 'summarize': incrementally summarize a saga using only new episodes since the last summary. |
| saga_name | string | Name of the saga to summarize (required for 'summarize' operation) |
read_obsidian_noteRead a note's full content (with optional line map for editing)| Parameter | Type | Description |
|---|---|---|
| include_line_map | any | Include line-by-line mapping and section detection for precise editing (increases response size ~2x) |
| path * | string | Note path |
| vault_id | string | Vault ID (optional) |
search_memory_factsSearch for relationships and facts between entities (`database_id` optional)| Parameter | Type | Description |
|---|---|---|
| center_node_uuid | string | UUID of node to center search around (proximity search) |
| database_id | string | Optional: target a specific named database (id or label) |
| group_ids | array | Optional list of group IDs to search in |
| max_facts | integer | Max results |
| node_labels | array | Filter by node label types (e.g. ['Person', 'Organization']) |
| property_filters | object | Filter by specific node/edge properties (e.g. {"status": "active"}) |
| query * | string | Search query |
search_memory_nodesSemantic search for entity nodes in the graph (`database_id` optional)| Parameter | Type | Description |
|---|---|---|
| center_node_uuid | string | UUID of node to center search around (proximity search) |
| database_id | string | Optional: target a specific named database (id or label). e.g. 'notes-vault', 'CompanyName Graph' |
| entity_types | array | Filter by entity types (e.g., ['Person', 'Company']) |
| group_ids | array | Optional list of group IDs to search in |
| max_nodes | integer | Max results |
| node_labels | array | Filter by node label types (e.g. ['Person', 'Organization']) |
| property_filters | object | Filter by specific node/edge properties (e.g. {"status": "active"}) |
| query * | string | Search query |
search_obsidian_notesSearch vault notes by filename and/or content| Parameter | Type | Description |
|---|---|---|
| include_context | any | Include context snippets for content matches |
| max_results | any | Maximum number of results to return |
| mtime_after | string | Return only notes modified after this date (ISO format, e.g. '2026-03-20'). Compares against file.mtime. Uses Obsidian eval — requires Obsidian running. Can be combined with property_filter. |
| mtime_before | string | Return only notes modified before this date (ISO format, e.g. '2026-04-01'). Compares against file.mtime. Uses Obsidian eval — requires Obsidian running. Can be combined with property_filter. |
| path | string | Path to search within the vault (optional) |
| property_filter | object | Filter by frontmatter properties. Pass a JSON object of key/value pairs — all must match (AND logic). Array frontmatter values are checked with includes(). Example: {"status": "active", "type": "task"}. Uses Obsidian eval — requires Obsidian running. |
| query | string | Search query. Required for filename/content search. Optional when property_filter is set (if provided, acts as a case-insensitive filename/path substring filter). |
| search_mode | string | Search mode: filename, content, or both. Ignored when property_filter is set. |
| vault_id | string | Vault ID (optional) |
sync_obsidian_noteSync a specific vault note to the graph on demand (`database_id` optional to target a specific database)| Parameter | Type | Description |
|---|---|---|
| database_id | string | Optional: target a specific configured database (settings.databases[].id) via the plugin's RPC bridge. If unrecognized, fails with a named error rather than falling back to the default database. |
| path * | string | Vault-relative path to the note (e.g. 'My Notes/SomeNote.md'). Do NOT use absolute system paths or prefix with the vault folder name. |
| vault_id | string | Vault ID (optional) |
update_obsidian_noteUpdate a note — 5 modes: full file, frontmatter, append, range, editor| Parameter | Type | Description |
|---|---|---|
| append_content | string | Content to append to the end of the file (used for append_only mode) |
| content | string | New content (used for full_file mode) |
| editing_mode | string | The editing mode to use |
| editor_method | string | Predefined editor method to use (used for editor_based mode) |
| frontmatter_changes | any | Object containing frontmatter properties to update (used for frontmatter_only mode). Pass as an object or JSON string. WARNING: Do NOT pass array values (e.g. tags) via frontmatter_changes — the YAML serializer will drop the closing --- fence, corrupting the file. For any update that includes array fields, use full_file mode instead. |
| path * | string | Note path |
| range_end_char | any | Ending character position (0-based) within the end line (optional, defaults to end of line) |
| range_end_line | any | Ending line number (1-based) for range replacement (optional, defaults to start_line) |
| range_start_char | any | Starting character position (0-based) within the start line |
| range_start_line | any | Starting line number (1-based) for range replacement |
| replacement_content | string | Content to replace within the specified range (used for range_based mode) |
| vault_id | string | Vault ID (optional) |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.9K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- !No dynamic code executionScanned 25 source files and found 3 calls to eval or shell execution, in main.js:381, mcp-server/cli_file_tools.py:29 and mcp-server/obsidian_cli.py:1934. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiomcp-server/megamem_mcp_server.py:51
- Starts other programs
- 6 callsmcp-server/obsidian_cli.py:190, mcp-server/obsidian_cli.py:223, mcp-server/obsidian_cli.py:245
- Outbound network calls
- 20 callsmcp-server/megamem_mcp_server.py:2515, mcp-server/remote_rpc_bridge.py:27, mcp-server/remote_rpc_bridge.py:35
- Writes or deletes files
- 11 callsmcp-server/obsidian_cli.py:336, graphiti_bridge/ollama_client.py:214, graphiti_bridge/publish.py:1939
- Lockfile
- None in the repository
Pattern matches on the source text of 25 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.9K words, fetched a month ago. The original in the repository is authoritative.
Read full README