iai-mcp logo
iai-mcp
★ 911
vs
subcog logo
subcog
★ 29

iai-mcp vs subcog

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.; subcog: Subcog is a persistent memory system for AI coding assistants that captures decisions, learnings, and context from coding sessions. It features a single-binary distribution, three-layer storage architecture (SQLite, FTS5, usearch HNSW), MCP server integration, and Claude Code hooks. It achieves high accuracy on factual recall benchmarks.

01

TL;DR

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

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

subcog logo
subcogRAG / Knowledge Base · ★ 29

Capturing and recalling technical decisions during development

02

Side-by-Side Comparison

Field
iai-mcp logoiai-mcp
subcog logosubcog
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 911
★ 29
License
MIT
MIT
Install Command
git clone https://github.com/CodeAbra/iai-mcp.git && cd iai-mcp && bash scripts/install.sh
cargo install subcog
Updated
1d ago
2mo ago
Open Source
Yes
Yes
Tags
ai-agents, ai-memory, claude
ai, ai-assistant, claude
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
subcog logosubcog
01Memory capture with automatic embedding generation (384-dimensional vectors)
02Hybrid search combining BM25 text search and vector similarity (RRF fusion)
03SQLite persistence as single source of truth (ACID-compliant)
04MCP server integration for AI agent interoperability
05Claude Code hooks for seamless IDE integration
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
subcog logosubcog
↳Capturing and recalling technical decisions during development
↳Surfacing relevant past context when working on similar tasks
↳Maintaining persistent memory across coding sessions for AI assistants
05

Best For

iai-mcp logoiai-mcp
Trending
subcog logosubcog
—
FAQ

FAQ

What is the difference between iai-mcp and subcog?
Both iai-mcp and subcog are in the RAG / Knowledge Base category. iai-mcp has 911 stars, while subcog has 29 stars.
Which is better, iai-mcp or subcog?
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 subcog if Capturing and recalling technical decisions during development.
Is iai-mcp free or open source?
Yes, iai-mcp is open source on GitHub (MIT).
Is subcog free or open source?
Yes, subcog is open source on GitHub (MIT).
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