Best for
- Claude users who need persistent memory across conversations
- Developers who want local persistent memory in their projects
- Users concerned about data privacy and prefer local storage over cloud
This server offers a flexible and safe design for AI memory management, supporting project-local and global storage with multi-database features. Installation is straightforward, though compatibility with Claude API needs verification.
mcp-knowledge-graph is an MCP server that enables AI models (like Claude) to store and retrieve information across conversations. It uses entities, relations, and observations to build a knowledge graph, and supports multiple databases (master and named) as well as project-local or global storage. The server emphasizes safety with file markers (_aim) to prevent accidental overwrites of unrelated files. It is designed for local development, suitable for users who want their AI assistant to remember long-term information.
Prerequisites: Node.js 22+. Setup: Add the MCP server configuration to your Claude client configuration file, specifying a local path (e.g., --memory-path), then start the client to automatically install and run.
{
"mcpServers": {
"Aim-Memory-Bank": {
"command": "npx",
"args": [
"-y",
"mcp-knowledge-graph",
"--memory-path",
"/Users/yourusername/.aim"
],
"autoapprove": [
"aim_memory_search",
"aim_memory_get",
"aim_memory_read_all",
"aim_memory_list_stores"
]
}
}
}