



Official Anthropic MCP server implementing persistent memory using local knowledge graph. Stores entities, relations, and observations in memory.json file, enabling AI to remember user information across chats with full privacy control.
Ładowanie......
Na tej stronie
Knowledge Graph Memory MCP Server
The Knowledge Graph Memory MCP Server is an official Anthropic implementation that provides persistent memory using a local knowledge graph. It enables AI models like Claude to remember information about users across chats, eliminating context repetition.
The knowledge graph consists of three main elements:
1. Entities: Primary nodes in the knowledge graph representing people, projects, concepts, organizations, or any trackable subject.
2. Relations: Directed connections between entities stored in active voice, describing how entities interact or relate to each other (e.g., "works_for", "manages", "depends_on").
3. Observations: Discrete pieces of information about an entity, such as preferences, characteristics, or factual data points.
Eliminates Context Repetition: AI doesn't need to be re-introduced to project details, client information, or user preferences in every chat.
Persistent Across Sessions: Memory survives chat restarts, client restarts, and even switching between different MCP-compatible tools.
Privacy-First Design: All data stored locally on your machine, giving you complete control over what the AI remembers.
Flexible Ecosystem: Not locked to Claude—works with Cursor, Goose, and any MCP-compatible client.
Community tool available (github.com/mjherich/memory-visualizer) for interactive visualization of memory graphs, allowing you to explore, debug, and analyze entities, relations, and observations from memory.json files.
Available via npm:
npx @modelcontextprotocol/server-memory
Compatible with all MCP clients:
{
"entities": [
{"id": "user_1", "type": "person", "name": "John"}
],
"relations": [
{"from": "user_1", "to": "project_1", "type": "works_on"}
],
"observations": [
{"entity": "user_1", "content": "Prefers TypeScript over JavaScript"}
]
}
Free and open-source under the MIT License.
Zobacz więcej powiązanych pozycji