
Description
mcp-memory-service is an open-source memory backend for AI agents. It is a self-hosted service that stores decisions, shares causal knowledge graphs between agents, and returns context quickly. It offers a REST API, Model Context Protocol support, OAuth, a command-line interface and a dashboard, so the same memory can be reached through several transports. The project works with agent frameworks such as LangGraph, CrewAI and AutoGen, with any HTTP client, and with Claude Desktop and OpenCode. Agents store memories through the REST API and can retrieve prior decisions, and memory is shared across all agents and runs rather than kept in one graph. The knowledge graph has typed edges, such as causes, fixes and contradicts, so agents can share chains of reasoning and not only isolated facts. An X-Agent-ID header tags memories with the agent that stored them, for scoped retrieval, and a conversation identifier allows incremental storage of a conversation. Server-sent events notify clients when a memory is stored or deleted. Autonomous consolidation compresses older memories, and embeddings run locally through ONNX, so memory does not leave your infrastructure. The project's README includes a 60-second setup for Claude Desktop and Claude Code, and the live endpoint list is served at /api/docs.…
Highlights
- REST API, MCP and OAuth in one service
- Shared memory across agents and runs
- Knowledge graph with typed relationships
- Local embeddings with ONNX
- Autonomous memory consolidation
Ratings & Reviews
No ratings yet
Be the first to rate doobidoo/mcp-memory-service.
People also visit

LamantinAI/kaeru
Memory for LLM agents: a local graph where the agent itself keeps decisions

agent-memory-coordinator
Agent skill for memory-coordinator - invoke with $agent-memory-coordinator

hmem — Humanlike Memory for AI Agents
Persistent memory and agent lifecycle for Claude Code
doobidoo/mcp-memory-service FAQ
What is mcp-memory-service?
A self-hosted, open-source memory service for AI agents, with a REST API, MCP support and a knowledge graph.
Which agent frameworks does it work with?
LangGraph, CrewAI and AutoGen, any HTTP client, Claude Desktop and OpenCode, according to the README.
Does memory leave my infrastructure?
The README says embeddings run locally through ONNX, and the service is self-hosted.
How do I set it up for Claude?
The README has a setup guide that adds the server to the Claude Desktop config file, and a separate step for Claude Code.
Can agents share memories?
Yes. Memory is shared across all agents and runs, and the knowledge graph links them.
Where is the source?
On GitHub at doobidoo/mcp-memory-service.
What are the best doobidoo/mcp-memory-service alternatives?
Popular alternatives to doobidoo/mcp-memory-service include LamantinAI/kaeru, mem0 and agent-memory-coordinator. See all doobidoo/mcp-memory-service alternatives


















