mindin について
mindin は、エージェントの記憶を Markdown ノートとして保存する MCP サーバー兼 CLI です。ノートはフォルダー、S3 バケット、またはボールトサーバーに置けます。スキーマ検証付きの更新、インデックス検索、Git 対応のセッションフックを備え、ノートの管理権限は利用者にあります。
主な機能
- 01フォルダーまたは S3 の Markdown ボールト
- 02スキーマ検証付きノート書き込み
- 03言語処理対応のインデックス検索
- 04オプションのローカル意味検索
- 05ライフサイクルコマンドと lint
- 06Git 対応のセッション開始フック
活用シーン
- 01エージェントやシェルからプロジェクトノートを検索
- 02スキーマ違反のノート更新を拒否
- 03関連ノート以降のコミットを確認
- 04ボールトサーバーでデバイス間のノート共有
MCP 対応
ボールトサーバーは MCP エンドポイントを提供し、claude.ai などのクライアントからノートを検索、読み取り、書き込みできます。mindin にはボールトを検索・管理する CLI もあります。
設定
ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。
uvx mindinVAULT_PATHDirectory holding the vault. Set this or the four S3_* variables.S3_ENDPOINTS3 or MinIO endpoint URL holding the vaultS3_ACCESS_KEYシークレットAccess key for the vault bucketS3_SECRET_KEYシークレットSecret key for the vault bucketS3_BUCKETBucket holding the vaultS3_PREFIXKey prefix inside the bucketS3_REGIONRegion for the vault bucketVAULT_CACHE_DIRWhere the SQLite index livesVAULT_SCHEMALocal schema file overriding the one in the vaultVAULT_STOP_HOOKSet to off to disable the stop hookVAULT_STOP_HOOK_COMMITSSet to off to turn off the stop hook's unlogged-commit and stale-note checks aloneVAULT_STOP_HOOK_PROMPTSMessages the user writes after the agent's last vault write before the stop hook asks it to save them (default 3), or offローカルサーバーにはマシン上の実行環境(Node.js 18 以上など)が必要です。設定ファイルの場所はクライアントごとに異なります。
ツール
ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。
README(原文)English
プロジェクトの README よりこの README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。
mindin
Memory for Claude and coding agents, kept as markdown notes you own, with a schema that holds and a tie to your git history.
Install
curl -fsSL https://mindin.dev/install.sh | sh
It installs the mindin command with uv, asks where your vault lives (a folder, an S3 bucket or a vault server), and offers to add the vault to Claude Code, Codex and Cursor; it changes nothing in them without a yes. mindin was called notes-vault-mcp: the notes-vault-mcp package and command still work, and install and run mindin.
A vault server
A vault server with Docker Compose, for claude.ai, Claude Desktop, mobile and every machine you work on. You need a domain pointing at the machine, ports 80 and 443 open, and an SMTP account for sign-in links.
mkdir notes-vault && cd notes-vault
curl -fsSL -O https://github.com/gronare/mindin/releases/latest/download/compose.yml -O https://github.com/gronare/mindin/releases/latest/download/Caddyfile
curl -fsSL -o .env https://github.com/gronare/mindin/releases/latest/download/example.env
docker compose run --rm --no-deps vault master-key generate # paste into .env, with VAULT_HOST and SMTP
docker compose up -d
docker compose exec vault mindin accounts invite [email protected]
Then open https://VAULT_HOST/account and sign in. Install with Docker walks through each step.
Without the script, on one machine: uv tool install mindin, then mindin setup.
mindin asks before it shares anonymous usage data, and sends nothing until you say yes: then, once a day, a random install id, mindin's version, the OS and CPU type and how mindin runs (plugin, CLI or server) go to signals.mindin.dev, never notes, names, paths or your vault's address. mindin setup --signals yes|no changes the answer. The install signal has the details.
Use
Add the server's address, https://VAULT_HOST/mcp, as a custom connector in claude.ai. Claude searches, reads and writes your notes. The same search from a shell on a signed-in machine:
$ mindin search "signing in"
1 note · archive and superseded hidden
myapp system 3 days
Areas/myapp.md
## Sign-in Users sign in with passkeys; email links are the fallback.
What you get
- Notes you own. Plain markdown in a folder or an S3 bucket; open them in Obsidian, keep them in git.
- A schema with teeth. Required fields, legal statuses and kinds, a tag vocabulary; a write that breaks the contract is refused. Start from PARA, a simple vault, a journal or your own layout.
- A lifecycle.
closearchives finished work,backlog_addfiles what was deferred,log_appendwrites one line per repo per session,lintreports drift. - Memory tied to code. A note names the paths it describes; the session-start hook prints the commits newer than the note.
- Search that reads your languages. Stemming, folded diacritics, synonyms, and optional search by meaning that runs on your machine.
- Your own vault server. Accounts with passkeys, email links, GitHub or your identity provider, several vaults each, shared vaults, sealed in storage.
Documentation
docs/ has the install guides, the how-tos for each client, the reference for every tool, command and setting, and how it works.
License
MIT. See LICENSE.
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。