Skip to main content
Glama

Memory MCP Server

メモリMCPサーバー

ローカル ファイルに保存されたメモリを保存、取得、管理するためのツールを提供するモデル コンテキスト プロトコル (MCP) サーバー。

特徴

  • オプションのタグを使用してテキストメモリを保存する
  • テキストまたはタグで思い出を検索
  • 保存されたすべての記憶を取得する
  • 特定の記憶を削除する
  • タグの使用統計を表示する
  • ローカルJSONファイルへの永続的な保存

インストール

ソースから

  1. このリポジトリをクローンする
  2. 依存関係をインストールします:
    npm install
  3. サーバーを構築します。
    npm run build

使用法

サーバーの実行

次のコマンドでサーバーを実行します。

npm start -- [storage-path]

ここで、 storage-pathは、memory ファイルを保存するディレクトリです (デフォルトは現在のディレクトリ)。

Claude for Desktop の設定

このサーバーをClaude for Desktopで使用するには:

  1. Claude for Desktop の構成ファイルを開きます。
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. サーバー構成を追加します。
{ "mcpServers": { "memory": { "command": "node", "args": [ "/path/to/mcp-memory-server/build/index.js", "/path/to/storage/directory" ] } } }
  1. Claude for Desktop を再起動してください。変更を有効にするには、実行中の Claude プロセスを強制終了する必要がある場合があります。

利用可能なツール

サーバーは次のツールを公開します。

store-memory

新しいメモリを保存します。

パラメータ:

  • content (文字列、必須): 保存するテキストコンテンツ
  • tags (文字列の配列、オプション): メモリを分類するためのタグ
search-memories

思い出を探します。

パラメータ:

  • searchTerm (文字列、オプション): メモリコンテンツ内で検索するテキスト
  • tag (文字列、オプション):このタグで思い出をフィルタリングする
get-all-memories

保存されているすべてのメモリを取得します。

パラメータ: なし

delete-memory

ID でメモリを削除します。

パラメータ:

  • id (文字列、必須): 削除するメモリのID
get-tags-summary

使用されたすべてのタグの概要を取得します。

パラメータ: なし

クロードでの使用例

Claude で使用するクエリの例を次に示します。

  • 「この情報を保存してください: プロジェクトの締め切りは 2025 年 3 月 15 日です。タグ: 作業、締め切り」
  • 「仕事に関連した思い出は何か?」
  • 「私の思い出を全部見せて」
  • 「ID abc123のメモリを削除」
  • 「思い出の中でどんなタグを使ったことがあるだろうか?」

ファイル構造

サーバーは、指定されたストレージ ディレクトリ内のmemories.jsonという名前のファイルにメモリを保存します。

ライセンス

マサチューセッツ工科大学

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude がローカル JSON ファイル内のタグ付きテキスト メモリを永続的に保存、検索、管理できるようにするモデル コンテキスト プロトコル サーバー。

  1. 特徴
    1. インストール
      1. ソースから
    2. 使用法
      1. サーバーの実行
      2. Claude for Desktop の設定
      3. 利用可能なツール
    3. クロードでの使用例
      1. ファイル構造
        1. ライセンス

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server for Claude Desktop that provides structured memory management across chat sessions, allowing Claude to maintain context and build a knowledge base within project directories.
            Last updated -
            TypeScript
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that allows Claude to create flashcards for Rember, helping users study and remember information through spaced repetition reviews.
            Last updated -
            88
            16
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables Claude to interact directly with Contentful CMS, allowing the AI to fetch content types and entries from a Contentful space.
            Last updated -
            1
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables Claude to interact with your Todoist account, allowing you to manage tasks, projects, and labels through natural language.
            Last updated -
            1
            Python

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/grizzlypeaksoftware/mcp-memory-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server