iai-mcp logo
iai-mcp
★ 911
vs
m3-memory logo
m3-memory
★ 29

iai-mcp vs m3-memory

iai-mcp: IAI-MCP is a local memory layer for MCP-compatible AI assistants. It captures every conversation turn verbatim, organizes them over time, and serves relevant memories at the start of new sessions. All data is encrypted locally with AES-256-GCM and never leaves your machine.; m3-memory: M3 Memory provides persistent, local memory for MCP agents using SQLite, hybrid retrieval, and optional cross-device sync. It stores facts, decisions, and preferences across sessions, with contradiction handling and knowledge graph features. It works offline and integrates with Claude Code, Gemini CLI, and other MCP-compatible agents.

01

TL;DR

iai-mcp logo
iai-mcpRAG / Knowledge Base · ★ 911

Provide long-term memory for Claude Code, Codex CLI, and other MCP assistants

m3-memory logo
m3-memoryRAG / Knowledge Base · ★ 29

Coding agents like Claude Code or Gemini CLI need persistent memory across sessions

02

Side-by-Side Comparison

Field
iai-mcp logoiai-mcp
m3-memory logom3-memory
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 911
★ 29
License
MIT
Apache-2.0
Install Command
git clone https://github.com/CodeAbra/iai-mcp.git && cd iai-mcp && bash scripts/install.sh
curl -fsSL https://raw.githubusercontent.com/skynetcmd/m3-memory/main/install.sh | bash
Updated
1d ago
4d ago
Open Source
Yes
Yes
Tags
ai-agents, ai-memory, claude
agentic-memory, ai-agents, ai-memory
03

Features

iai-mcp logoiai-mcp
01Ambient capture of all conversation turns with timestamps and metadata
02Automatic recall of relevant memories at session start
03Fully local, no telemetry or cloud dependency
04Encrypted at rest with AES-256-GCM
05Verbatim recall >=99% at 10k episodes
m3-memory logom3-memory
01Persistent memory across sessions
02Hybrid retrieval (FTS5 + vector + MMR)
03Contradiction detection and automatic supersession
04Knowledge graph with entity extraction
05Optional cross-device bi-directional sync
04

Use Cases

iai-mcp logoiai-mcp
↳Provide long-term memory for Claude Code, Codex CLI, and other MCP assistants
↳Eliminate the need to repeat context across sessions
↳Personalize AI assistant behavior over time based on past interactions
m3-memory logom3-memory
↳Coding agents like Claude Code or Gemini CLI need persistent memory across sessions
↳Multi-agent teams sharing a local memory store with handoffs and scoping
↳Developers requiring local-first memory with optional sync across devices
05

Best For

iai-mcp logoiai-mcp
Trending
m3-memory logom3-memory
—
FAQ

FAQ

What is the difference between iai-mcp and m3-memory?
Both iai-mcp and m3-memory are in the RAG / Knowledge Base category. iai-mcp has 911 stars, while m3-memory has 29 stars.
Which is better, iai-mcp or m3-memory?
The best choice depends on your use case. Choose iai-mcp if Provide long-term memory for Claude Code, Codex CLI, and other MCP assistants, and m3-memory if Coding agents like Claude Code or Gemini CLI need persistent memory across sessions.
Is iai-mcp free or open source?
Yes, iai-mcp is open source on GitHub (MIT).
Is m3-memory free or open source?
Yes, m3-memory is open source on GitHub (Apache-2.0).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related