Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

MCP memory service

MCP server by doobidoo Verified · gh:doobidoo

MCP Memory Service gives AI assistants and agent pipelines persistent, shared memory. It runs as a self-hosted service with a REST API, MCP support and a knowledge graph, and suits developers using LangGraph, CrewAI, AutoGen or Claude.

  • Score 91
  • 2.2k stars
  • Apache-2.0
  • Updated

Install MCP memory service

Built from the published package, never by AI.

claude mcp add mcp-memory-service -- uvx mcp-memory-service

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP memory service in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-memory-service block.

About

MCP Memory Service is an open-source memory backend for AI agents. It runs as one self-hosted service and offers a REST API, MCP, OAuth, a CLI and a dashboard. Agents can store decisions, retrieve context and share a knowledge graph of typed causal relationships. Embeddings run locally through ONNX, and storage can use SQLite, Cloudflare, Hybrid or Milvus backends.

The project is aimed at developers building agent pipelines with LangGraph, CrewAI or AutoGen, and at people who want persistent memory in Claude Desktop, Claude Code, claude.ai or ChatGPT. It supports semantic and keyword search, tag-scoped retrieval, document ingestion and autonomous consolidation that clusters and compresses old memories. It is licensed under Apache-2.0.

Written from the project's README and checked against it.

Tools it gives your assistant

  • memory_harvestExtracts decisions, bugs, conventions and lessons from transcripts.
  • memory_bootstrap_profileAssembles behavioral context for a new agent within a token budget.
  • POST /api/memoriesStores a memory through the REST API.
  • POST /api/searchSearches stored memories through the REST API.
  • POST /api/search/by-tagRetrieves memories by tag, scoped by agent when X-Agent-ID is used.

What you need

  • Python with pip or uv
  • Claude Desktop or another MCP client for MCP use
  • An HTTP client for REST API use

Try asking

  • Remember this architecture decision for future sessions.
  • Search my stored memories for notes about the database migration.
  • Show the knowledge graph links between my stored decisions.

Good to know

  • Milvus Lite is not recommended for long-lived services; Docker Milvus or Zilliz Cloud is suggested instead.
  • Search summaries need MCP_SEARCH_SUMMARIZE_ENABLED=true and a configured LLM provider.
  • Bootstrap profiles need MCP_BOOTSTRAP_ENABLED=true and are not isolated by project.
  • Delta-sync between hosts is off by default and must be enabled separately.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to MCP memory service

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

MCP memory service: common questions

Does MCP Memory Service work with Claude Desktop?

Yes. The source gives a config entry that runs the memory server for Claude Desktop, and says the assistant keeps memories across sessions.

Does it need a cloud account?

The source says core memory operations run locally with ONNX embeddings and SQLite storage. Cloudflare is an optional cloud backend and sync option.

Can agents share memories with each other?

Yes. The source says memory is shared across all agents and runs, and that X-Agent-ID tags memories by agent for scoped retrieval.

How do I install MCP memory service?

In Claude Code run claude mcp add mcp-memory-service -- uvx mcp-memory-service. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MCP memory service the official server?

MCP memory service is published by gh:doobidoo from its verified domain in the official MCP Registry.

Is MCP memory service free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is MCP memory service safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to MCP memory service?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does MCP memory service work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

MCP memory service Install

Add to stack

Loading.