# MegaMemory

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

- **URL**: https://www.freshcrate.ai/projects/MegaMemory
- **Author**: 0xK3vin
- **Category**: MCP Servers
- **Latest version**: `v1.6.2` (2026-05-03)
- **License**: MIT
- **Source**: https://github.com/0xK3vin/MegaMemory
- **Language**: TypeScript
- **GitHub**: 142 stars, 17 forks
- **Registry**: github
- **Tags**: `agentic-coding`, `ai`, `ai-agents`, `claude-code`, `code-context`, `coding-agent`, `embeddings`, `knowledge-graph`, `typescript`

## Description

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

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v1.6.2` | 2026-05-03 | High | ## Summary - 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.  ## Validation - `npm test` - `npm run build` |
| `v1.6.1` | 2026-03-20 | Medium | ## What'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.0` | 2026-03-16 | Low | ## What'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 `~/.codex/AGENTS.md` with knowledge graph workflow instructions  ### SQLite concurrency fix (#8) - `softDeleteNode()`, `hardDeleteNode()`, and `resolveConflict()` now wrapped in transactions to prevent orphaned edges under concurrent multi-process |
| `v1.5.0` | 2026-03-03 | Low | ## Concurrency 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 multi-process safety - **Atomic createConcept transactions** — node + edges wrapped in a single transaction - **Migration serialization** — `BEGIN IMMEDIATE` prevents concurrent migration races - **UNIQUE constraint on edges with auto-deduplication |
| `v1.4.1` | 2026-03-03 | Low | Strengthen 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. Ref #6. |
| `v1.4.0` | 2026-02-17 | Low | Add timeline playback to web explorer |
| `v1.3.3` | 2026-02-11 | Low | - Fix: Restore full `megamemory stats` command with all 5 sections (Database, Graph, list_roots, Kinds, Size) - Fix: Add missing `await` for async stats command in CLI router   - Includes timeline functionality merged from visualization branch |
| `v1.3.1` | 2026-02-10 | Low | - Replace `init` with interactive `install` command supporting opencode, Claude Code, and Antigravity - Add semantic search to web explorer - Standardize error formatting (via @mikaelj) |
| `v1.2.1` | 2026-02-08 | Low | Add test coverage for embedding validation and Buffer deserialization fixes from PR #2. |
| `v1.2.0` | 2026-02-07 | Low | **Full Changelog**: https://github.com/0xK3vin/MegaMemory/compare/v1.1.2...v1.2.0 |

## Dependency audit

- **Score**: 100/100
- **Total deps**: 10
- **Resolved**: 10
- **Unresolved**: 0
- **License conflicts**: 0
- **Warnings**: 0
- **Scanned**: 2026-05-04

## Citation

- HTML: https://www.freshcrate.ai/projects/MegaMemory
- Markdown: https://www.freshcrate.ai/projects/MegaMemory.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/MegaMemory/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
