MCPServers
m

mcp-knowledge-graph

136
0

Summary

An improved implementation of persistent memory using a local knowledge graph with a customizable --memory-path. This lets Claude remember information about the user across chats.

Available Actions(9)

create_entities

Create multiple new entities in the knowledge graph. Input: entities (array of objects) where each object contains name (string), entityType (string), and observations (string[]). Ignores entities with existing names.

create_relations

Create multiple new relations between entities. Input: relations (array of objects) where each object contains from (string), to (string), and relationType (string). Skips duplicate relations.

add_observations

Add new observations to existing entities. Input: observations (array of objects) where each object contains entityName (string) and contents (string[]). Returns added observations per entity and fails if entity doesn't exist.

delete_entities

Remove entities and their relations. Input: entityNames (string[]). Cascading deletion of associated relations, silent operation if entity doesn't exist.

delete_observations

Remove specific observations from entities. Input: deletions (array of objects) where each object contains entityName (string) and observations (string[]). Silent operation if observation doesn't exist.

delete_relations

Remove specific relations from the graph. Input: relations (array of objects) where each object contains from (string), to (string), and relationType (string). Silent operation if relation doesn't exist.

read_graph

Read the entire knowledge graph. No input required. Returns complete graph structure with all entities and relations.

search_nodes

Search for nodes based on query. Input: query (string). Searches across entity names, entity types, and observation content, returning matching entities and their relations.

open_nodes

Retrieve specific nodes by name. Input: names (string[]). Returns requested entities and relations between requested entities, silently skipping non-existent nodes.

Last Updated: April 8, 2025

Community Reviews

0.0
0 reviews
5
0
4
0
3
0
2
0
1
0

No reviews yet. Be the first to review!

Sign in to join the conversation

Try it now in
HighlightHighlight AI

Language

TypeScript

Categories

Tags