mcp-memory-service and brain-mcp
These are direct competitors offering overlapping persistent memory solutions for AI agents, with the choice depending on whether you prioritize a framework-agnostic REST API with knowledge graphs (A) or a lightweight MCP-native implementation with faster recall latency (B).
About mcp-memory-service
doobidoo/mcp-memory-service
Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude. REST API + knowledge graph + autonomous consolidation.
Consolidates multi-agent memory using a knowledge graph with typed edges (causes, fixes, contradicts) and autonomous compression, accessible via REST API with ONNX-based embeddings that run locally. Implements Remote MCP support for browser-based claude.ai integration via Server-Sent Events, alongside traditional desktop MCP, with OAuth 2.0 authentication and self-hosted infrastructure (no cloud lock-in). Agent identity is tracked via `X-Agent-ID` headers for scoped retrieval, and conversation threading is preserved through `conversation_id` fields, enabling both shared memory across agent fleets and inter-agent messaging through semantic tag-based filtering.
About brain-mcp
mordechaipotash/brain-mcp
Your AI has amnesia. Persistent memory and cognitive context for AI. 25 MCP tools. 12ms recall.
Implements a progressive capability model—basic keyword search on raw conversations, semantic search with embeddings, and full domain reconstruction with AI-generated summaries—enabling AI assistants to surface cognitive patterns, unfinished threads, and evolved thinking across fragmented conversation histories from multiple tools (Claude, ChatGPT, Cursor). Operates as an MCP server exposing 25 specialized tools including semantic and keyword search, "prosthetic" functions like `tunnel_state` and `context_recovery` for domain re-entry, and analytics for identifying dormant contexts and thinking trajectories without requiring manual tagging.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work