A Mem MCP
A-MEM is a self-evolving memory system designed for coding agents. It uses a Zettelkasten-style knowledge graph structure, can automatically extract, associate, and evolve memories, supports semantic search and graph traversal, and integrates with agents such as Claude Code through the MCP protocol.
rating : 2.5 points
downloads : 6.2K
What is A-MEM?
A-MEM is an intelligent memory system designed for programming assistants such as Claude Code. Different from simple storage, it can automatically organize knowledge into a network structure, discover associations between memories, and continuously evolve as new knowledge is added. It's like equipping your programming assistant with a second brain that can learn and grow.How to use A-MEM?
After installing A-MEM, it will be automatically integrated into Claude Code. When the assistant communicates with you, it can actively store the learned project knowledge (such as code patterns, architectural decisions, API key locations, etc.) in A-MEM. Later, when the assistant needs relevant information, it will automatically search and extract from the memory to provide more coherent and personalized assistance.Applicable scenarios
A-MEM is very suitable for complex projects that require long-term maintenance or iteration. It can help the assistant remember specific project configurations, resolved bugs, code specifications agreed upon by the team, integration methods of third-party services, etc., ensuring that the assistant can maintain an understanding of the project context even in different sessions.Main features
Self-evolving memory
Memory is not static. When new knowledge is added, A-MEM will automatically find relevant old memories, strengthen the connections between them, and update context labels to make the entire knowledge network more intelligent.
Semantic and graph structure search
Combines vector similarity search and graph traversal. It can not only find memories by meaning but also explore other knowledge nodes related to the memory to achieve in-depth association.
Hierarchical retrieval (Peek and Drill)
First, conduct a broad search through lightweight metadata (such as keywords and tags) to find a list of relevant memories. Then, you can view the complete content of specific memories in depth, effectively balancing search efficiency and information integrity.
Multi-backend support
Supports multiple LLM backends such as OpenAI, local Ollama, and OpenRouter, making it convenient for users to choose according to their needs, budgets, and privacy requirements.
Flexible memory scope
Supports two modes: project-isolated memory (default) and globally shared memory, adapting to different scenarios of individual single-project development or multi-project collaboration.
Advantages
Improve assistant coherence: Enable the programming assistant to remember project details in different sessions and provide more consistent assistance.
Reduce repeated explanations: Developers don't need to repeat project backgrounds and resolved problems in each new session.
Automatic knowledge association: The system automatically discovers and links relevant knowledge to form an organic knowledge graph instead of fragmented pieces.
Easy to integrate: Seamlessly integrate with Claude Code through the MCP protocol, with simple installation and configuration.
Privacy controllable: Supports the use of local models (such as Ollama) to ensure that code and project information are not leaked.
Limitations
Currently mainly adapted to Claude Code: Full support for other MCP-supported assistants (such as Cursor) is still in the planning stage.
Requires an LLM backend: A configured LLM (such as the OpenAI API or local Ollama) is needed to handle the semantic understanding and organization of memories.
Initial learning cost: Users need to understand its concepts and trust the assistant to use it, which may require some adaptation time.
Storage occupation: The memory library of long-term projects may occupy a certain amount of local disk space.
How to use
Install A-MEM
Install A-MEM through the pip package manager.
Add to Claude Code
Run the command in the terminal to add the A-MEM MCP server to Claude Code. You need to prepare the API key of the LLM backend.
Start using
Restart Claude Code. After that, the assistant will receive a reminder to use the memory at the beginning of the session and automatically call the memory tool to store and retrieve knowledge during the conversation.
(Optional) Configure the memory scope
If you need to share memories across projects, you can set the global storage path through environment variables.
Usage examples
Example 1: Remember project architectural decisions
When developing a web application, you and the assistant discussed the authentication scheme and finally decided to use JWT.
Example 2: Associate resolved bugs
The project once encountered a database connection leak bug, which was resolved by adjusting the connection pool configuration.
Example 3: Search for relevant knowledge points
You want to review all the security practices and decisions in the project.
Frequently asked questions
Will A-MEM send my code and project information to external servers?
Are the memories independent for each project or shared across all projects?
How can I view or manage the stored memories?
If I no longer need A-MEM, how can I completely uninstall it?
Does A-MEM support AI programming assistants other than Claude?
Related resources
A-MEM research paper
An academic paper to understand the design concept of 'agent memory' behind A-MEM.
PyPI project page
View the latest version, download volume, and basic project information.
MCP official registry
View the A-MEM server in the official registry of the Model Context Protocol.
GitHub repository
Access the source code, report issues, or contribute code.

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
21.5K
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
24.7K
4.3 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
73.3K
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
34.6K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
63.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
32.5K
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
21.1K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
97.5K
4.7 points





