Engram: Open-source memory layer for Claude Code and MCP clients

✍️ OpenClawRadar📅 Published: February 28, 2026🔗 Source
Engram: Open-source memory layer for Claude Code and MCP clients
Ad

What Engram is

Engram is an intelligent memory layer built using Claude Code that functions as an MCP (Model Context Protocol) server compatible with any MCP client. It's free and open-source under the AGPL license.

How it differs from Claude's native auto memory

Anthropic recently launched auto memory for Claude Code, which validates the need for persistent memory in agents. However, Engram offers several key differences:

  • No cap: Stores unlimited memories with semantic vector search (only retrieves relevant content)
  • 96% fewer tokens: Uses approximately 800 tokens per query versus 5K+ for loading an entire markdown file
  • Higher accuracy: Achieves 80% accuracy on the LOCOMO benchmark (standard memory benchmark from Snap Research) versus 29% for flat-file approaches
  • Cross-project: One vault across all projects, not siloed per repository
  • Intelligence layer: Includes automatic extraction, consolidation, contradiction detection, and bi-temporal recall
  • Client compatibility: Works with any MCP client, not locked to Claude Code

Claude's native system writes markdown files with a 200-line cap (approximately 5K tokens loaded every session) and operates per-project without semantic search.

Ad

Technical implementation

Behind the scenes, Engram uses:

  • SQLite + sqlite-vec for vector search
  • Knowledge graph for entity relationships
  • LLM-powered consolidation that produces insights rather than just storage

Core functions

Your agent interacts with Engram through these primary calls:

  • engram_remember: Store memories
  • engram_recall: Retrieve memories

Additional MCP tools

  • engram_ask: Question answering
  • engram_consolidate: Merge related memories
  • engram_audit: Cross-reference external content
  • engram_briefing: Session start context

Getting started

Installation takes about 2 minutes:

npm install -g engram-sdk
engram init

This auto-detects Claude Code and Cursor, writes the MCP configuration, and creates your vault.

Availability

Engram is listed in the official MCP Registry as io.github.tstockham96/engram.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Why a Single run() Tool with Unix Commands Beats Function Calling for AI Agents
Tools

Why a Single run() Tool with Unix Commands Beats Function Calling for AI Agents

A backend lead with two years of agent-building experience argues that a single run(command="...") tool with Unix-style CLI commands outperforms traditional function calling catalogs. The approach leverages LLMs' existing familiarity with shell commands from training data.

OpenClawRadar
OpenClaw-superpowers adds reliability features for operational failure modes
Tools

OpenClaw-superpowers adds reliability features for operational failure modes

The openclaw-superpowers repository has expanded with eight new reliability-focused skills including deployment preflight checks, cron execution proofing, session reset recovery, and MCP auth lifecycle management. These additions bring the total to 60 skills, with 44 being OpenClaw-native and 23 designed for cron scheduling.

OpenClawRadar
Steam City: A 3D Pixel-Art Map of Your Steam Library Built with Claude Code
Tools

Steam City: A 3D Pixel-Art Map of Your Steam Library Built with Claude Code

A developer used Claude Code to build Steam City, a 3D pixel-art visualization of your Steam library. Playtime hours determine building height, unplayed games sit dark. 1,000+ players already.

OpenClawRadar
Two Claude Code Skills for Managing CLAUDE.md Configuration
Tools

Two Claude Code Skills for Managing CLAUDE.md Configuration

A developer built two Claude Code skills to handle CLAUDE.md configuration: /cc-init creates lean configs for new projects, and /cc-optimize analyzes existing projects for bloat and issues. Both aim to reduce context overhead and improve instruction following.

OpenClawRadar