プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

recall

作者:fainirバージョン 0.3.0i★ 3iパソコンで動く
レジストリ名io.github.fainir/recall

インストール方法

What it does

Read and write Claude Code auto memory from Codex, Cursor or any MCP client. Zero dependencies.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category 検索・AIの記憶

インストール

使っているAIアプリを選んで、設定をコピーしてください。

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server recall を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "recall": { "command": "npx", "args": [ "-y", "@fainir/recall", "--claude-code", "{repo_path}" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、recall のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "recall": {
          "command": "npx",
          "args": [
            "-y",
            "@fainir/recall",
            "--claude-code",
            "{repo_path}"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    recall を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が recall を使っていると言うか、回答に recall のツール名が出れば接続成功です

追加の設定 1 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • RECALL_READ_ONLY 1 に設定すると読み取り専用ツールを公開します
    英語の原文を見るSet to 1 to expose read-only tools

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ recall につなげません

recall はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · recall につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)

B · 検索・AIの記憶 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server recall を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user recall -- npx -y @fainir/recall --claude-code '{repo_path}' 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、recall のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user recall -- npx -y @fainir/recall --claude-code '{repo_path}'
  4. Claude Code で /mcp と入力

    recall が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    recall を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が recall を使っていると言うか、回答に recall のツール名が出れば接続成功です

追加の設定 1 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • RECALL_READ_ONLY 1 に設定すると読み取り専用ツールを公開します
    英語の原文を見るSet to 1 to expose read-only tools

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server recall を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "recall": { "command": "npx", "args": [ "-y", "@fainir/recall", "--claude-code", "{repo_path}" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、recall のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    recall を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が recall を使っていると言うか、回答に recall のツール名が出れば接続成功です

追加の設定 1 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • RECALL_READ_ONLY 1 に設定すると読み取り専用ツールを公開します
    英語の原文を見るSet to 1 to expose read-only tools

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server recall を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "recall": { "type": "stdio", "command": "npx", "args": [ "-y", "@fainir/recall", "--claude-code", "{repo_path}" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、recall のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    recall を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が recall を使っていると言うか、回答に recall のツール名が出れば接続成功です

追加の設定 1 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • RECALL_READ_ONLY 1 に設定すると読み取り専用ツールを公開します
    英語の原文を見るSet to 1 to expose read-only tools

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?recall を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user recall -- npx -y @fainir/recall --claude-code '{repo_path}'

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "recall": {
      "command": "npx",
      "args": [
        "-y",
        "@fainir/recall",
        "--claude-code",
        "{repo_path}"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "recall": {
      "command": "npx",
      "args": [
        "-y",
        "@fainir/recall",
        "--claude-code",
        "{repo_path}"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "recall": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@fainir/recall",
        "--claude-code",
        "{repo_path}"
      ]
    }
  }
}

自分で入力する値

  • RECALL_READ_ONLY env
    1 に設定すると読み取り専用ツールを公開します
    英語の原文を見るSet to 1 to expose read-only tools

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
116/週
接続方法
パソコンで動く
最新バージョンi
0.3.0
レジストリ公開日i
2026年11月1日
コードの最終更新i
2026年11月11日
作者
fainir
パッケージ
npm: @fainir/recall
ウェブサイト
github.com
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月15日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント fainir で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:4 日前

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に @fainir/recall@0.3.0 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの6175件のうち85%よりスターが多い
  • このカテゴリのほかの6175件のうち73%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの6175件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

recallは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は4 日前、最新バージョン(0.3.0)がレジストリに届いたのは14 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:OpenSEO, Exa, Mockserver, Microsoft Learn MCP, Docs

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

作者:every-app広く使われている★ 2.8万昨日更新

クラウドで動く✓ everyapp.com

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

作者:exa-labs広く使われている★ 52342 か月前更新

クラウドで動く✓ 提供元 · exa.aiPopNx チームが実際に試用

Mockserver

Mock, record/replay, verify and chaos-test any HTTP, REST, gRPC or LLM dependency over MCP.

作者:mock-server成長中★ 501119 日前更新

パソコンで動く✓ 提供元 · mock-server.com

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

作者:MicrosoftDocs広く使われている★ 199212 か月前更新

クラウドで動く✓ 提供元 · microsoft.comPopNx チームが実際に試用

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

作者:proxysoul成長中★ 16142 か月前更新

クラウドで動く✓ empryo.com
  • OpenSEO — クラウドで動き、インストール不要 · キー不要
  • Exa — クラウドで動き、インストール不要 · キー不要 · Claude のディレクトリに掲載
  • Mockserver — パソコンにインストールが必要 · キー不要
  • Microsoft Learn MCP — クラウドで動き、インストール不要 · キー不要 · Claude のディレクトリに掲載
  • Docs — クラウドで動き、インストール不要 · キー不要

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

recall

Your Claude Code memory, in every agent. recall reads and writes the memory Claude Code keeps for each project, so Codex, Cursor or an agent you build yourself can use the same memories, over MCP or from code. Zero dependencies, no vectors, no database: the memories stay plain Markdown files.

Claude Code now remembers things on its own: your corrections, how you like to work, project decisions, where things live. It saves them as Markdown files with [[wiki-links]] under ~/.claude/projects/ /memory/. That is a good format, but only Claude Code reads it. Switch to another agent and it starts from zero.

recall makes that memory portable. It finds the same directory Claude Code uses (same rules, down to its folder-naming hash), reads every file Claude Code writes, and writes files Claude Code reads back.

Quick start: share it over MCP

Try it with sample notes

Run this in Bash or Zsh with Node.js 18 or newer. It creates two temporary notes, asks the read-only MCP server to recall the review note named in requires, and follows its link to checks.

(

sample_dir=$(mktemp -d "${TMPDIR:-/tmp}/recall-demo.XXXXXX") || exit trap 'rm "$sample_dir/review.md" "$sample_dir/checks.md"; rmdir "$sample_dir"' EXIT

printf '%s\n' 'Before merging, follow [[checks]].' > "$sample_dir/review.md" printf '%s\n' 'Run the focused test before merging.' > "$sample_dir/checks.md"

printf '%s\n' \ '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"recall-demo","version":"1"}}}' \ '{"jsonrpc":"2.0","method":"notifications/initialized"}' \ '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"memory_recall","arguments":{"requires":["review"]}}}' | npx -y @fainir/recall@0.3.0 --dir "$sample_dir" --read-only )

In the last JSON response, result.content[0].text contains both Before merging, follow [[checks]]. and Run the focused test before merging. The second line comes from the linked note. Use the setup below to connect your own project.

Connect your project

Point any MCP client at recall and the project's repository. --read-only lets the other agent read what Claude Code remembers without changing it; leave it off to let both write.

Codex

codex mcp add recall -- npx -y @fainir/recall --claude-code /path/to/your/repo --read-only

Cursor (.cursor/mcp.json in the project, or ~/.cursor/mcp.json)

{

"mcpServers": { "recall": { "type": "stdio", "command": "npx", "args": ["-y", "@fainir/recall", "--claude-code", "/path/to/your/repo", "--read-only"] } } }

Cline: in the MCP Servers panel choose Configure, and add the same recall entry as for Cursor to cline_mcp_settings.json. Or ask Cline to "set up the MCP server from https://github.com/fainir/recall": in a test on 2026-11-01 it read this README, added the entry, started the server and listed its tools.

Gemini CLI: gemini extensions install https://github.com/fainir/recall (it serves the memory of the folder you start Gemini in).

Any other MCP client: run npx -y @fainir/recall with the same arguments as a stdio server. Needs Node.js 18+.

The agent then has these tools. Here is a real run against a repository with three memories Claude Code wrote:

> memory_list

3 memories in /Users/you/.claude/projects/-Users-you-code-acme-api/memory:

  • feedback_testing (feedback) - run the integration suite before saying a change works
  • reference_ci (reference) - where CI runs and how to rerun a flaky job
  • user_role (user) - backend lead, prefers short answers with the command to run

memory_recall {"requires": ["feedback_testing"]}

feedback_testing (feedback) - run the integration suite before saying a change works

Run npm run test:int (needs the local Postgres from docker compose), not just npm test. Why: the unit tests mock the database; two "done" changes broke prod queries. How to apply: any change under src/db/ or src/queries/. CI details in [[reference_ci]].

reference_ci (reference) - where CI runs and how to rerun a flaky job

CI is GitHub Actions, workflow ci.yml. Rerun a flaky job with gh run rerun --failed.

tokens_used: 180

memory_recall followed the [[reference_ci]] link on its own. In testing, a Codex agent given only this server answered a question by calling memory_list and then memory_get.

ToolWhat it does
memory_listEvery memory with its type and one-line description. Optional type filter.
memory_getOne memory in full. feedback-testing and feedback_testing both work.
memory_recallThe named memories plus the ones they [[link]] to, trimmed to a token budget. Unknown names come back as missing.
memory_dueMemories old enough to re-confirm before relying on them.
memory_writeSave or replace a memory in Claude Code's format, and add it to the MEMORY.md index. Not offered with --read-only.
memory_deleteDelete a memory and its index line. Not offered with --read-only.

recall-mcp options: --claude-code [repo] (the default, using the current directory), --dir for any other memory directory (add --format claude-code to write Claude Code's file format there), --read-only, and --allow-secrets. RECALL_DIR, RECALL_READ_ONLY=1 and RECALL_ALLOW_SECRETS=1 work as environment variables.

Use it from code

npm install @fainir/recall
import { Recall } from '@fainir/recall';

const memory = Recall.forClaudeCode('/Users/you/code/acme-api'); console.log(memory.dir);

for (const m of await memory.list()) console.log(m.name, '|', m.type, '|', m.description);

const slice = await memory.recall({ requires: ['feedback-testing'] }); console.log(slice.memories.map(m => m.name), slice.tokens_used);

// Save something Claude Code will see in its next session. await memory.write({ name: 'project_freeze', type: 'project', description: 'merge freeze until the 3rd for the mobile release', body: 'No merges to main until Nov 3. Why: mobile release cut.', });

Output (before the write):

/Users/you/.claude/projects/-Users-you-code-acme-api/memory

feedback_testing | feedback | run the integration suite before saying a change works reference_ci | reference | where CI runs and how to rerun a flaky job user_role | user | backend lead, prefers short answers with the command to run [ 'feedback_testing', 'reference_ci' ] 180

write() produces the file Claude Code itself writes:

---

name: project_freeze description: merge freeze until the 3rd for the mobile release metadata: node_type: memory type: project modified: 2026-10-27T17:51:14.486Z


No merges to main until Nov 3. Why: mobile release cut.

and adds a line to MEMORY.md, the index Claude Code loads at the start of every session, leaving the existing lines alone:

- [Testing](feedback_testing.md) - run the integration suite before saying a change works
  • CI - where CI runs and how to rerun a flaky job
  • Role - backend lead, prefers short answers
  • project_freeze - merge freeze until the 3rd for the mobile release

Rewriting an existing memory keeps the fields recall does not own, such as Claude Code's originSessionId.

Where Claude Code keeps the memory

claudeCodeMemoryDir(repo) returns the directory, using Claude Code's rules:

  • The project is the git repository root, so subfolders share one memory, and a worktree uses the memory of its main checkout. Outside git, it is the folder itself.
  • The folder name is the project path with every character other than a-z, A-Z and 0-9 turned into -. Paths longer than 200 characters are cut and given the same hash suffix Claude Code adds.
  • CLAUDE_CONFIG_DIR replaces ~/.claude. CLAUDE_CODE_PROJECT_DIR_NAME (next to CLAUDE_CONFIG_DIR) names the folder. An autoMemoryDirectory setting in the project's .claude/settings.local.json or your ~/.claude/settings.json wins over both.

This was checked against a real ~/.claude/projects folder: the rule reproduced 40 of 41 project folder names, including all three long, hashed ones (the other one belonged to a session that was moved after it started). recall listed and parsed all 194 memory files in it.

API

The package exports the Recall class and claudeCodeMemoryDir(). Every method is async.

CallArgumentsReturns
Recall.forClaudeCode(repo)path inside a project; default the current directorya Recall on Claude Code's memory directory, in claude-code format
new Recall({ dir, format })dir: memory directory. format: recall (default) or claude-codea Recall instance
write({ name, type, description, decay_class, body, extra })name: slug (required). type: user \feedback \project \reference (required). description: one line, default ''. decay_class: permanent \slow \fast \ephemeral, default slow. body: Markdown, default ''. extra: more frontmatter fields{ name, type, decay_class, updated_at }. Creates or replaces / .md; in claude-code format also updates MEMORY.md
get(name)a memory name; - and _ are interchangeable, and a frontmatter name also matchesa Memory, or null
list({ type })optional type filterMemory[], sorted by name
recall({ requires, link_depth, budget_tokens })requires: names. link_depth: [[link]] hops to follow, default 1. budget_tokens: default 2000{ memories: Memory[], tokens_used, missing: string[], dropped: string[] }
dueForReview(asOf)Date or date string, default nowMemory[] past their review window, each with age_days
delete(name)exact memory nametrue if a file was removed, false if it did not exist
claudeCodeMemoryDir(repo)path inside a projectthe directory path (it may not exist yet)

A Memory is { name, type, description, updated_at, frontmatter, body, links }. type and updated_at come from the flat fields or from Claude Code's metadata: block, whichever the file has. links lists the memory names the body links to, deduplicated and in order.

write, get and delete throw on an unsafe name; write also throws on an invalid type or decay_class, a non-string body or description, or a reserved extra key. recall never throws on unknown names; it lists them in missing.

Memory file format

One file per memory, .md, with frontmatter and a Markdown body. recall reads both shapes, whichever format you pick for writing.

Claude Code's format (format: 'claude-code'; older Claude Code files have a flat type: instead of metadata:, and recall reads those too):

---

name: feedback_testing description: run the integration suite before saying a change works metadata: node_type: memory type: f

冒頭だけを表示しています。続きはリポジトリで読めます