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

OpenClaw skill adds AI image generation with local ComfyUI support and curated prompts
A new OpenClaw skill provides AI image generation capabilities directly in the terminal, featuring 1,300+ curated prompts, local ComfyUI integration, and prompt enhancement workflows.
MathCode: A Mathematical Coding Agent with Lean 4 Formalization
MathCode is a terminal AI coding assistant that converts plain-language math problems into Lean 4 theorems and attempts formal proofs, with a persistent REPL, reusable libraries, and an Obsidian knowledge graph.

Open Source Knowledge Base Server and Multi-Agent Orchestrator for Persistent AI Memory
A developer built a custom MCP server on a private VPS to give Claude, Codex, and Gemini persistent memory across sessions, with a knowledge base server that ingests Obsidian vaults and a multi-agent orchestrator called Daniel for failover.

PocketBot: A Local AI Autopilot for iOS Using App Intents and On-Device Inference
PocketBot is an iOS app that runs a quantized 3B Llama model locally on iPhone's Neural Engine via Metal, using Apple's AppIntents and CoreLocation frameworks to create event-driven automations without cloud data transmission.