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

Claude Code v2.1.76 System Prompt Updates: Security Monitor Refinements and New Hook Event
Tools

Claude Code v2.1.76 System Prompt Updates: Security Monitor Refinements and New Hook Event

Claude Code v2.1.76 includes updates to system prompts with 43 new tokens, featuring refinements to the security monitor for autonomous agents and the addition of a PostCompact hook event. Changes include clarified sensitive data detection, expanded code deserialization examples, and improved formatting for irreversible local destruction guidance.

OpenClawRadar
Open Source MCP Server Connects Claude to Mailchimp API
Tools

Open Source MCP Server Connects Claude to Mailchimp API

A developer built a Mailchimp MCP server using Claude Code, providing 53 tools for campaigns, audiences, reports, automations, and e-commerce with built-in safety modes and read-only configuration.

OpenClawRadar
ClawHost Open-Source OpenClaw One-Click Deploy Hits 200+ GitHub Stars
Tools

ClawHost Open-Source OpenClaw One-Click Deploy Hits 200+ GitHub Stars

ClawHost, an open-source tool for one-click OpenClaw installation with full server access and control, has reached 200+ GitHub stars. The project addresses issues with unstable commercial wrappers by providing a free, self-hostable solution.

OpenClawRadar
Brain: A Persistent Error Memory System for Claude Code via MCP
Tools

Brain: A Persistent Error Memory System for Claude Code via MCP

Brain is an open-source MCP server that gives Claude Code persistent, cross-project memory for errors and solutions. It captures error context, suggests proven fixes with confidence scores, and builds a weighted synapse network connecting errors, solutions, and code modules across all projects.

OpenClawRadar