Packages
Engram is published as a Turborepo monorepo. Each package is independently versioned and published to npm under the @engram scope.
@engram-ai-memory/mcp0.1.0MCP server for Claude Code and any MCP-compatible client. Exposes 18 tools over the Model Context Protocol via stdio transport — memory, search, recall, decay, contradictions, tags, webhooks, and more.
npm i -g @engram-ai-memory/mcp # or pnpm add -g @engram-ai-memory/mcp
engram-mcpCLI binary — runs the MCP server (stdio transport)store_memoryMCP tool — store a new memoryrecall_contextMCP tool — assemble relevant context for AI promptssearch_memoryMCP tool — semantic vector searchadd_knowledgeMCP tool — store a semantic factmemory_statsMCP tool — get brain statisticsforgetMCP tool — archive memories@engram-ai-memory/cli0.1.0Terminal power-user interface. Store, search, recall, forget, export, and import memories from the command line. Uses @engram-ai-memory/core directly — no server required.
npm i -g @engram-ai-memory/cli # or pnpm add -g @engram-ai-memory/cli
engram storeStore a new memory with type, importance, tagsengram searchSemantic vector searchengram recallAssemble working memory contextengram statsMemory store statistics and healthengram forgetArchive a memory by IDengram exportExport all memories as JSON/NDJSONengram importImport memories from JSON/NDJSON@engram-ai-memory/core0.1.0Core TypeScript library. The brain — memory engine, embedding pipeline, vector search, knowledge graph, and context assembly. Embed Engram into your own Node.js application.
npm i @engram-ai-memory/core # or pnpm add @engram-ai-memory/core
NeuralBrainMain class — store/recall/search/forget/statsEmbeddertext → FP16 384-dim vector using ONNX (all-MiniLM-L6-v2)VectorSearchIn-memory cosine similarity search indexKnowledgeGraphGraph engine with BFS expansion and 7 relationship typesContextAssembler7-step recall algorithm — embed → search → expand → score → rank → truncate → logImportanceScorerComposite scoring: similarity + recency + importance + access frequency@engram-ai-memory/vis0.1.0The React Three Fiber 3D visualization dashboard. Can be embedded in any React 18+ app. Ships with 5 view modes and a full UI (memory list, inspector, status bar).
npm i @engram-ai-memory/vis # peer deps: react react-dom three @react-three/fiber
NeuralCanvasFull dashboard component with sidebar and inspectorMemoryGraphBare 3D canvas — nodes + edges onlyuseMemoryStoreZustand store hook for memory stateuseViewStoreZustand store hook for active view/themeVIEWSArray of 5 view configs (Cosmos, Nebula, Neural Net, Galaxy, Clusters)Versioning
All packages are versioned together — a release always updates all three packages to the same version. This guarantees API compatibility across the monorepo.
TypeScript support
All packages ship with full TypeScript declarations. No @types/ package is required. Engram uses exactOptionalPropertyTypes and strict mode throughout.
Node.js compatibility
| Package | Node.js | Notes |
|---|---|---|
| @engram-ai-memory/mcp | 22 + | Requires better-sqlite3 native addon (node-gyp) |
| @engram-ai-memory/core | 22 + | @xenova/transformers ONNX runtime, better-sqlite3 |
| @engram-ai-memory/vis | Browser | React 18+ component — no Node.js runtime required |