MCP Server Adds Persistent Memory with Retrieval Scoring to Claude Code

Solving Claude Code's Memory Problem
The developer identified that Claude Code's biggest limitation as an autonomous agent isn't prompting or tool use—it's memory. While CLAUDE.md and /memory help within a project, they don't solve cross-session or cross-project memory issues. Knowledge gained in project A isn't available in project B.
Core Insight: Not All Memories Are Equal
The system implements retrieval scoring where:
- Facts that lead to successful outcomes score up
- Facts that lead to failures score down
- Stale facts that haven't been accessed decay naturally
- No manual curation needed—scoring is automatic
In practice, about 80% of stored facts are never retrieved again, with the scoring system surfacing the 20% that actually matter.
Drift Detection for Knowledge Decay
The system addresses knowledge decay where agents confidently use outdated information. Drift detection flags facts likely outdated based on age and domain volatility. Different types of information have different decay rates:
- API endpoints go stale in days
- Design decisions remain valid for months
- Config values decay faster than architectural decisions
Setup and Implementation
The solution is implemented as an MCP server. Setup takes about 30 seconds:
npx engram-mcpOnce added to Claude Code config, Claude Code can store facts, retrieve scored results, and check for drift through normal MCP tool calls.
Pricing and Availability
The free tier provides 1 agent with 10,000 facts. The pro version costs $29/month for unlimited usage. The npm package is engram-mcp, and the site is engram.cipherbuilds.ai.
📖 Read the full source: r/ClaudeAI
👀 See Also

PRECC Tool Cuts Claude Code API Costs with Pre-Tool-Call Compression
A developer built PRECC, an open source tool that intercepts Claude Code tool calls and compresses payloads using RTK (Redundancy-aware Token Kompression), reducing input tokens by 40-66% with no perceptible latency impact.

mnemos: A Persistent Memory Layer for AI Coding Agents (Go, MCP-Native, No Python)
mnemos is a Go-based MCP-native memory layer for AI coding agents. The author built a verifier to measure lift: +40% aggregate on read-side scenarios, but only 53% write-side capture rate after iterative fixes.

Memctl: Open Source MCP Server for Persistent Memory in AI Coding Agents
Memctl is an open source MCP server that provides AI coding agents with persistent memory across sessions, machines, and IDEs. Built primarily with Claude Code in two weeks, it stores project context and serves it back in subsequent sessions.

Claude Workflow Library: 10 Complete AI Workflows for Non-Technical Users
A free GitHub repository provides 10 complete AI workflows for Claude users without technical backgrounds, including study, research, writing, business, content creation, decision making, learning, job search, productivity, and life planning systems.