メモリMCP
会話間の永続的な情報保存を可能にする AI エージェント向けの知識グラフベースのメモリ システム。
特徴
知識グラフ構造を用いた永続メモリストレージ
情報を整理するための実体関係モデル
思い出を追加、検索、取得するためのツール
ツール
システムは次の MCP ツールを提供します。
load_knowledge_graph()
: ナレッジグラフ全体を取得するget_knowledge_graph_size()
: グラフの現在のサイズ カテゴリ (「小」、「中」、「大」) を返します。add_entities(entities)
: 新しいエンティティをメモリに追加するadd_relations(relations)
: エンティティ間の関係を作成するadd_observations(entity_name, observations)
: 既存のエンティティに観測情報を追加しますdelete_entities(entity_names)
: メモリからエンティティを削除しますdelete_relations(relations)
: 関係を削除するsearch_nodes(query, search_mode)
: クエリに一致するエンティティとリレーションを検索します。3つの検索モードをサポートします。"exact_phrase": クエリ全体を部分文字列として一致させます
"any_token": クエリ内のいずれかの単語が一致する場合に一致します(デフォルト)
"all_tokens": クエリ内のすべての単語が一致する場合に一致します
open_nodes(names)
: 特定のエンティティとそれらの間の関係を取得します。
使用法
次のコマンドでエージェントを実行します。
エージェントは自動的に次の処理を実行します。
会話の開始時にメモリをロードする
やり取り中に関連情報を参照する
会話が終了したら新しい情報でメモリを更新する
q
と入力して会話を終了します。
構成
MEMORY_FILE_PATH
環境変数を使用してメモリの保存場所を設定します (デフォルトはmemory.json
)。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
会話間の永続的な情報保存を可能にする AI エージェント向けの知識グラフベースのメモリ システム。
Related MCP Servers
- AsecurityAlicenseAqualityEnhances user interaction through a persistent memory system that remembers information across chats and learns from past errors by utilizing a local knowledge graph and lesson management.Last updated -1371,16652MIT License
- -securityAlicense-qualityA persistent memory implementation using a local knowledge graph that lets Claude remember information about users across conversations.Last updated -6MIT License
- AsecurityAlicenseAqualityAn implementation of persistent memory for Claude using a local knowledge graph, allowing the AI to remember information about users across conversations with customizable storage location.Last updated -1122854JavaScriptMIT License
- -securityAlicense-qualityEnables AI assistants to store and retrieve memories with semantic search capabilities using vector embeddings. Provides persistent memory storage with SQLite backend for context retention across conversations.Last updated -33MIT License