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.
Install MCP memory service
Built from the published package, never by AI.
claude mcp add mcp-memory-service -- uvx mcp-memory-serviceRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-memory-service": {
"args": [
"mcp-memory-service"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-memory-service": {
"args": [
"mcp-memory-service"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-memory-service": {
"args": [
"mcp-memory-service"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-memory-service -- uvx mcp-memory-service{
"mcpServers": {
"mcp-memory-service": {
"args": [
"mcp-memory-service"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-memory-service uvx mcp-memory-serviceGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
ANo 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 →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
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.
