Stores and searches evolving project memory for coding agents through semantic and graph-based MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We ran the install command below but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
uvx a-memNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 3d ago.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by A Mem MCP.
add_memory_noteStore new knowledge (async, returns immediately)
search_memoriesSemantic search across all memories
search_memories_agenticSearch + follow graph connections
search_memories_by_timeSearch within a time range
read_memory_noteGet full details (supports bulk reads)
update_memory_noteModify existing memory
a-mem-mcp MCP server provides persistent memory tools for coding agents. It stores notes, enriches them with keywords, context, and tags through an LLM, and connects related notes in a graph. The resulting memory can be searched by semantic similarity or explored through relationships between notes.
The default storage scope is per project, using a ./chroma_db directory. A shared memory store can be configured by changing the ChromaDB path to a common location. This makes the server suitable for retaining implementation details, architectural decisions, conventions, and other project knowledge between agent sessions.
Adding a note starts an asynchronous operation and immediately returns a task identifier. The system processes the note, searches for semantically similar existing memories, and decides whether to create or strengthen links, update related context, or evolve tags. ChromaDB stores the note metadata and relationships.
Search can begin with lightweight metadata such as identifiers, context, keywords, and tags. After locating relevant results, an agent can use read_memory_note to retrieve complete note details. The agentic search operation combines semantic retrieval with graph traversal to follow connected memories. check_task_status reports the state of asynchronous operations.
Install the Python package with pip install a-mem, then register the a-mem-mcp executable with an MCP client. The documented setup is tested with Claude Code and passes the LLM backend, model, and credentials as environment settings. A session-start hook is installed automatically for Claude Code to remind the agent to use the memory tools.
The default backend is OpenAI with model gpt-4o-mini, which requires an OpenAI API key. The server also documents Ollama, sGLang, and OpenRouter backends. Ollama can run locally, while OpenRouter uses its own API key. EMBEDDING_MODEL controls the sentence-transformer model, CHROMA_DB_PATH changes the storage location, and EVO_THRESHOLD controls the evolution trigger threshold.
The server exposes eight MCP tools:
add_memory_note stores knowledge asynchronously.search_memories performs semantic search.search_memories_agentic searches and follows graph connections.search_memories_by_time searches within a specified time range.read_memory_note retrieves full details and supports bulk reads.update_memory_note changes an existing memory.delete_memory_note removes a memory.check_task_status checks asynchronous task completion.The underlying Python API is also available through AgenticMemorySystem, allowing applications to add, search, and read notes without using MCP.
a-mem-mcp MCP server is currently documented as tested with Claude Code; support for other MCP-compatible agents is described as planned rather than confirmed. Memory is project-specific by default, so separate projects do not share notes unless they are configured to use the same ChromaDB path. LLM behavior and required credentials depend on the selected backend. The server implements concepts from the A-MEM research paper, but the supplied material does not specify a license.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/a-mem-mcp)<a href="https://allmcps.com/mcp/a-mem-mcp"><img src="https://allmcps.com/api/badge/a-mem-mcp?style=directory" alt="A Mem MCP on AllMCPs" /></a>