プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

brain — the recorder

作者:mordechaipotashバージョン 2.0.0i★ –iパソコンで動く
レジストリ名io.github.mordechaipotash/brain-mcp

インストール

概要

作者による説明(英語の原文)

Records your Claude Code, Codex and Pi history before deletion. Cited-or-abstain recall.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 開発者ツール

インストール

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

インストールの前に

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "brain": {
      "command": "uvx",
      "args": [
        "brain-mcp"
      ],
      "env": {
        "BRAIN_HOME": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add brain --env BRAIN_HOME=your-value -- uvx brain-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "brain": {
      "command": "uvx",
      "args": [
        "brain-mcp"
      ],
      "env": {
        "BRAIN_HOME": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "brain": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "brain-mcp"
      ],
      "env": {
        "BRAIN_HOME": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • BRAIN_HOME env
    Data directory for the floor (default ~/.brain)

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

開発者ツールのほかのサーバーとの比較i

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

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

よくある質問

brain — the recorderは安全ですか?

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

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

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

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

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

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github広く使われている★ 3.4万5 日前更新

パソコンでもクラウドでも

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er広く使われている↓ 71万/週★ 1万17 日前更新

パソコンで動く

Cloudflare MCP

Cloudflare MCP servers

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

クラウドで動く✓ mcp.cloudflare.com

作者のREADME

READMEを開く

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

brain-mcp — the recorder for your AI conversations

Your AI history is being deleted right now. Claude Code deletes session files older than cleanupPeriodDays (default 30) at startup. Run this and see your own cliff edge:

# macOS

find ~/.claude/projects -name '*.jsonl' -exec stat -f '%Sm %N' -t '%Y-%m-%d' {} + | sort | head -3

Linux

find ~/.claude/projects -name '*.jsonl' -printf '%TY-%Tm-%Td %p\n' | sort | head -3

The oldest date you see is where your history ends. brain-mcp records it before it goes — the whole session, subagent transcripts and saved tool output included, byte-exact, content-hashed, locally — makes it queryable with citations you can verify with sed and shasum, tells you what was deleted, and puts it back.

If Claude Code deleted it

brain-mcp health          # the receipt: "3 session(s) and 41 file(s) are gone from where the

agent kept them; the floor holds every one" — each re-hashed

against the manifest when the recorder first noticed it

brain-mcp restore --list # what can be put back brain-mcp restore # writes the session (and its folder) back, byte-exact, then:

cd && claude --resume

restore never overwrites different bytes (identical bytes are a no-op), is all-or-nothing, and takes --dry-run and --to . It is a CLI verb only — no MCP tool writes outside the floor.

Install

pipx install brain-mcp           # or: uvx brain-mcp

brain-mcp install cc # CC hooks + 60-second scheduler brain-mcp serve # the MCP server (stdio) — add to your client config

Or as a Claude Code plugin (hooks + server in one step):

/plugin marketplace add mordechaipotash/brain-marketplace

/plugin install brain

What it does

  • Captures at source. Claude Code via Stop/SessionEnd hooks (line-deltas + a final snapshot); Codex, Pi, and everything inside a Claude Code session's own folder (subagent and workflow transcripts, .meta.json, tool-results/) via a 60-second poll-scan. One spool, one floor.
  • Keeps the bytes. The floor is ~/.brain/lake/ / .jsonl — append-only, byte-identical to the original, with an append-only sha256 manifest. Nothing is parsed and discarded; the DuckDB index is a cache, fully re-derivable from the lake.
  • Cites or abstains. Every search hit carries {file, line span, sha256} — checkable by anyone with sed -n 'A,Bp' file | shasum -a 256, no database required. Zero hits return an explicit abstention naming the lanes and dates actually searched.
  • Reports health honestly. fresh = the floor holds everything the agent's files show; stale = the agent has content the recorder missed; `unknown` = unmeasured, not healthy — never folded into "looks fine".
  • Backs up verifiably. brain-mcp backup syncs lake+manifest and re-hashes sampled files at the destination. The verify can fail; that is the point.
  • One network fetch, ever, and it is not about you. No telemetry, no cloud, no accounts, and no HTTP client in this package. The exception: DuckDB downloads its full-text-search extension (fts) from DuckDB's own extension repository the first time the index is built, and caches it under ~/.duckdb. brain-mcp install does that fetch up front and says so; brain-mcp doctor reports whether it is cached.

The 7 MCP tools

toolwhat
brain_searchBM25 over everything recorded; cited hits or an explicit abstention
brain_getthe raw lines behind a citation, with sha verification
brain_recenttime-ordered recent activity, every row cited
brain_sessionssession cards per day/agent
brain_healthper-lane origin-vs-floor freshness (unknown ≠ healthy), plus the receipt of what the agents deleted
brain_capture_statusis the machinery itself moving (spool, heartbeats, floor)
brain_backupverified backup; writes only outside the floor

🤖 For AI Assistants

*You're reading this because your human runs THE RECORDER and gave you access to their AI history. This is the honesty contract.*

The one rule: everything you state from these tools is either CITED or ABSTAINED — there is no third state. A cited claim carries a checkable pointer (file + line span + sha256); verify it with brain_get(expect_sha256=...) before building on it. An abstention means "not found above threshold in the lanes and dates the tool measured" — it does NOT mean "it never happened". Never fill an abstention with your own guess.

  • Present recall as their words, dated: *"On 2026-08-19 you wrote: '…' (sess-7f2a.jsonl:412)"* — never as your own knowledge. One claim, one citation.
  • verified: false from brain_get means the floor changed since indexing. Say so plainly.
  • A health response containing any unknown lane is never "everything looks fine". The honest sentence is: "2 lanes fresh, 1 stale, 1 unmeasured."
  • "What do I think about X" → brain_search(query, role="user"). That returns what the PERSON wrote: text the harness injected under the user role (skill bodies, reminders, slash-command wrappers, compaction summaries, Codex context blocks — a quarter to two thirds of "user" rows, measured) is excluded unless you pass include_machine=True, and subagent transcripts unless include_subagents=True. "How did my thinking evolve" → add order="time_asc"; bound it with since / until. The server has no opinion about your human's mind; it has their words, with receipts.

The floor format

~/.brain/

spool/ / hooks + scanner write here (atomic, dot-tmp invisible) lake/ / .jsonl THE FLOOR: append-only, byte-identical to the origin; a rewrite opens .g2.jsonl — old kept, never deleted lake/cc_sessiondir/ / /... a CC session's folder, mirrored at the same relative paths (subagents/, tool-results/, *.meta.json) manifest/manifest.jsonl one versioned line per chunk: byte range, line range, sha256 offsets/ / hook fast-path line counters health/*.last_run side-effect heartbeats (mtimes are the proof, never a report) brain.duckdb the index — a cache, re-derivable from lake/ + manifest/

Where your agents keep their transcripts: Claude Code ~/.claude/projects/**/*.jsonl (rolling window!), Codex ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl, Pi ~/.pi/agent/sessions/**/*.jsonl.

Other verbs

brain-mcp record                  # one capture tick (the scheduler runs this every 60s)

brain-mcp health [--exit-nonzero-on-stale] # cron-able brain-mcp doctor # capture status, health, fts cache, the receipt, runaway generations brain-mcp restore [ ] [--list] [--to DIR] [--dry-run] # put a deleted session back brain-mcp redact --lines A B --reason "..." # tombstone a secret; audited in manifest brain-mcp migrate-v1 # import v1 data (marked v1_derived) brain-mcp uninstall # removes hooks + scheduler; your floor is KEPT

v1 → v2

v2 is a rebuild around one principle: capture the bytes first; derive everything else. v1 parsed conversations into a parquet and discarded the originals — v2's floor makes that structurally impossible. v1's 25 tools became 7: the synthesis tools ("cognitive patterns", "switching cost") are gone because a claim that can't carry a line-span citation isn't one this server makes. Migration: brain-mcp migrate-v1 — v1 rows are kept, marked as derived, and floor-backed rows win wherever the source still exists.

Windows: out of scope for v2.0. Scheduling is LaunchAgent (macOS) / systemd user timer (Linux).

MIT.

PopNxに聞く