← Back to Leaderboard
Mdoobidoo

doobidoo/mcp-memory-service

A self-hosted MCP and REST memory layer for agents that need context across sessions.

View on GitHub ↗
Engineering Health (Methodology)
A+ · 96/100
Maintenance Activity
● Updated today
Latest Release
v13.2.1
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption21/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedLocal AIMCPCLIAPI
Total Stars
★ 2,182
24h Growth
+2
7d Growth
+19
Forks
446

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

doobidoo/mcp-memory-service Star History (2024-12-25 - 2026-12-04) ALL-TIME STAR HISTORY (2024-12 – 2026-12) +2.2k in 709d · avg +3/day 2.3k 1.2k 0 2024-12-25: ★ 12025-02-08: ★ 192025-03-29: ★ 902025-05-17: ★ 2792025-07-05: ★ 4182025-08-23: ★ 5852025-10-11: ★ 7242025-11-29: ★ 8482026-01-17: ★ 1,1212026-03-07: ★ 1,4172026-04-25: ★ 1,6862026-06-13: ★ 1,8722026-08-01: ★ 1,8722026-09-19: ★ 1,9312026-11-02: ★ 2,0552026-12-04: ★ 2,182 ★ 2.2k 2024-12 2025-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

MCP Memory Service is a Python 3.11+ memory backend, not an agent orchestrator. One deployment serves MCP clients and framework-agnostic REST callers against the same memory store, with a CLI and web dashboard alongside those interfaces. HTTP callers can write to POST /api/memories and query POST /api/search; clients can subscribe to SSE notifications when memories are stored or deleted. The package builds with Hatchling, and the checkout includes run_server.py, src/, and tests/.

For local operation, the SQLite extra supplies ONNX embeddings and pairs them with SQLite storage. The backend choice changes where data lives: Cloudflare supports cross-device use, Milvus provides a dedicated vector database option, and Hybrid combines local reads with background sync to Cloudflare or another service instance over HTTP. Above storage, the service provides a typed knowledge graph and scheduled consolidation, so clients need not implement those memory workflows themselves.

Key Capabilities & Differentiators

Retrieval combines semantic search with BM25. mode="ranked" can factor in recency, access frequency, and quality; an optional fallback cascade tries exact and tag matches when semantic results are sparse. Queries can filter by tag, time range, and store partition. X-Agent-ID adds a write-time agent tag for later filtering, while conversation_id bypasses deduplication for incremental conversation writes. Ingestion chunks PDF, plain text, and Markdown; DOCX and PPTX need optional parsers.

Session hooks can recall context and capture decisions from supported clients. Consolidation clusters and compresses memories and discovers associations. The graph can represent relations such as causes, fixes, and contradicts; heuristic supersession hides older memories from default retrieval without deleting them. Query-aware summaries require an enabled feature and configured LLM provider and fall back to raw results when unavailable. Quality scoring can use an OpenAI-compatible endpoint such as Ollama, LiteLLM, or vLLM.

Trade-offs & Limitations

Compared with assembling a standalone vector database and application-side glue, this service packages capture, scoped retrieval, consolidation, and graph inspection behind one API surface. That is useful when multiple agent frameworks or chat clients share the same context. If the application only needs a vector index and already controls the memory lifecycle, the extra hooks, ranking modes, and consolidation policies add configuration without necessarily improving retrieval. Mem0 exports can be converted, but import compatibility does not establish equivalent ranking or memory behavior.

SQLite is the simplest local option; use Hybrid when local reads and cross-host sharing both matter, and plan to observe sync lag and test recovery when a secondary is unavailable. Tags and store partitions are retrieval controls, not evidence of tenant isolation; bootstrap profiles explicitly are not project-isolated. Local ONNX avoids a hosted embedding dependency, but optional provider-backed features and sync can move data outside the host. The project has a single maintainer, so pin versions and exercise migrations before rolling out upgrades.

Hardware & Deployment Guide

For a workstation, install mcp-memory-service[sqlite] under Python 3.11+ with pip or as an isolated uv tool. Use memory server for local MCP, or memory launch for a background HTTP service on 127.0.0.1:8000; memory info and memory logs are available for basic operations. Docker is the preferred path for long-lived instances. Persist storage outside the container and test restoration from the supported database backups. For remote MCP, configure HTTPS and OAuth rather than exposing the anonymous development setup.

Size against the embedding model, ingestion volume, corpus and index size, concurrent requests, and consolidation schedule; there is no specified VRAM target. Account separately for an LLM endpoint if you enable summaries or model-based scoring. Delta-sync is off by default. Release v13.2.0 added peer TLS options for delta-sync, fixed Claude Code hooks and scoring of queries with no text, and removed fail-closed store guards. Before upgrading, test failed or unavailable store paths as well as normal writes and peer sync.

Integration: MCP tools and framework-agnostic REST share one persistent memory service; live API reference is at /api/docs.
Retrieval: Vector search and BM25, with optional ranking by recency, access frequency, and quality.
Conversation capture: X-Agent-ID adds an agent tag; conversation_id bypasses deduplication for incremental writes.
Knowledge lifecycle: Scheduled consolidation and typed graph edges; superseded memories remain available for explicit lookup.
Backend choice: Local SQLite, Cloudflare, Milvus, or Hybrid with Cloudflare or an HTTP peer as the secondary.
Operations: SSE notifications for stores and deletes, JSON import/export, and scheduled or API-triggered database backups.
Best For

A team running coding assistants or LangGraph, CrewAI, or AutoGen agents that need to recall shared decisions across runs, with local embeddings and control over where memory is stored.

Skip If

You only need a vector index, or you require verified tenant isolation out of the box. Agent tags and store partitions do not establish that boundary.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releases · Newer release v13.2.1 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

DockerSelf-HostedLocal AIMCP
pip install "mcp-memory-service[sqlite]"

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
mcp-memory-service ★2.2k+19PythonApache-2.0A self-hosted MCP and REST memory layer for agents that need context across sess
EverOS14k+41PythonApache-2.0Local Markdown and indexes give AI agents portable long-term memory
Scrapling107.9k+1.8kPythonBSD-3-ClausePython HTTP and browser crawlers that turn websites into RAG-ready Markdown
mem070k+498PythonApache-2.0A vector-backed memory layer for AI agents that need to recall past conversation

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/doobidoo/mcp-memory-service.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

doobidoo/mcp-memory-service Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about mcp-memory-service

How do LangGraph or CrewAI agents share memory without an MCP client?

Use POST /api/memories to write decisions and POST /api/search to retrieve them before an agent starts a task. On writes, X-Agent-ID adds an agent tag that POST /api/search/by-tag can filter on. Treat that tag as retrieval metadata, not an authorization boundary.

Do local search and document ingestion require a GPU?

No GPU or VRAM minimum is specified. Start by measuring CPU and RAM for local ONNX embeddings and query traffic, then size disk for stored memories, indexes, and backups. Test with representative document ingestion and concurrent searches. If you enable LLM-backed features, account for the resources and latency of the configured provider separately.

Can a company self-host or redistribute the service?

Yes. Apache-2.0 permits commercial self-hosting. If you redistribute the software, including in a modified image, review the applicable license and notice obligations. The license does not cover your obligations for captured transcripts or the terms of any optional LLM provider.

How should I compare it with a standalone vector database or an existing Mem0 setup?

Choose this service when shared MCP and HTTP access, local embedding, and memory maintenance are requirements, not just vector search. A dedicated vector database is a better fit if the application already owns those workflows and only needs a retrieval backend. For a Mem0 migration, a converter exists for exported memories; validate tags, retrieval quality, and application behavior before switching.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining doobidoo/mcp-memory-service? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature doobidoo/mcp-memory-service on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare