iai-mcp: Local daemon gives Claude persistent memory across sessions with 99% recall

A Reddit user shared iai-mcp, a local daemon they built to solve Claude's session amnesia. Since January, they've used it daily with Claude Code, and now it's open-source under MIT license.
How it works
iai-mcp captures every conversation, organizes it into three memory tiers, and feeds the right context back when you start a new session. No manual "remember this" prompts, no copy-pasting. The daemon runs locally, stores everything verbatim, runs neural embeddings locally, and encrypts at rest with AES-256. Memory consolidation happens in the background while your machine is idle.
Performance benchmarks
- Verbatim recall: above 99%
- Retrieval latency: under 100ms
- Session-start cost: under 3,000 tokens
The author reports that after five months of daily use, the system has learned their coding style, project structures, and preferences without any explicit instruction.
Get it
Source code and setup instructions are on GitHub: github.com/CodeAbra/iai-mcp. MIT licensed. Benchmark harnesses included so you can verify the numbers yourself.
If you've been annoyed by Claude forgetting context between sessions, this is worth a look. It's a single-purpose local daemon — no cloud dependencies, no API keys beyond what you already have.
📖 Read the full source: r/ClaudeAI
👀 See Also

RepoLens: Interactive Local Codebase Packer and Token Optimizer (TUI/CLI) in Go
RepoLens is a zero-dependency Go tool that packs repos into LLM context with a TUI file explorer, live token counter, comment stripping, secret scanner, and token-based file splitting.

Wolfram Tech Now Available as Foundation Tool for LLM Systems
Stephen Wolfram announces Wolfram Language is now available as a foundation tool for LLM systems, providing deep computation and precise knowledge to supplement LLM capabilities. The announcement follows three years of development since the initial Wolfram plugin for ChatGPT was released in March 2023.

Grape Root Tool Reduces Claude Code Token Usage by Caching Repository Context
A free experimental tool called Grape Root addresses redundant token consumption in Claude Code by maintaining lightweight state about previously explored repository files, preventing unnecessary re-reads of unchanged files during follow-up prompts.

Testreel: Programmatic Demo Video Generation with Claude Code
Testreel is an npm package that generates polished product demo videos from JSON, YAML, or Playwright interaction descriptions. It creates webm/mp4/gif videos with cursor overlays, click ripples, and gradient backgrounds.