iai-mcp: A local daemon for persistent OpenClaw memory across sessions

✍️ OpenClawRadar📅 Published: May 7, 2026🔗 Source
iai-mcp: A local daemon for persistent OpenClaw memory across sessions
Ad

The recurring pain of starting a fresh OpenClaw session with zero context prompted one developer to build iai-mcp — a local daemon that persists conversation memory across sessions. Five months of daily use later, it's been open-sourced under MIT license.

How it works

  • Three memory tiers: organizes captured conversations by recency and relevance, consolidating in the background when the machine is idle.
  • Local neural embeddings: all processing happens on-device; no data sent externally.
  • AES-256 encryption: data at rest is encrypted.
  • Automatic context injection: on new session start, the relevant memory is fed as context — no need to manually ask OpenClaw to remember anything.
Ad

Performance numbers

  • Verbatim recall above 99%
  • Retrieval latency under 100ms
  • Session-start token cost under 3,000 tokens

Real usage

The author has been running iai-mcp since January and reports that the system has learned coding style, project structures, and preferences without explicit instructions. The repository includes a benchmark harness to verify the numbers yourself.

Repository: https://github.com/CodeAbra/iai-mcp

📖 Read the full source: r/clawdbot

Ad

👀 See Also

Real Cost of AI Coding Tools: 42 Hours of Overhead per 60 Days — A Solo Dev's Detailed Breakdown
Tools

Real Cost of AI Coding Tools: 42 Hours of Overhead per 60 Days — A Solo Dev's Detailed Breakdown

A solo dev tracked every dollar and minute spent on AI coding tools for 60 days. Subscriptions ($200/mo) were the smallest cost; 42 hours of overhead from bad output and tool-switching were the real tax. Net productivity gain was 1.7-2x, not 10x. Surprise: CodeRabbit, a $15/mo review tool, had the highest ROI.

OpenClawRadar
altRAG: Replace Vector DB RAG with 2KB Pointer Files for AI Coding Agents
Tools

altRAG: Replace Vector DB RAG with 2KB Pointer Files for AI Coding Agents

altRAG is a Python tool that replaces vector database RAG with lightweight pointer files. It scans Markdown/YAML skill files to create a 2KB skeleton file mapping sections to exact line numbers and byte offsets, allowing AI agents to read only needed sections instead of entire files.

OpenClawRadar
TeamHero v2.6.1: Open-Source Platform for Managing Claude AI Agents
Tools

TeamHero v2.6.1: Open-Source Platform for Managing Claude AI Agents

TeamHero v2.6.1 is a local-first, open-source platform that creates a managed team of Claude agents with features like autopilot mode, subtask nesting, flow views, and persistent memory. The tool runs on Node.js with a vanilla HTML/CSS/JS dashboard and requires no database.

OpenClawRadar
Spectr: An MCP That Writes App Specs from Screen Recordings for Pixel-Perfect Claude Clones
Tools

Spectr: An MCP That Writes App Specs from Screen Recordings for Pixel-Perfect Claude Clones

Spectr is an MCP server, CLI, and Claude Code skill that takes an .mp4/.mov screen recording of an iOS app and generates a 7-section spec.md with hex codes, font weights, spacing, transitions, and nav graph — eliminating the 30-minute manual spec writing per screen.

OpenClawRadar