mcp-server-memory
An MCP server providing persistent memory capabilities for AI models through a knowledge graph.
MCP Server: Memory
This project is derived from the original @modelcontextprotocol/server-memory
package, modified for my specific needs.
An MCP (Model Context Protocol) server providing persistent memory capabilities for AI models through a knowledge graph. This allows models like Claude to retain and recall information across interactions.
Overview
This server implements the Model Context Protocol and acts as a bridge between an AI model and a persistent knowledge graph stored locally. It allows the model to:
- Create and manage entities (people, places, concepts, etc.).
- Define relationships between entities.
- Store observations or facts associated with entities.
- Search and retrieve information from the knowledge graph.
By default, the knowledge graph is stored in a knowledge_graph.json
file in the current working directory where the server is run.
Usage with Claude Desktop
This server is primarily designed to be used with MCP-compatible clients like the Claude Desktop application. You configure it within the client's settings.
Example mcpServers
Configuration:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "mcp-server-memory"],
"env": {
"MEMORY_FILE_PATH": "/path/to/your/custom_memory.json"
}
}
}
}
...[rest of existing content remains unchanged...]
Related MCP Servers
View all knowledge_and_memory servers →git-mcp
by idosal
GitMCP is a free, open-source, remote Model Context Protocol (MCP) server that transforms GitHub projects into documentation hubs, enabling AI tools to access up-to-date documentation and code.
Knowledge Graph Memory Server
by modelcontextprotocol
A basic implementation of persistent memory using a local knowledge graph, allowing Claude to remember information about the user across chats.
mcpdoc
by langchain-ai
MCP LLMS-TXT Documentation Server provides a structured way to manage and retrieve LLM documentation using the Model Context Protocol.
rust-docs-mcp-server
by Govcraft
The Rust Docs MCP Server provides an up-to-date knowledge source for specific Rust crates, enhancing the accuracy of AI coding assistants by allowing them to query current documentation.
algorand-mcp
by GoPlausible
This is a Model Context Protocol (MCP) implementation for Algorand blockchain interactions, providing a server package for blockchain interactions and a client package for wallet management and transaction signing.
mindmap-mcp-server
by YuChenSSR
A Model Context Protocol (MCP) server for converting Markdown content to interactive mindmaps.
basic-memory
by basicmachines-co
Basic Memory is a tool that allows users to build a persistent knowledge base through natural conversations with LLMs, storing information in Markdown files.