About Megamemory
Megamemory is an MCP server published by 0xK3vin in the Developer Tools category: persistent project knowledge graph for coding agents. MCP server with semantic search, in-process embeddings, and web explorer. Conduid read 9 tools from its source: create_concept, get_concept, link, list_conflicts, list_roots, remove_concept and 3 more. It is published to npm as megamemory and starts with npx.
The repository has 842 stars and 90 forks, is licensed MIT, and its last commit was on 3 May 2026. The latest release is v1.6.2 (3 May 2026): Summary Treat empty parent_id values as omitted when creating root concepts. It follows v1.6.1 (20 Mar 2026), and the 5 most recent releases go back to v1.4.1 (3 Mar 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include knowledge-graph, coding-agent, devtools, embeddings, agentic-coding and code-context.
Install
claude mcp add megamemory -- npx -y megamemorynpx -y megamemorygit clone https://github.com/0xK3vin/MegaMemoryTools (9)
create_conceptAdd a new concept with optional edges and file references.| Parameter | Type | Description |
|---|---|---|
| created_by_task | string | Description of the task that created this concept |
| edges | array | Target concept ID |
| file_refs | array | Relevant file paths + optional line ranges |
| name * | string | Human-readable name for the concept |
| parent_id | string | Parent concept ID for nesting; empty string is treated as omitted |
| summary * | string | What this concept is. Be specific: include parameter names, defaults, file paths, behavior details. |
| why | string | Why this exists or was built this way |
get_conceptLook up a concept by its exact ID. Returns full context including children, edges, incoming edges, and parent.| Parameter | Type | Description |
|---|---|---|
| id * | string | Exact concept ID to look up (e.g., 'auth-module' or 'database-config') |
linkCreate a typed relationship between two concepts.| Parameter | Type | Description |
|---|---|---|
| description | string | Why this relationship exists |
| from * | string | Source concept ID |
| to * | string | Target concept ID |
list_conflictsList unresolved merge conflicts grouped by merge group.list_rootsList all top-level concepts with direct children.remove_conceptSoft-delete a concept with a reason. History preserved.| Parameter | Type | Description |
|---|---|---|
| id * | string | The concept ID to remove |
| reason * | string | Why this concept is being removed |
resolve_conflictResolve a merge conflict by providing verified, correct content based on the current codebase.| Parameter | Type | Description |
|---|---|---|
| merge_group * | string | The merge_group UUID of the conflict to resolve |
| reason * | string | Explanation of what you verified and why this resolution is correct |
| resolved | object | The correct, resolved summary for this concept — verified against the current codebase |
understandSemantic search over the knowledge graph. Returns matched concepts with children, edges, and parent context.| Parameter | Type | Description |
|---|---|---|
| query * | string | Natural language query describing what you want to understand about the project |
| top_k | number | Number of top results to return (default: 10) |
update_conceptUpdate fields on an existing concept. Regenerates embeddings automatically.| Parameter | Type | Description |
|---|---|---|
| changes | object | New name |
| id * | string | The concept ID to update |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- !No dynamic code executionScanned 13 source files and found 4 calls to eval or shell execution, in src/install.ts:211 and src/install.ts:239 among others. 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
- stdiosrc/index.ts:151
- Starts other programs
- 4 callssrc/install.ts:211, src/install.ts:239, src/install.ts:479
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 11 callssrc/db.ts:16, src/install.ts:250, src/install.ts:258
- Lockfile
- package-lock.json
Pattern matches on the source text of 13 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.1K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README