AgentWong_optimized-memory-mcp-server
The optimized-memory-mcp-server is a Python-based fork of a Memory MCP Server, utilizing SQLite for backend storage, designed to demonstrate AI workflows and prompt design.
The optimized-memory-mcp-server is a knowledge graph memory server that provides a basic implementation of persistent memory using a local knowledge graph. It allows for the storage and retrieval of information about users across different interactions. The server uses entities, relations, and observations to structure data, enabling the creation of a dynamic and interconnected knowledge graph. Entities are the primary nodes, each with a unique identifier, type, and list of observations. Relations define directed connections between entities, while observations are discrete pieces of information attached to entities. The server offers a comprehensive API with tools for creating, deleting, and managing entities, relations, and observations, as well as searching and reading the entire graph. This server is particularly useful for applications requiring memory persistence, such as chat personalization, where it can remember user information and preferences across sessions.
Features
- Persistent memory using a local knowledge graph
- Entity, relation, and observation management
- Comprehensive API for graph operations
- Search and retrieval of graph data
- Integration with Claude Desktop for chat personalization
MCP Tools
- {'create_entities': 'Create multiple new entities in the knowledge graph.'}
- {'create_relations': 'Create multiple new relations between entities.'}
- {'add_observations': 'Add new observations to existing entities.'}
- {'delete_entities': 'Remove entities and their relations.'}
- {'delete_observations': 'Remove specific observations from entities.'}
- {'delete_relations': 'Remove specific relations from the graph.'}
- {'read_graph': 'Read the entire knowledge graph.'}
- {'search_nodes': 'Search for nodes based on query.'}
- {'open_nodes': 'Retrieve specific nodes by name.'}
Usage with Different Platforms
Docker
{
"mcpServers": {
"memory": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/memory"]
}
}
}
NPX
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}
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.
mindmap-mcp-server
by YuChenSSR
A Model Context Protocol (MCP) server for converting Markdown content to interactive mindmaps.
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.
mcp-obsidian
by MarkusPfundstein
MCP server to interact with Obsidian via the Local REST API community plugin.