1. Conduid
  2. Developer Tools
  3. Megamemory
MCP server · Developer Tools

Megamemory

Persistent project knowledge graph for coding agents. MCP server with semantic search, in-process embeddings, and web explorer.

72Good

Scored 20 hours ago · breakdown

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 Code
claude mcp add megamemory -- npx -y megamemory
npx
npx -y megamemory
From source
git clone https://github.com/0xK3vin/MegaMemory

Tools (9)

create_conceptAdd a new concept with optional edges and file references.
ParameterTypeDescription
created_by_taskstringDescription of the task that created this concept
edgesarrayTarget concept ID
file_refsarrayRelevant file paths + optional line ranges
name *stringHuman-readable name for the concept
parent_idstringParent concept ID for nesting; empty string is treated as omitted
summary *stringWhat this concept is. Be specific: include parameter names, defaults, file paths, behavior details.
whystringWhy 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.
ParameterTypeDescription
id *stringExact concept ID to look up (e.g., 'auth-module' or 'database-config')
linkCreate a typed relationship between two concepts.
ParameterTypeDescription
descriptionstringWhy this relationship exists
from *stringSource concept ID
to *stringTarget 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.
ParameterTypeDescription
id *stringThe concept ID to remove
reason *stringWhy this concept is being removed
resolve_conflictResolve a merge conflict by providing verified, correct content based on the current codebase.
ParameterTypeDescription
merge_group *stringThe merge_group UUID of the conflict to resolve
reason *stringExplanation of what you verified and why this resolution is correct
resolvedobjectThe 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.
ParameterTypeDescription
query *stringNatural language query describing what you want to understand about the project
top_knumberNumber of top results to return (default: 10)
update_conceptUpdate fields on an existing concept. Regenerates embeddings automatically.
ParameterTypeDescription
changesobjectNew name
id *stringThe 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

v1.6.2v1.6.2 · 3 May 2026Summary Treat empty `parent_id` values as omitted when creating root concepts. Make installer updates non-destructive for existing user configs and unmarked plugin/command files. Add multi-process database concurrency regression coverage.…
v1.6.1v1.6.1 · 20 Mar 2026What's Changed Add get_concept tool for exact ID lookup by @mikaelj in https://github.com/0xK3vin/MegaMemory/pull/10 Full Changelog: https://github.com/0xK3vin/MegaMemory/compare/v1.6.0...v1.6.1
v1.6.0v1.6.0 · 16 Mar 2026What's New Codex install target (#9) `megamemory install --target codex` now configures megamemory for OpenAI's Codex CLI/IDE/App Primary path uses `codex mcp add` CLI; falls back to writing TOML directly to `~/.codex/config.toml` Writes…
v1.5.0v1.5.0 · 3 Mar 2026Concurrency Safety & Schema v4 This release adds robust multi-process SQLite safety and schema improvements for concurrent MCP access. Changes SQLite busy_timeout & synchronous pragmas — `busy_timeout=5000` and `synchronous=NORMAL` for…
v1.4.1v1.4.1 · 3 Mar 2026Strengthen megamemory prompt wording from suggestive to mandatory. Models with large thinking budgets were rationalizing away soft instructions — upgraded to 'You must call' language with explicit ordering and 'no implicit memory' framing.…

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
Questions

About Megamemory

How do I install Megamemory?

In Claude Code, run claude mcp add megamemory -- npx -y megamemory. Other MCP clients take the command after "--" in their server configuration.

Is Megamemory safe to use with an AI agent?

Its trust score is 72 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 13 source files found that it serves MCP over stdio, starts other programs (4 calls) and writes or deletes files (11 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Megamemory still maintained?

The last commit was 7 months ago and 4 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Megamemory provide?

Conduid read 9 tools from the source: create_concept, get_concept, link, list_conflicts, list_roots, remove_concept, resolve_conflict, understand and 1 more. 7 of them publish their parameters, listed under Tools above.

What license is Megamemory released under?

The repository declares the MIT license. That applies to the latest release, v1.6.2, as well.