Enterprise DNA
M MCP Servers Developer low

20alexl/claude-engram

by Various

Persistent memory and session intelligence for AI coding assistants. Auto-tracks mistakes, decisions, and context via hooks. Mines your full session history for patterns, predictio

2

MCP

20alexl/claude-engram

Added 1 June 2026

#claude #claude-code #developer-tool #hooks #mcp-server #model-control-protocol #obsisidan #ollama

Overview

Claude-Engram is a Python tool that provides persistent memory for AI coding assistants by hooking into sessions to automatically track mistakes, decisions, and context. It mines full session history to surface patterns, predictions, and enable cross-session search.

Best for

Best for
Developers who want persistent context and history search for AI coding assistants

Use cases

  • Track recurring coding errors across multiple AI-assisted sessions
  • Recall past design decisions without repeating them
  • Search through previous assistant interactions for relevant context

How to use

Install

pip install -e .                # Core

Tools exposed

  • CLAUDE_ENGRAM_MODEL
  • CLAUDE_ENGRAM_EMBED_MODEL
  • CLAUDE_ENGRAM_EMBED_DIM
  • CLAUDE_ENGRAM_DEVICE
  • CLAUDE_ENGRAM_GPU_BULK_MIN
  • CLAUDE_ENGRAM_LIVE_MINE
  • CLAUDE_ENGRAM_ARCHIVE_DAYS
  • CLAUDE_ENGRAM_SCORER_TIMEOUT
  • CLAUDE_ENGRAM_DIR
  • CLAUDE_ENGRAM_SESSION_RETENTION_DAYS
  • CLAUDE_ENGRAM_LAST_FILE_PATH
  • CLAUDE_ENGRAM_HOOK_DEBUG

Tested with

Claude Code, Cursor, Windsurf, Continue, VS Code

Notes

Claude-Engram is a Python tool that provides persistent memory for AI coding assistants by hooking into sessions to automatically track mistakes, decisions, and context. It mines full session history to surface patterns, predictions, and enable cross-session search.

15 stars on GitHub. Last updated 2026-05-29. Licensed MIT.

Use cases

  • Track recurring coding errors across multiple AI-assisted sessions
  • Recall past design decisions without repeating them
  • Search through previous assistant interactions for relevant context

Pros

  • Automatically captures session context without manual logging
  • Supports cross-session search, making history reusable
  • Lightweight hook-based integration with existing workflows

Cons

  • Small community and limited support due to only 15 stars
  • Requires manual set up of hooks into coding assistant sessions
  • Scope is limited to coding assistant interactions, not general memory

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Automatically captures session context without manual logging
  • Supports cross-session search, making history reusable
  • Lightweight hook-based integration with existing workflows

Cons

  • Small community and limited support due to only 15 stars
  • Requires manual set up of hooks into coding assistant sessions
  • Scope is limited to coding assistant interactions, not general memory
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks