Cortexgraph
C

Cortexgraph

CortexGraph is an MCP server that provides a human-like memory system for AI assistants. It realizes the natural decay and reinforcement use of memories by simulating the Ebbinghaus forgetting curve, including short-term memory storage, long-term memory archiving, and knowledge graph functions.
2.5 points
0

What is CortexGraph?

CortexGraph is a human-like memory system designed for AI assistants (such as Claude). It solves the problem of AI forgetting information during conversations, allowing AI to naturally remember your preferences, decisions, and important facts while letting less frequently used information fade away over time.

How to use CortexGraph?

Using CortexGraph is very simple: 1) Install the CortexGraph MCP server; 2) Configure it in Claude Desktop; 3) Have conversations with Claude as usual. The system will automatically detect the content to be remembered and recall relevant information at appropriate times. You don't need to use special commands, and everything is done in natural conversations.

Use Cases

CortexGraph is particularly suitable for the following scenarios: Personal AI assistants (remembering user preferences), development environments (remembering technical decisions), research assistants (retaining important findings in the long term), and customer service robots (remembering customer history). It makes AI conversations more personalized and coherent.

Main Features

Human-like Memory Decay
Based on the Ebbinghaus forgetting curve, memories naturally decay over time unless reinforced through use. Less frequently used information will gradually fade away, while frequently used information will be retained for a longer time.
Automatic Memory Reinforcement
When an AI references a memory during a conversation, that memory is automatically reinforced, and the decay rate slows down. This simulates the 'use reinforcement' mechanism of human memory.
Two-layer Storage Architecture
Short-term memory (STM) stores recent information, and long-term memory (LTM) permanently stores important information. Frequently used memories are automatically promoted from STM to LTM.
Natural Language Activation
No special commands are required. The system will automatically detect the content to be saved or recalled from natural conversations. Say 'Remember: I like the dark mode' or 'What did I say before?' to trigger the corresponding functions.
Multi-agent Integration
Five dedicated agents automatically maintain memories: analyzing decay risks, clustering similar memories, merging duplicate content, promoting important memories, and discovering cross-domain associations.
Local Privacy Protection
All data is stored on the local device, supporting JSONL and SQLite formats. Long-term memories can be exported as Markdown files, which are compatible with note-taking applications such as Obsidian.
Visualized Knowledge Graph
It provides an interactive network graph visualization to show the relationships between memories, supporting zooming, dragging, and viewing detailed information.
Advantages
🤖 Makes AI conversations more coherent and personalized
🧠 A memory model based on cognitive science, more in line with human intuition
🔒 Completely local storage to protect privacy and security
⚡ Automatically runs without manual memory management
📊 Adjustable memory parameters to adapt to different use scenarios
🔄 Well integrated with existing tools (Obsidian, Git)
Limitations
⚠️ A research prototype, not recommended for production environments
📚 Requires certain technical knowledge for initial configuration
🖥️ Mainly developed for macOS, Windows/Linux support needs testing
🧪 The memory algorithm is still being optimized, and there may be instability
🔧 Requires a client that supports MCP, such as Claude Desktop

How to Use

Install CortexGraph
Install using the UV tool (recommended) or via pip. UV installation provides better isolation.
Create a Configuration File
Create a.env file in the configuration directory and set the storage path, decay parameters, etc. You can copy the example file and modify it.
Configure Claude Desktop
Edit the configuration file of Claude Desktop and add the CortexGraph MCP server. You need to use the absolute path to ensure that the GUI application can find the command.
Restart and Start Using
Restart Claude Desktop and start having normal conversations. The system will automatically detect the content to be remembered and recall it at appropriate times.
Maintenance and Monitoring
Use the CLI tool to view the memory status and perform maintenance operations. Regularly check the memory health.

Usage Examples

Personal Preference Memory
The AI assistant remembers the user's personal preferences, such as the interface theme, programming language preference, dietary restrictions, etc.
Technical Decision Tracking
During the development process, the AI remembers the technology stack selection, architectural decisions, and code conventions.
Research Note Organization
During the research process, the AI helps organize and connect relevant concepts, findings, and references.
Customer Service History
The customer service AI remembers the customer's previous problems, solutions, and personal information.

Frequently Asked Questions

What's the difference between CortexGraph and ordinary chat records?
Do I need to learn special commands to use the memory function?
Where is my data stored? Is it safe?
How to adjust the memory retention time?
Why does Claude Desktop display the 'Command not found' error?
Can I export my memory data?
Is this tool suitable for production environments?
How to contribute code or report issues?

Related Resources

GitHub Repository
Source code, issue tracking, and the latest version
MCP Tool Reference Documentation
Detailed descriptions and examples of all MCP tools
Scoring Algorithm Details
The mathematical principles and parameter descriptions of the memory scoring algorithm
Intelligent Prompt Mode
A system prompt template for AI to naturally use memories
Multi-agent System
The agent architecture description of the memory consolidation pipeline
Model Context Protocol
The official documentation and specifications of the MCP protocol
Ebbinghaus Forgetting Curve
The cognitive science foundation of the CortexGraph algorithm
Contribution Guide
How to participate in development and testing, especially cross-platform testing

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "cortexgraph": {
      "command": "/Users/yourusername/.local/bin/cortexgraph"
    }
  }
}

{
  "mcpServers": {
    "cortexgraph": {
      "command": "uv",
      "args": ["--directory", "/path/to/cortexgraph", "run", "cortexgraph"],
      "env": {"PYTHONPATH": "/path/to/cortexgraph/src"}
    }
  }
}

{
  "mcpServers": {
    "cortexgraph": {
      "command": "/Users/username/.local/bin/cortexgraph"
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

B
Blueprint MCP
Blueprint MCP is a chart generation tool based on the Arcade ecosystem. It uses technologies such as Nano Banana Pro to automatically generate visual charts such as architecture diagrams and flowcharts by analyzing codebases and system architectures, helping developers understand complex systems.
Python
7.2K
4 points
K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
13.1K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
10.0K
4 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
C
Cipher
Cipher is an open-source memory layer framework designed for programming AI agents. It integrates with various IDEs and AI coding assistants through the MCP protocol, providing core functions such as automatic memory generation, team memory sharing, and dual-system memory management.
TypeScript
0
5 points
N
Nexus
Nexus is an AI tool aggregation gateway that supports connecting multiple MCP servers and LLM providers, providing tool search, execution, and model routing functions through a unified endpoint, and supporting security authentication and rate limiting.
Rust
0
4 points
Z
Zen MCP Server
Zen MCP is a multi-model AI collaborative development server that provides enhanced workflow tools and cross-model context management for AI coding assistants such as Claude and Gemini CLI. It supports seamless collaboration of multiple AI models to complete development tasks such as code review, debugging, and refactoring, and can maintain the continuation of conversation context between different workflows.
Python
17.1K
5 points
O
Opendia
OpenDia is an open - source browser extension tool that allows AI models to directly control the user's browser, perform automated operations using existing login status, bookmarks and other data, support multiple browsers and AI models, and focus on privacy protection.
JavaScript
14.4K
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
17.5K
4.5 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
17.5K
4.3 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
27.6K
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
55.0K
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#
24.3K
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
51.4K
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
17.2K
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
36.7K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase