Engram logo

Engram

Local-first MCP memory for coding agents with hybrid recall, structured knowledge, graph exploration, and scheduled consolidation.

Install Engram

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "engram-4": {
      "command": "npx",
      "args": [
        "-y",
        "@devinmlowe/engram",
        "mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio engram-4 -- npx -y @devinmlowe/engram mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 16 tools correctly ().

Overview

The Engram MCP server turns conversation history into searchable episodic memories, consolidated knowledge, and graph connections. It runs locally through stdio or an HTTP daemon, stores data in a local SQLite database, and can use configured LLM providers for extraction and nightly dream processing. Reach for it when coding agents need project decisions and prior context beyond ordinary session search. Claude Code, Codex, and Cursor can be registered through the CLI, while a web visualizer exposes the knowledge graph on loopback.

Use cases

  • Recall decisions from earlier coding sessions
  • Index Claude Code conversation history
  • Remember or forget project-specific knowledge
  • Explore relationships in a local knowledge graph
  • Consolidate memories during scheduled dream processing

Key features

  • Hybrid memory recall
  • Remember and forget operations
  • Knowledge graph exploration
  • Nightly dream consolidation
  • Local SQLite storage
  • Claude Code conversation sync

Tools16

What Engram lets your agent do. Expand a tool for its parameters.

Verified live~5.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 60d

What it can do

From the 16 tools this server returned when we ran it; 16 declare their own safety hints.

Can delete or modify data · 1Makes changes · 7Handles credentials · 2Makes network requests · 1Read-only tools · 9
Network at startup3 connections
Files written at startupNone
Install scriptsprepare, postinstall
npm provenanceSigned build
Package age75 days
Maintainers1

Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @devinmlowe/engram (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads243Package downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed16Callable tools this server registers over MCP.

How Engram works

What the Engram MCP server does

The Engram MCP server provides local memory for coding agents. It ingests Claude Code conversation history, turns raw exchanges into structured memories, and supports later recall across sessions. Its model separates episodic memories from semantic knowledge created during consolidation, then uses graph analysis to surface relationships between items.

Engram stores its data in a local SQLite database, with the default location at ~/.local/share/engram. Search and memory operations can work without an LLM provider. LLM access is needed for extraction and dream consolidation, using one of the providers supported by the installed configuration.

A browser-based visualizer is also included. The default visualizer listens on loopback port 3001 and presents the stored knowledge graph.

How it works

Conversation indexing is optional and is supplied by engram sync, which reads Claude Code history from ~/.claude/projects. The resulting material can be searched with hybrid recall rather than treated only as whole-session documents. Memories can also be added, removed, or inspected through the CLI and MCP interface.

Dream processing performs background consolidation of episodic material into semantic knowledge. The setup flow can install a nightly timer for this work. Extraction and consolidation require a reachable LLM tier; the setup and diagnostic commands report which tier responded or why none was available.

The MCP interface can run directly over stdio or through the local HTTP daemon at http://127.0.0.1:9907/mcp. Host registration prefers HTTP when the daemon responds and otherwise configures a stdio bridge. An optional daemon token is referenced through an environment variable rather than written into host configuration.

Setup and configuration

Install the package globally with npm, then run engram setup. The setup command can initialize the database, optionally sync conversations, register available hosts, install the MCP daemon, install the nightly dream timer, install the web visualizer, and perform an extraction check. Individual steps are available through commands such as engram init, engram sync, and engram mcp install claude.

Node.js 22 or newer is required. The first initialization or search downloads model weights, normally into ~/.local/share/engram/models; ENGRAM_MODEL_CACHE_DIR or HF_HOME can change the cache location. Set ENGRAM_RERANK_ENABLED=false to skip the reranker model. The engram doctor and engram doctor --fix commands check or repair the installation, environment file, model cache, daemon, host registration, and extraction setup.

Claude Code can install Engram as a plugin from its marketplace. The repository also documents direct registration for Claude Code, Codex, Cursor, and Hermes, with project-level configuration options for supported hosts.

Tools and capabilities

The Engram MCP server exposes 16 tools when installed as the Claude Code plugin. The available capabilities include:

  • Recalling relevant memories through hybrid search.
  • Remembering new information and forgetting stored items.
  • Exploring the knowledge graph.
  • Supporting reflection and dream-oriented consolidation workflows.
  • Synchronizing Claude Code conversation history.
  • Viewing and managing memories through CLI commands such as engram memories list.

The plugin also adds /engram:recall, /engram:remember, /engram:explore-graph, /engram:reflect, and /engram:engram-connect commands in Claude Code.

Limitations and notes

Engram is local-first, but model downloads can require several hundred megabytes of disk space. The first npm or plugin launch may also be slow while the package and native modules are installed. Without an LLM provider, search, remembering, and the visualizer remain available, but extraction and dream consolidation cannot run.

The supplied sync path targets Claude Code history. Scheduled services depend on the host operating system and are installed through platform-specific mechanisms. The web visualizer and MCP daemon default to loopback addresses, and host configuration changes are backed up when the CLI edits them.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Engram

Engram is an MCP server that connects coding agents to a local memory system built from conversation history. Its main tools support hybrid recall, remembering and forgetting information, knowledge-graph exploration, and reflection or consolidation workflows. It can run over stdio or a local HTTP daemon and supports Claude Code, Codex, and Cursor registration.

Run `npm install -g @devinmlowe/engram`, then run `engram setup`. Setup initializes storage, can sync Claude Code history, registers detected hosts, installs background services, and performs a diagnostic extraction. The repository also supports installation from source and a Claude Code marketplace plugin.

Yes, Engram works with Cursor through `engram mcp install cursor`. The command updates Cursor's MCP configuration, preferring the local HTTP daemon when available and otherwise using the stdio bridge. It keeps a backup of the edited configuration and supports project-level registration.

Yes, search, remembering information, and the web visualizer work without an LLM provider. Extraction and nightly dream consolidation do require a reachable provider. Setup can still install the dream timer and reports a warning if no configured LLM tier is available.

Engram stores its database by default under `~/.local/share/engram`, and model weights under `~/.local/share/engram/models`. `ENGRAM_MODEL_CACHE_DIR` or `HF_HOME` can change the model cache location. The downloaded models persist across reinstalls and upgrades.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewEngram AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/engram-4?style=directory)](https://allmcps.com/mcp/engram-4)
HTML Embed
<a href="https://allmcps.com/mcp/engram-4"><img src="https://allmcps.com/api/badge/engram-4?style=directory" alt="Engram on AllMCPs" /></a>