Practical overview
When it fits
Use Megamemory when a coding agent needs to carry project-specific concepts and decisions between sessions and retrieve them through MCP. Its graph can also be explored in a browser.
Who it is for
- Developers using coding agents who need project knowledge to persist across sessions.
- Teams or individual developers who want to record and query project concepts, architectural decisions and relationships through MCP tools.
Documented uses
- Orient an agent to a project's top-level concepts at the start of a session.
- Retrieve relevant architecture or decision context with a natural-language semantic query.
- Record or update project knowledge after a coding task.
- Browse a stored knowledge graph and inspect concept details and relationships.
Requirements & limits
The repository is public and lists the MIT license. Installation requires Node.js 18 or later.
- The agent interprets the code and writes concepts; Megamemory does not use AST parsing or static analysis to index code.
- Each project uses a SQLite database at
.megamemory/knowledge.dbby default, withMEGAMEMORY_DB_PATHavailable to override the location. - The documented editor installer supports OpenCode, Claude Code, Antigravity and Codex; other MCP clients can use the stdio server.
- The embedding model downloads automatically on first use and runs in-process.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install Megamemory for an MCP coding agent
Install the CLI and use its interactive installer to configure a supported editor or MCP client.
Before you start
- Node.js 18 or later
- A coding editor with MCP support
Steps
Install the CLI globally with the command below.
npm install -g megamemoryRun
megamemory installand choose an editor in the interactive installer.For a documented target, run
megamemory install --target opencode,claudecode,antigravity, orcodexinstead.Restart OpenCode after its target-specific installation; other MCP clients can be configured as a local stdio server running
megamemory.
Expected outcome
The selected editor or MCP client is configured to use Megamemory; its project database is stored at `.megamemory/knowledge.db` unless `MEGAMEMORY_DB_PATH` overrides the location.
Guide limitations
- The embedding model, about 23 MB, downloads automatically on first use.
- For other MCP clients, the README describes adding a local stdio server but does not provide a universal editor-specific configuration process.
Use the documented memory workflow
Orient an agent, retrieve project concepts for a task, and record concepts after work.
Before you start
- Megamemory configured as an MCP server for the coding agent
- A project with its Megamemory knowledge database
Steps
At session start, have the agent call
list_rootsto orient itself.Before a task, query with
understandand a natural-language question, or useget_conceptfor an exact concept ID.After work, use
create_conceptorupdate_conceptto record what was built.
Expected outcome
The agent can retrieve matching graph context and persist new or revised project concepts for later sessions.
Guide limitations
- The graph stores agent-written concepts, not source-code symbols; the agent reads code and describes it in its own words.
- The README documents the workflow but does not specify a standard concept-writing format.
Compare options for AI coding assistance
These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.
| Project | Documented purpose | Platform | Access and requirements |
|---|---|---|---|
| Megamemory | Orient an agent to a project's top-level concepts at the start of a session. | CLI, Self-hosted, Server | The repository is public and lists the MIT license. Installation requires Node.js 18 or later. |
| Continuum — pouyahasanamreji | Store project lessons so coding agents can retrieve them across conversations. | CLI, Self-hosted, Server | The repository documents local Docker Compose and bare-metal development setups. Bare-metal startup requires Node 22.12.0 or later and pnpm 10.33 or later; the Compose path skips these host prerequisites. |
| Haft | Record the problem a project is solving and the options considered. | CLI, Self-hosted |
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 13 October 2026
- Original website title
- 0xK3vin/MegaMemory · Official homepage title · retained in its source language

