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

✍️ OpenClawRadar📅 Published: May 7, 2026🔗 Source
iai-mcp: Local daemon gives Claude persistent memory across sessions with 99% recall
Ad

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.

Ad

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

Ad

👀 See Also