Memory MCP
M

Memory MCP

Memory MCP is an MCP server that provides persistent memory for AI assistants. Through a two - tier architecture of hot cache and cold storage, it enables zero - latency automatic injection of high - frequency knowledge and semantic search, allowing Claude to remember project contexts and reduce repeated explanations.
2.5 points
5.7K

What is Memory MCP?

Memory MCP is an intelligent memory system specifically designed for AI assistants like Claude. It solves the problem of having to re - explain project backgrounds, architectural designs, and common patterns in each conversation. The system automatically learns the knowledge you frequently use and divides it into two levels: hot cache (0 - millisecond access) and cold storage (semantic search).

How to use Memory MCP?

After installing Memory MCP, it will automatically run in the background. When you have a conversation with Claude, it will automatically inject your most commonly used knowledge into the conversation context. You can also actively store or search for memories through slash commands. The system will automatically learn your usage habits and promote high - frequency knowledge to the hot cache.

Applicable scenarios

Suitable for users such as software development teams, technical document writers, and project managers who need to frequently discuss complex technical details with AI. It is particularly suitable for long - term project development, where information such as architectural designs, API specifications, and code patterns needs to be continuously remembered by AI.

Main features

Hot cache (0 - millisecond access)
Automatically injects the 10 - 20 most commonly used memory items into the context of each conversation, with no need for tool calls and zero - latency access. The system automatically adjusts the content of the hot cache based on usage frequency.
Semantic search in cold storage
Uses an embedding model for semantic similarity search. Even if you can't remember the exact keywords, you can find relevant memories by meaning. The search latency is about 50 milliseconds.
Automatic learning and promotion
The system automatically tracks the usage frequency of memories. Memories used more than 3 times will be automatically promoted to the hot cache, and memories not used for 14 days will be automatically demoted.
Project awareness and isolation
Automatically isolates the memories of different projects based on Git repositories to prevent memory confusion between projects. Each project has an independent memory space.
Knowledge graph connection
Automatically discovers the association relationships between memories and supports multi - hop queries. For example, from 'user authentication', you can associate with 'JWT tokens' and'session management'.
Pattern mining
Automatically learns useful patterns and templates from Claude's output and stores them as reusable memories.
Trust scoring
Maintains a trust score for each memory item. Information that is outdated or rarely verified will gradually have its score reduced and will eventually be demoted or marked.
Advantages
Zero - latency access to commonly used knowledge - The hot cache is directly injected into the context
Automatic learning without manual management - The system automatically optimizes based on usage patterns
Project awareness to avoid confusion - Memories of different projects are completely isolated
More intelligent semantic search - Based on meaning rather than keyword matching
Knowledge graph supports association queries - Discover deep connections between memories
Limitations
The embedding model (about 90MB) needs to be downloaded for the first run
Claude Code environment is required to support the MCP protocol
There is about a 50 - millisecond delay in cold - storage search
The hot - cache capacity is limited (about 20 memory items)
Claude Code needs to be restarted to apply configuration changes

How to use

Install Memory MCP
Install the Memory MCP software package using a package management tool
Add the Claude plugin
It is recommended to use the Claude plugin for the best experience, which includes automatic configuration and additional features
Restart Claude Code
Restart Claude Code to load the Memory MCP server
Initialize project memories
In a new project, use the bootstrap command to extract initial memories from project documents
Start using
Have a normal conversation with Claude, and the system will automatically learn and remember important information

Usage examples

Software development project
In a long - term software development project, team members need to frequently discuss architectural designs, API specifications, and code patterns. Memory MCP will automatically remember these technical details and provide them automatically in subsequent conversations.
Technical document writing
When writing technical documents for complex systems, it is necessary to maintain the consistency of terms and concepts. Memory MCP will remember the defined terms and concepts to ensure the consistency of the document.
Code review assistant
During code review, Memory MCP will remember the project's code specifications, best practices, and common problem patterns, and provide more accurate review suggestions.

Frequently Asked Questions

Will Memory MCP remember my sensitive information?
What is the difference between the hot cache and cold storage?
How to delete unwanted memories?
Which AI assistants are supported?
Why does it take a long time for the first run?
Will the memories of different projects be confused?

Related resources

GitHub repository
Source code and the latest version of Memory MCP
Detailed reference documentation
Complete API reference, configuration options, and CLI commands
Troubleshooting guide
Solutions to common problems and debugging techniques
Model Context Protocol official website
Official documentation and specifications of the MCP protocol
PyPI package page
Python package release page and installation statistics

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "memory": {
      "command": "memory-mcp"
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

A
Airweave
Airweave is an open - source context retrieval layer for AI agents and RAG systems. It connects and synchronizes data from various applications, tools, and databases, and provides relevant, real - time, multi - source contextual information to AI agents through a unified search interface.
Python
16.2K
5 points
V
Vestige
Vestige is an AI memory engine based on cognitive science. By implementing 29 neuroscience modules such as prediction error gating, FSRS - 6 spaced repetition, and memory dreaming, it provides long - term memory capabilities for AI. It includes a 3D visualization dashboard and 21 MCP tools, runs completely locally, and does not require the cloud.
Rust
10.5K
4.5 points
M
Moltbrain
MoltBrain is a long-term memory layer plugin designed for OpenClaw, MoltBook, and Claude Code, capable of automatically learning and recalling project context, providing intelligent search, observation recording, analysis statistics, and persistent storage functions.
TypeScript
10.1K
4.5 points
B
Bm.md
A feature-rich Markdown typesetting tool that supports multiple style themes and platform adaptation, providing real-time editing preview, image export, and API integration capabilities
TypeScript
14.8K
5 points
S
Security Detections MCP
Security Detections MCP is a server based on the Model Context Protocol that allows LLMs to query a unified security detection rule database covering Sigma, Splunk ESCU, Elastic, and KQL formats. The latest version 3.0 is upgraded to an autonomous detection engineering platform that can automatically extract TTPs from threat intelligence, analyze coverage gaps, generate SIEM-native format detection rules, run tests, and verify. The project includes over 71 tools, 11 pre-built workflow prompts, and a knowledge graph system, supporting multiple SIEM platforms.
TypeScript
6.7K
4 points
P
Paperbanana
Python
8.9K
5 points
B
Better Icons
An MCP server and CLI tool that provides search and retrieval of over 200,000 icons, supports more than 150 icon libraries, and helps AI assistants and developers quickly obtain and use icons.
TypeScript
9.7K
4.5 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
10.0K
5 points
M
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
39.1K
5 points
N
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
24.8K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
81.4K
4.3 points
G
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
28.4K
4.3 points
U
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#
38.4K
5 points
F
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
70.5K
4.5 points
G
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
24.9K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
55.3K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase