Knowledge & Memoryβ€’ MCP Alternatives Guide

Best Alternatives to Mem0 MCP Selfhosted

Looking for an alternative to Mem0 MCP Selfhosted? Whether you need a different runtime environment, custom authentication support, or alternative API integrations in the Knowledge & Memory ecosystem, we have cataloged and compared the top alternative MCP servers below.

Browse all Knowledge & Memory servers β†’View Mem0 MCP Selfhosted Specs β†’
Mem0 MCP Selfhosted logo
Target Reference Server

Mem0 MCP Selfhosted Overview

The elvismdev/mem0-mcp-selfhosted MCP server provides persistent memory management through Qdrant vector search, optional Neo4j relationships, and Ollama embeddings. It exposes 11 MCP tools for storing, searching, updating, deleting, and inspecting memories and graph entities. Anthropic via Claude Code OAT tokens or a fully local Ollama model can handle memory fact extraction, while session hooks inject memories at startup and save summaries at shutdown. Reach for it when an agent needs self-hosted cross-session context rather than an external memory service.

Primary Use Cases for Mem0 MCP Selfhosted:
  • Persist project conventions across Claude Code sessions
  • Search prior conversations for relevant development context
  • Build entity relationships alongside semantic memories
  • Run memory extraction entirely with local Ollama models

Specification Matrix: Mem0 MCP Selfhosted vs Alternatives

Direct comparison of key metrics, runtimes, authentication methods, and community popularity.

Server NameRuntimeAuthPricingGitHub StarsDownloadsAction
Mem0 MCP Selfhosted logoMem0 MCP Selfhosted (Target)
uvxOtherFree112β€”Current
Telemem logoTelememuvxβ€”β€”496β€”
Moxie Docs MCP logoMoxie Docs MCPnpxOAuthFreemium225
Codebase Memory MCP logoCodebase Memory MCPnpxNo auth requiredFree49,3881
Shodh Memory logoShodh MemorynpxNo auth requiredFree326β€”
Hindsight logoHindsightnpxAPI keyFree64,269β€”
ContextStream MCP Server logoContextStream MCP ServernpxAPI keyFreemium49β€”
Akb logoAkbnpxAPI keyFree169β€”
Knowledge Rag logoKnowledge RagnpxNo auth requiredFree306β€”
Basic Memory logoBasic MemoryuvxNo auth requiredFreemium4,792β€”
MCP Memory Server logoMCP Memory ServernpxOAuthFreemium30β€”
Deja Vu logoDeja VunpxNo auth requiredFree1,708β€”
Agentcairn logoAgentcairnuvxNo auth requiredFree79β€”

Detailed Evaluation of Mem0 MCP Selfhosted Alternatives

Telemem logo

Telemem

Runtime: uvxKnowledge & Memory

Adds scoped, local long-term memory to MCP clients with semantic search, memory updates, history, and deletion tools.

Key Features:
Scoped long-term memory for users, agents, and runs
Semantic search with fused related memories
Character-aware memory profiles
6 0 496
Moxie Docs MCP logo

Moxie Docs MCP

Runtime: npxKnowledge & Memory
Official

Ground coding agents in repository conventions, API context, documentation gaps, and proposed doc changes.

Key Features:
Pre-edit repository briefings
Convention discovery with citations
Documentation impact analysis
61 25 2
Codebase Memory MCP logo

Codebase Memory MCP

Runtime: npxKnowledge & Memory

Indexes local repositories into a persistent code graph for symbol search, call tracing, architecture analysis, and change impact queries.

Key Features:
Persistent local knowledge graph
Symbol, text, regex, and semantic search
Read-only Cypher graph queries
19 1 49,388
Shodh Memory logo

Shodh Memory

Runtime: npxKnowledge & Memory

Offline MCP memory and task management with semantic recall, knowledge graphs, reminders, and local backups.

Key Features:
Local semantic and graph-based memory recall
Hebbian strengthening and activation decay
Persistent reminders and GTD-style todos
9 0 326
Hindsight logo

Hindsight

Runtime: npxKnowledge & Memory

Stores, searches, and synthesizes long-term agent memory through retain, recall, and reflect operations.

Key Features:
Retain, recall, and reflect operations
Memory banks for organized persistence
Docker, pip, Helm, and hosted deployment options
37 0 64,269
ContextStream MCP Server logo

ContextStream MCP Server

Runtime: npxKnowledge & Memory

Persistent workspace memory with semantic code search, session recall, knowledge graphs, and cited answers over MCP.

Key Features:
Semantic, hybrid, keyword, and pattern-based search
Persistent decisions, documents, tasks, and session memory
Dependency graphs and impact analysis
4 0 49
Akb logo

Akb

Runtime: npxKnowledge & Memory

Permissioned MCP knowledge base for Markdown, tables, files, hybrid search, revisions, and URI-linked organizational memory.

Key Features:
Vault-scoped Markdown documents, tables, and files
Hybrid dense and BM25 search with section retrieval
PostgreSQL-native revisions and Git-backed history
13 0 169
Knowledge Rag logo

Knowledge Rag

Runtime: npxKnowledge & Memory

Offline local RAG with hybrid BM25 and semantic search, reranking, document management, and MCP tools.

Key Features:
Hybrid BM25 and semantic retrieval
Cross-encoder result reranking
Markdown-aware and format-aware chunking
16 0 306
Basic Memory logo

Basic Memory

Runtime: uvxKnowledge & Memory

Local-first Markdown knowledge graph with MCP tools for reading, writing, searching, and organizing persistent AI memory.

Key Features:
Plain Markdown storage
Semantic and hybrid search
Knowledge graph with wikilinks
9 0 4,792
MCP Memory Server logo

MCP Memory Server

Runtime: npxKnowledge & Memory

Hosted cross-client memory with semantic recall, feedback-based ranking, shared rooms, recent-memory listing, and secret-alias lookup.

Key Features:
Cross-client hosted long-term memory
Semantic recall with recency ordering
Feedback-based retrieval ranking
18 0 30
Deja Vu logo

Deja Vu

Runtime: npxKnowledge & Memory

Indexes local coding-agent transcripts and recalls relevant decisions through MCP, hooks, terminal search, and optional SSH sync.

Key Features:
Local lexical indexing of coding-agent session histories
MCP recall and automatic hook-based context injection
Credential redaction during indexing
21 0 1,708
Agentcairn logo

Agentcairn

Runtime: uvxKnowledge & Memory

Local-first shared memory for coding agents, using Markdown as the source of truth and DuckDB for hybrid retrieval.

Key Features:
Markdown vault as the canonical memory store
Rebuildable DuckDB retrieval cache
Hybrid BM25 and vector recall with graph context
12 0 79

Frequently Asked Questions: Mem0 MCP Selfhosted Alternatives

The top-rated alternatives to Mem0 MCP Selfhosted in the Knowledge & Memory category include Telemem, Moxie Docs MCP, Codebase Memory MCP. These servers offer complementary or alternative capabilities depending on your deployment stack and authentication requirements.

Mem0 MCP Selfhosted and its alternatives vary by runtime requirement (Node.js/npx, Python/uvx, Docker, or remote HTTP/SSE endpoints). Check the specification comparison table above to verify command requirements before installing.

It varies by server. Pricing, auth and license are declared by each maintainer and shown in the comparison table where provided β€” a dash means nothing was declared, so check that project's own site before assuming it's free.

Click the "Compare side-by-side β†’" button on any alternative card to see an in-depth comparison matrix covering feature lists, stars, npm downloads, install configurations, and schema specifications.