crewmemory
チームのすべてのAIコーディングエージェントのための共有メモリ — Claude Code、Codex、Cursor、 Gemini CLI、opencode、Windsurf、Claude Desktop、または任意のMCPクライアント。
メモリは自分が所有するgitリポジトリ(GitHubまたは任意のgitホスト)に保存されます。保存はすべて自動的に コミットされプッシュされ、読み取りは常に最新を先にプルします。チームメイトのエージェントが修正、 決定、作業中の内容を記録すると、数秒後にはあなたのエージェントもそれを把握します。
サーバーの実行は不要。クラウドデータベースも不要。ロックインなし。単なるmarkdown + gitです。

インストール
ワンコマンド(パッケージ公開後)
uvx --from crewmemory-mcp crewmemory install codex --repo https://github.com/org/crewmemory.git --user alice --launcher uvxcodex を claude-code、claude-desktop、cursor、gemini、opencode、または
windsurf に置き換えてください。uv がインストールされていれば、同ジコマンドがWindows、macOS、Linixで動作します。登録後、クライアントを再起動してください。
プライベートメモリポジトリの場合、--token <fine-grained-token> も渡してください。そのリポジトリに限定され、Contentsの読取/書込アクセス権を持つトークンを使用してください。
ソースコードのチェックアウトからインストール
uv venv .venv
uv pip install --python .venv/bin/python -e .
.venv/bin/crewmemory install codex --repo https://github.com/org/crewmemory.git --user aliceWindowsでは、実行ファイルは .venv\Scripts\crewmemory.exe です。
対応クライアント: claude-code、claude-desktop、codex、cursor、gemini、opencode、
windsurf。インストーラーは既存の設定をバックアップしてマージし、冪等で、エージェントの外部でも
crewmemory doctor と crewmemory ui が動作するようにプライベートなローカル接続プロファイルを保存します。
またはAIに頼むだけ
このフォルダで実行中のエージェントにこれを貼り付けてください:
Claude Code用のcrewmemory MCPサーバーとして自分自身をインストールしてください。私のメモリリポジトリは https://github.com/org/crewmemory.git、名前は alice、トークンは github_pat_xxx です。
エージェントが crewmemory install claude-code ... を実行してくれます。手動でのツール呼び出しは不要です。
プロジェクト検出
セッション開始時、MCPの指示によりエージェントは
team_context(project_path="<absolute workspace root>") を呼び出します。これにより現在のGitリポジトリ
とブランチが動的に選択されるため、1つのグローバルなMCPインストールが複数のプロジェクトにわたって機能します。
crewmemory init は任意で、人間と診断のためにプロジェクトをローカルレジストリに記録します。
crewmemory init # registers the project; reads branch/git identityいつでも検証
crewmemory doctor # config, connectivity, project detection, countsRelated MCP server: bikky
ヒューマンダッシュボード(エージェント不要)
crewmemory ui # opens http://127.0.0.1:8765 in your browser
crewmemory ui --port 9000 --no-browserチーム全体のためのローカルWebダッシュボード — エージェントに頼らずすべてを確認できます:
現在のチーム — 誰が今何に取り組んでいるか、進捗バー、⛔ ブロッカー、古くなったバッジ
アクティビティ — 全員のすべてのメモ/決定/解決策/ステータス/削除の完全なタイムライン
メモリ — 6種類すべての閲覧と検索、作成者/種類でのフィルタリング、全文展開
プロフィール — メンバーの役割、タイムゾーン、git の識別情報
概要 — 種類/作成者/プロジェクト/ライフサイクルごとの件数 + ストレージ情報
読み取り専用で、127.0.0.1 にのみバインドし、30秒ごとに自動更新されます。追加の依存関係はゼロです。
Windows
完全サポート:
uv venv .venv-win
uv pip install --python .\.venv-win\Scripts\python.exe -e .
.\.venv-win\Scripts\crewmemory.exe install claude-code --repo ... --user alice --token ...
.\.venv-win\Scripts\crewmemory.exe uiメンバー名はすべてのプラットフォームで安全なファイル名にサニタイズされ(_member_filename)、CodexのTOML値はWindowsのパス/バックスラッシュ/引用符に対して適切にエスケープされ、すべてのgit呼び出しは GIT_TERMINAL_PROMPT=0 で実行されるため、入力待ちでハングすることはありません。
エージェントができること(ツール)
領域 | ツール |
セッション |
|
スマート検索 |
|
生検索 |
|
知識の保存 |
|
プレゼンス |
|
ハンドオフ |
|
ライフサイクル |
|
Gitネイティブ |
|
コード対応 |
|
人間向け |
|
機能一覧
共有クルーメモリ(自分ノgitホスト上)· 個人用プライベートメモリ(ローカルのみ、プッシュされない)
Gitネイティブストレージ: markdown + YAML frontmatter、競合ゼロのファイル戦略(一意のファイル名、ユーザーごとのステータス/アクティビティファイル)
自動セッション同期(読み取り/書き込みのたび)· 手動同期ツール · オフライン対応(書き込みはローカルにコミットし、プッシュは後で再試行)
ユーザー&メンバープロフィール。git configから自動生成(
crewmemory init)進捗追跡とブロッカー追跡(チームステータス内、古さマーカー付き)
決定メモリ、落とし穴、パターン、解決策、ハンドオフ — 6種類のエントリ
メモリのライフサイル: 未検証 → 検証済み → 置き換え済み/古くなった。信頼度スコアは経過時間と、リンクされたコードの変更によって減衰します(コード変更を考慮した減衰)
保存時の競合/重複検出 + 統合ファインター
来歴: 作成者の帰属、コミットにリンクされたメモリ、メモリごとの完全な
git log --follow履歴タイムトラベル: 任意のコミット/タグ/ブランチでクルーメモリを読む
ブランチ対応コンテキスト: エントリはプロジェクト+ブランチを記憶し、
recallは現在のブランチに一致するものを優先しますコンテキスト予算管理:
recallが最適なメモリを文字予算に収まるようにパックしますコード統合: ファイルにリンクされたメモリが、PRと決定のレビュー、PR後の廃止メモリ検出、このコードはなぜ存在するかの調査、blameの相互参照、コミット要約を強化します
プロジェクト単イのメモリ: エントリは検出されたプロジェクトスラッグでタグ付けされ、ステータスには project@branch が表示されます
ファセット検索: タグ、作成者、ファイル、種類、プロジェクト(セマンティック検索: 今後の作業)
MCPベース、stdioトランスポート、デフォルトでセルフホスト/オープンソース
リポジトリ構成(自動生成)
notes/ decisions/ solutions/ gotchas/ patterns/ handoffs/ # memory types
status/ current focus per member (task, %, blockers)
activity/ append-only timeline per member
profiles/ member profiles設定(チームメイトごと)
変数 | 必須 | 意味 |
| 必須 | メモリポジトリのURL |
| 必須 | アイデンティティ(作成者、コミット、ステータス) |
| プライベートリポジトリ | Contentsの読取+書込が可能なPAT |
| 任意 | コミット用メール |
| 任意 | ブランチを固 |
| 任意 | コードポジトリのパス(指定しない場合はcwdから自動検出) |
| 任意 | データディレクトリ(デフォルト |
手動設定スニペット(自分で設定を編集したい場合)はインストーラーに含まれています。インストーラーは正確にこの形で書き込みます:
{ "mcpServers": { "crewmemory": {
"command": "/path/to/crewmemory",
"env": { "CREWMEMORY_REPO_URL": "...", "CREWMEMORY_USER": "...", "CREWMEMORY_TOKEN": "..." }
} } }Codexは ~/.codex/config.toml 内の [mcp_servers.crewmemory] を使用し、OpenCodeは mcp.servers.*.type=local の形を使用します。どちらも crewmemory install codex/opencode で処理されます。
推奨されるチームワークフロー
CLAUDE.md / AGENTS.md に追加してください:
At session start call team_context(project_path="<absolute workspace root>"), then update_status() for your task.
Use recall() before researching anything the team may know.
Save durable learnings immediately (log_solution/log_decision/save_gotcha/save_pattern).
When switching tasks update update_status(); at day's end call save_handoff().あるいは、組み込みプロンプト /session-start、/ssion-end、/pr-review-flow を使用してください。
セキュリティ
秘密情報をメモリに保存しないでください — 読取可能なgitリポジトリです。
公開メモリポジトリにすると、チームのすベてのメモ、ステータス、パス、ハンドオフが公開されます。プライベートを推奨します。
プライベートリポジトリ + ファイングレインPAT(メンバーごとに1つ、Contents: RW)が想定されたセットアプです。
トークンはローカルの環境変数/設定のみに保持されます。すベてのgit出力はエージェントに渡る前に秘匿されます。
公開
このリポジトリには、クロスプラットフォームのCI、wheel/sdistチェック、PyPIのトラステッドパブリッシングワークフローが含まれています。リリースチェックリストについては PUBLISHING.md を参照してください。
トラブルシューティング
crewmemory doctorがすベてを診断し、正確な修正方法を表示します。認証に失敗 → トークンにメモリポジトリのContents読取+書込が必要です。
再試行後もプッシュに失敗 → 変更はローカルで安全(キュー済み)です。後で
sync_memoryを実行してください。「Points to a different remote」→
~/.crewmemory/<repo>を削除するか、CREWMEMORY_LOCAL_PAThを設定してください。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to maintain persistent, cross-session memory of codebase architecture, naming conventions, and decisions through MCP tools. Eliminates repetitive project re-explanation by automatically injecting stored context into every session with local-first SQLite storage and optional team sharing capabilities.4MIT
- AlicenseAqualityAmaintenanceProvides persistent memory for AI coding agents via MCP, enabling teams to share and recall facts across sessions. Automatically captures, classifies, and curates knowledge from supported transcript sources.18601AGPL 3.0
- AlicenseAqualityAmaintenanceShared, code-grounded memory for developers and their coding agents. Capture a learning once and the whole team plus every agent recalls it; memory is grounded in your code and stored as git-tracked JSON reviewed in PRs, with citations validated on write and stale memory withheld from recall. Works with any MCP client.1131GPL 3.0
- AlicenseAqualityAmaintenanceMCP server that gives coding agents persistent, verified memory of codebase decisions, conventions, and skills, with evidence-based claims that are re-checked via git hooks and human-gated review. Enables memory search, propose/approve, chat harvesting, and critique across MCP-compatible tools.217661MIT
Related MCP Connectors
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
One shared brain for your AI coding agents: team memory, agent Q&A, tasks, and file claims.
An MCP memory server. One memory your agents share — across models, devices and apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/GIGAParviz/crewmemory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server