mcp-memory-py

edobez/mcp-memory-py

3.3

If you are the rightful owner of mcp-memory-py and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A basic implementation of persistent memory using a local knowledge graph, allowing Claude to remember information about the user across chats.

Tools

Functions exposed to the LLM to take actions

create_entities

Create multiple new entities in the knowledge graph.

Args: entities: List of entities to create, each with name, type and observations

Returns: List of newly created entities (excluding any that already existed)

create_relations

Create new relations between entities in the knowledge graph.

Args: relations: List of relations to create, each with from_, to and relationType

Returns: List of newly created relations (excluding any duplicates)

add_observations

Add new observations to existing entities.

Args: observations: List of observations to add, each with entityName and contents

Returns: List of results showing which observations were added to which entities

delete_entities

Delete entities and their associated relations from the graph.

Args: entity_names: List of entity names to delete

delete_observations

Delete specific observations from entities.

Args: deletions: List of deletions, each with entityName and observations to remove

delete_relations

Delete specific relations from the graph.

Args: relations: List of relations to delete

read_graph

Read the entire knowledge graph.

Returns: The complete knowledge graph with all entities and relations

search_nodes

Search for nodes and their relations matching a query string.

Args: query: Search string to match against node names, types and observations

Returns: Subgraph containing matching entities and their interconnecting relations

open_nodes

Get a subgraph containing specific nodes and their interconnecting relations.

Args: names: List of entity names to include

Returns: Subgraph containing the specified entities and relations between them

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources