Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🧠 Knowledge & Memory
  3. Mem0 MCP Selfhosted
Mem0 MCP Selfhosted logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 11:33:15 AM

Mem0 MCP Selfhosted

User RatingsBe the first to rate and review this MCP server!
View Repository107 GitHub StarsTotal stargazers on GitHub for the source repository (107 stars).Visit Website
memoryqdrantneo4jollamadeveloper-tools

Self-hosted memory MCP server using Qdrant, Neo4j, Ollama, and optional Anthropic models for persistent agent context.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "elvismdev-mem0-mcp-selfhosted": {
      "command": "uvx",
      "args": [
        "--from"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (11) Directory Badge Claim listing Alternatives🧠 More in Knowledge & Memory

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.

Use cases

β€’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

Key features

β€’Qdrant-backed semantic memory search
β€’Optional Neo4j entity relationships
β€’Ollama bge-m3 embeddings
β€’Anthropic or fully local Ollama model support
β€’Claude Code session-start and session-stop hooks
β€’11 memory and graph management tools

Capabilities & Tool Schemas (11) ~201 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server β€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Mem0 MCP Selfhosted.

add_memory

Store text or conversation history as memories. Supports `enable_graph`, `infer`, `metadata`.

search_memories

Semantic search with optional `filters`, `threshold`, `rerank`, `enable_graph`.

get_memories

List/filter memories (non-search). Supports `limit` and scope filters.

get_memory

Fetch a single memory by UUID.

update_memory

Replace memory text. Re-embeds and re-indexes in Qdrant.

delete_memory

Delete a single memory by UUID.

How Mem0 MCP Selfhosted works

What elvismdev/mem0-mcp-selfhosted MCP server does

The elvismdev/mem0-mcp-selfhosted MCP server adds persistent memory to MCP-compatible agent workflows. It stores semantic memories in Qdrant, uses Ollama with the bge-m3 model to create embeddings, and can maintain entity relationships in Neo4j 5 or later. Neo4j is optional; Qdrant and Ollama are required.

The server supports two main model arrangements. The default uses Claude through a Claude Code session token for fact extraction. Setting MEM0_PROVIDER=ollama switches the main and graph language-model providers to Ollama, allowing a fully local deployment. Google credentials are only needed when using the gemini or gemini_split graph providers.

How it works

Memory records can be added from plain text or conversation history. The server can infer facts, attach metadata, and optionally update the knowledge graph. Semantic searches use Qdrant and support filters, score thresholds, reranking, and graph participation. Non-semantic listing and scope filtering are available separately.

Graph queries search Neo4j entities by name substring or return an entity’s incoming and outgoing relationships. Entity deletion cascades to its associated memories. Updating a memory replaces its text and rebuilds its Qdrant index entry.

The elvismdev/mem0-mcp-selfhosted MCP server also includes Claude Code session hooks. A startup hook searches for project context and recent session summaries, then returns the results as additional context. A stop hook reads a bounded portion of the transcript, creates a summary through memory inference, and saves it. Hook failures are non-fatal, so Claude Code can continue if the memory services are unavailable.

Setup and configuration

Run the server with Python 3.10 or newer and uv. Start Qdrant locally on its default port, 6333, and Ollama on its default port, 11434, with the bge-m3 embedding model available. The documented Claude Code setup launches the project through uvx from its Git repository. Set MEM0_USER_ID to identify the memory scope.

For a local-only deployment, configure MEM0_PROVIDER=ollama and choose an Ollama model with MEM0_LLM_MODEL, such as qwen3:14b. Service-specific settings such as MEM0_LLM_URL and MEM0_EMBED_URL can override the default endpoints. Anthropic deployments can use MEM0_ANTHROPIC_TOKEN, the Claude Code credentials file, or ANTHROPIC_API_KEY, in that priority order. The server can refresh supported Claude Code OAT tokens before expiry.

The included mem0-install-hooks command installs project or global Claude Code hook entries. A CLAUDE.md file can additionally instruct the agent to search and save memories during normal work, complementing the boundary hooks.

Tools and capabilities

The elvismdev/mem0-mcp-selfhosted MCP server exposes these tool groups:

  • Add and search memories, with inference, metadata, filters, thresholds, reranking, and optional graph use.
  • List, retrieve, update, delete, or bulk-delete memories by scope or UUID.
  • List users, agents, and runs with memory counts through Qdrant facets.
  • Delete entities together with their related memories.
  • Search graph entities and retrieve bidirectional relationships.

Limitations and notes

This setup depends on self-hosted Qdrant and Ollama, and graph features additionally depend on Neo4j. Anthropic use may involve Claude subscription OAT authentication or pay-per-use API billing; the Ollama configuration avoids that cloud dependency. The documented client integration targets Claude Code, including its session hooks and CLAUDE.md instructions. Graph processing is disabled by the session hooks to remain within their stated timeout budgets.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    β˜… Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    🧠 Knowledge & Memory21 views
    Compare vs Moxie Docs MCP β†’
  • Codebase Memory MCP logoCodebase Memory MCP

    Code-intelligence engine that indexes a repo into a persistent knowledge graph β€” functions, classes, call chains, HTTP routes, cross-service links. 159 languages via tree-sitter + Hybrid LSP, sub-ms structural queries, 99% fewer tokens than grep. Single static binary, zero dependencies, 100% local. npx codebase-memory-mcp

    🧠 Knowledge & Memory7 views
    Compare vs Codebase Memory MCP β†’
  • Scrivener MCP logoScrivener MCP

    Connect Scrivener 3 writing projects to Claude and other AI assistants. 47 tools for document management, writing analysis, semantic search, character/plot memory, and content enhancement. Progressive skill loading, relationship engine with HMS triplets, and JS fallback for offline semantic search. npm i -g scrivener-mcp

    🧠 Knowledge & Memory16 views
    Compare vs Scrivener MCP β†’
  • Prism MCP logoPrism MCP

    Zero-config persistent memory for AI agents with local SQLite. Mind Palace web dashboard, time travel (rewind/replay sessions), agent telepathy (cross-client memory sharing), code mode templates, morning briefings, and progressive context loading. 25 tools, 6 resources, 4 prompts.

    🧠 Knowledge & Memory3 views
    Compare vs Prism MCP β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
107
Stargazers on the source repository.
Last commit
6mo ago
Most recent push to the default branch.
Tools exposed
11
Callable tools this server registers over MCP.
Directory activity
3 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Mem0 MCP Selfhosted

Run it through uvx from the Git repository: `uvx --from git+https://github.com/elvismdev/mem0-mcp-selfhosted.git mem0-mcp-selfhosted`. The documented Claude Code setup also provides `MEM0_USER_ID`.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMem0 MCP Selfhosted AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/elvismdev-mem0-mcp-selfhosted?style=directory)](https://allmcps.com/mcp/elvismdev-mem0-mcp-selfhosted)
HTML Embed
<a href="https://allmcps.com/mcp/elvismdev-mem0-mcp-selfhosted"><img src="https://allmcps.com/api/badge/elvismdev-mem0-mcp-selfhosted?style=directory" alt="Mem0 MCP Selfhosted on AllMCPs" /></a>

Technical Specs & Signals

Category🧠Knowledge & Memory
PricingFree
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimePython
AuthOther
ClientsClaude Desktop
Last updatedSep 7, 2026
Views3
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars107
GitHub Star CountTotal stargazers on GitHub representing community popularity (107 stars).
Last commit6mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Mar 13, 2026
57Quality signal: Good Β· 57/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools29/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 21d ago via OSV.dev Β· --from (PyPI)

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🧠 Knowledge & Memory β†’Best MCP servers for Memory & Knowledge β†’Alternatives to Mem0 MCP Selfhosted β†’Install in Claude DesktopInstall in CursorInstall in VS Code