Skip to main content
Glama

World Model MCP

AIコーディングエージェント向けの永続メモリ+オプションの署名付き監査。

world-model-mcp は、AIコーディングエージェント向けの永続メモリに加え、耐量子署名付きでオフライン検証可能な監査証跡(FIPS 205 ハイブリッド Ed25519 + SLH-DSA)を提供します。MITライセンスで、完全にローカルで動作します。

world-model-mcp は、エージェントが毎ターン照会するローカル SQLite ナレッジグラフを同梱しています。ハルシネーションは検証可能になり、修正はセッションをまたいで定着し、リグレッションは本番に載る前に検出されます。監査チェーンを有効にすると、すべてのイベントが FIPS 205 ハイブリッド Ed25519 + SLH-DSA で署名され、オフラインで永久に検証できます。MITライセンス、完全ローカル動作、Claude Code、Cursor、Codex、Continue、Cline、Windsurf、GitHub Copilot Chat、pi、OpenClaw、Hermes Agent を含む10以上のAIコーディングエージェントに対応しています。

最新: v0.16.2。 world-model demo は、最後にライブの公証ビートを実行します: 3つのサンプル決定が実際のハイブリッド署名エポック(Ed25519 + SLH-DSA-SHA2-128f、FIPS 205)に署名され、VALID と検証され、1バイトを変更してタンパー検出がライブで作動することを証明し(INVALID)、その後復元されます。サインアップ不要、トークン不要、ネットワーク不要。カレントディレクトリに world-model-demo-receipt.json を出力し、コピー&ペースト用の etch.systems/verify#<manifest> URL を表示します。v0.16.1 では、ローカルの liboqs ビルドが SLH-DSA なしでコンパイルされた場合に(デモをクラッシュさせる代わりに)グレースフルにスキップするようになりました。完全なバージョン履歴は CHANGELOG.md にあります。

10秒で試す

pip install -U world-model-mcp && world-model demo

3つのサンプル決定がタンパー検出可能なエポックに署名され、その後デモが1バイトを変更して再検証し、タンパーが即座に検出されること(INVALID)を証明し、その後復元して再検証します(再びVALID)。オフライン、アカウント不要、ネットワーク不要です。world-model-demo-receipt.json がカレントディレクトリに出力され、共有可能な etch.systems/verify#… URL が表示されるので、誰でもブラウザで同じレシートを確認できます。

PyPI Downloads License: MIT Python 3.11+ world-model-mcp MCP server DOI

mcp-name: io.github.SaravananJaichandar/world-model-mcp


Related MCP server: context-atlas

マネージドホステッド版をお好みですか?

OSSサーバーを自分で運用せずに同じ署名付き監査チェーンを利用したい場合は、etch.systems がこのパッケージをオフライン参照検証器として使用するマネージド版を提供しています。

  • 運用するインフラは不要(サインアップなしで30秒で最初のイベントをPOST)

  • SR 11-7、EU AI Act 第12条、ISO 42001、NIST AI RMF、SOC 2 CC7 へのコンプライアンスフレームワーク対応

  • エンドツーエンドで提供される外部アンカリング(Sigstore Rekor + Bitcoin OpenTimestamps)

  • MCPクライアントツール(Claude Code、Cursor、Continue、Cline、Codex)間での鍵ローテーションと委任を備えたポータブルなエージェント単位のアイデンティティ

  • オフライン検証器は同じまま: pip install world-model-mcp && etch-verify manifest.json は、ホステッドサービスがオンラインであることに依存せず、固定された公開鍵に対してホステッドチェーンを検証します

curl -X POST https://etch.systems/v1/your-project

ベアラートークンと、任意のMCP互換クライアントを接続できるMCPエンドポイントを返します。完全なドキュメントは etch.systems にあります。


FAQ

world-model-mcp とは何ですか? world-model-mcp は、AIコーディングエージェント向けの永続メモリに加え、耐量子署名付きでオフライン検証可能な監査証跡を提供し、エージェントが毎ターン照会するMCPサーバーとして公開されます。完全にローカルで動作し、MITライセンスのPython+10以上のAIコーディングエージェント向けのオプションのアダプタとして提供されます。

Mem0、Letta、その他のエージェントメモリツールとは何が違うのですか? world-model-mcp は、メモリと並行してハイブリッド耐量子署名付き監査チェーン(FIPS 205 Ed25519 + SLH-DSA-SHA2-128f)を提供し、オフライン参照検証器(etch-verify)と、ホステッドの etch.systems コンパニオン経由で利用可能な二重外部アンカリング(Sigstore Rekor + Bitcoin OpenTimestamps)を備えた、唯一のエージェントメモリツールです。同種のツール(Mem0、Letta、agentmemory)は、署名付き監査チェーンなしでメモリのみを提供します。メカニズム別の内訳は下の「比較」表を参照してください。

監査証跡は耐量子セキュリティを備えていますか? はい。閉じられた各エポックにはハイブリッド署名が付与されます: Ed25519(古典)+ SLH-DSA-SHA2-128f(FIPS 205 ステートレスハッシュベース耐量子署名)。将来、Ed25519だけを破る量子敵対者でも、同じペイロードに対するSLH-DSA署名に直面することになります。チェーンを偽造するには両方の署名を偽造する必要があります。

アカウントなしでオフラインのレコードを検証するにはどうすればよいですか? pip install -U world-model-mcp && world-model demo を実行してください。デモは3つのサンプル決定を実際のハイブリッド署名エポックに署名し、etch-verify CLI が読み取るのと同じマニフェスト形式をエクスポートして VALID と検証し、1バイトを変更してタンパー検出がライブであることを証明し(INVALID)、その後復元して再検証します。world-model-demo-receipt.json がカレントディレクトリに出力され、誰でもブラウザでレシートを確認できる etch.systems/verify#… URL が表示されます。サインアップ不要、ネットワーク不要です。

対応しているAIコーディングエージェントはどれですか? Claude Code、Cursor、Codex、Continue、Cline、Windsurf、GitHub Copilot Chat、pi、OpenClaw、Hermes Agent です。それぞれに github.com/SaravananJaichandar/world-model-mcp-<agent>-starter の下に専用のスターターレポジトリがあります。MCPワイヤーフォーマットは標準なので、MCP対応クライアントなら同じツールを利用できます。

このOSSパッケージとホステッドの etch.systems サービスのどちらを使うべきですか? 独自のインフラで監査チェーンを運用したい場合や、社内ツールに署名付きメモリを追加したい場合は、このOSSパッケージ(MITライセンス、完全ローカル)を使用してください。同じ監査チェーンを、コンプライアンスフレームワーク対応(SR 11-7、EU AI Act 第12条、ISO 42001、NIST AI RMF、SOC 2 CC7)とMCPクライアントツール間のポータブルなエージェント単位のアイデンティティを備えたマネージドサービスとして利用したい場合は、etch.systems を使用してください。オフライン参照検証器はどちらの場合も同じです: pip install world-model-mcp && etch-verify manifest.json は、OSS生成またはホステッド生成のいずれのマニフェストも、固定された公開鍵に対して検証します。


他のエージェントメモリ+エージェント監査プロジェクトとの比較

エージェントメモリ領域が収束しつつある監査/署名/アンカリングの各次元について、名前を挙げた8つの競合製品との直接比較のポジショニングです。world-model-mcp の各セルには来歴フラグが付いています: own = 出荷製品で測定/観察されたもの、cited = 競合他社自身の公開ランディングページ、リポジトリ、またはプレスから取得したもの。

この表のソース・オブ・トゥルースはホステッドサービスのリポジトリにあります: world-model-mcp-hosted/src/etch/competitor_matrix.py。どちらかを変更した場合は両方の場所で更新してください。

world-model-mcp (このリポジトリ) + Etch (ホステッド)

Mem0

Letta

agentmemory

Unicity AOS

Repowise

Trinitite

Caura

FailproofAI

署名方式

Ed25519 + SLH-DSA-SHA2-128f (ハイブリッド) [own]

なし(保存時暗号化のみ)

なし

なし

BLAKE3 ハッシュチェーン

決定論的シグナル(署名なし)

署名 + ハッシュチェーン(アルゴリズム非開示)

なし

開示なし

ポスト量子対応

はい(SLH-DSA、NIST FIPS 205) [own]

いいえ

いいえ

いいえ

いいえ(BLAKE3 ハッシュのみ)

いいえ

非開示

いいえ

いいえ

オフライン参照検証ツール

etch-verify CLI、ストリーミング、PyPI パッケージに同梱 [own]

いいえ

いいえ

いいえ

非開示

いいえ(SaaS のみ)

ブラウザベースの検証ツール

いいえ

いいえ

アテステーション周期の強制

定期実行 systemd タイマー + オンデマンド検証 [own]

いいえ

いいえ

いいえ

非開示

いいえ

定期アテステーション実行

いいえ

いいえ

フレームワーク対応(条項 / 管理策 ID)

EU AI Act Art. 12-15, SOC 2 CC6.6/7.2/7.3, ISO 27001 A.12.4/A.14.2 [own]

SOC 2 + HIPAA(バッジのみ、管理策ごとの対応なし)

非開示

いいえ

非開示

EU AI Act(ネガティブスペースによる主張)

条項ごとの引用(EU AI Act、SOC 2、SR 11-7)

SOC 2 取得中バッジ

SOC 2 エンタープライズ層のみ

ドリフト検出

エポックごとのチェーン整合性 + アテステーション傾向 [own]

いいえ

成功率 + エラー追跡

いいえ

非開示

コードヘルススコアの差分

決定論的リプレイ + リスクスコアの差分

いいえ

評価器スコアの差分

アノテーションサポート(チェーン内の署名付き人間メモ)

pin_annotation MCP ツール、同じチェーンに署名 [own]

いいえ

いいえ

いいえ

非開示

いいえ

非開示

いいえ

いいえ

ブラウザ検証ツール

はい、/auditor/<slug> のチェーン整合性ウィジェット [own]

いいえ

いいえ

いいえ

非開示

いいえ

はい

いいえ

いいえ

共有リンク(監査人アクセス、ログイン不要)

はい、期限付き共有トークン(bs_ プレフィックス、最大30日) [own]

いいえ

いいえ

いいえ

非開示

いいえ

はい、期限付き監査人アクセス

いいえ

いいえ

外部アンカー(独立証人ログ)

二重:Sigstore Rekor + Bitcoin OpenTimestamps(公開、プロジェクトごとにオプトアウト) [own]

いいえ

いいえ

いいえ

内部ハッシュチェーンのみ(外部ログなし)

いいえ

非開示

いいえ

いいえ

OSS ライセンス

MIT(world-model-mcp) [own]

Apache 2.0

Apache 2.0

Apache 2.0

非開示

AGPL v3(コア)

OSS なし

Apache 2.0

OSS なし

GitHub スター数

etch.systems/api/oss-stats 経由のスナップショット [cited]

61.6k [cited]

23.9k [cited]

24.9k [cited]

7.1k [cited]

4.2k [cited]

公開リポジトリなし

373 [cited]

公開リポジトリなし

公開資金調達

自己資金 [own]

$24.5M [cited]

$10M [cited]

非開示

$3M シード 2026年2月 [cited]

非開示

非開示

非開示

非開示

コンプライアンス体制(ランディングページでの主張)

SOC 2 Type I 取得中(2026年8月目標) [own]

SOC 2 + HIPAA(トラストサブドメインにバッジ)

非開示

コンプライアンス体制なし

コンプライアンス体制なし

SOC 2 なし、EU AI Act のネガティブスペースによる主張

条項ごとのコンプライアンス枠組み

SOC 2 取得中バッジ

SOC 2 エンタープライズ層

この表の読み方:

  • 太字のセルは、このリポジトリ(OSS)またはホステッドサービス(etch.systems)で提供されるメカニズムを示します。

  • 競合他社のセルは、各競合の公開ランディングページ / リポジトリ / プレスから引用したものです。当社による測定ではありません。

  • world-model-mcp セルにある [own] は、当社自身がそのメカニズムを測定・観察したことを意味します。[cited] は、その値が第三者ソースからのものであることを意味します。

  • この表には、監査 / 署名 / アンカリングの側面のみが含まれます。一般的なメモリ機能(検索精度、アダプタの幅、LLM サポート)については、下記の機能セクションで説明します。


数値

ベンチマーク

スコア

詳細

SWE-bench Verified repeat-mistake

単一試行の上限として +10.2 ポイント(49 のペアインスタンスで 67.3% → 77.6%);マルチシード平均効果は インスタンスあたり +0.24、95% CI [0, 0.47]

事前登録済み、Claude Code 2.1.177 ヘッドレス、Zenodo DOI 10.5281/zenodo.21076824。ドメイン内 +15.0 ポイント、クロスドメイン +6.9 ポイント、単一試行分割では回帰ゼロ。

Contradiction-resolution

100.0%(auto 戦略)

105 ペア × 19 カテゴリ、決定論的(LLM なし)。v0.11.0 から出荷。

Coach-Player verification

100.0% 完全一致

12 の手動ラベル付きペア(4 件が根拠あり、4 件が部分的、4 件が幻覚)。独立した Coach LLM によるレイヤー 3 の敵対的検証。v0.12.12 から出荷。

SWE-bench の数値が主要な実証的主張です。他の 2 つは、出荷済みコンポーネントの内部正確性ベンチマークです。再現スクリプトは各ベンチマークディレクトリまたはリンク先リポジトリにあります。


テスト

1,494 のユニットテスト + 統合テスト + ファズテスト(出荷済みコードベース全体)。カバレッジ下限は 71% / 66% にゲートされています(liboqs に SLH-DSA を含む CI ランナーと含まない CI ランナー向けの 2 段階)。

# Run tests
pytest -q

# With coverage
pytest --cov=world_model_server --cov-report=term-missing

# Fuzz targets (Atheris, requires Clang / libFuzzer)
python fuzz/fuzz_verify_manifest.py fuzz/corpus/ -max_total_time=60

# Non-Atheris smoke fuzz (runs in every CI pass, no system deps)
pytest tests/test_fuzz_smoke_verify.py -q

特筆すべきテストスイート:

  • FIPS 205 SLH-DSA 既知回答テスト(tests/test_fips_205_slh_dsa_kat.py):SLH-DSA-SHA2-128f のパラメータサイズを固定(公開鍵 = 32 バイト、秘密鍵 = 64 バイト、署名 = 17,088 バイト)、誤った鍵 + 誤ったメッセージ + 変異した署名の拒否を含む署名/検証ラウンドトリップ、さらに恒久的に true を検証しなければならない固定 KAT ベクターフィクスチャ(tests/fixtures/slh_dsa_kat_vectors.json)。

  • ストリーミング検証ツールのバイトパリティ(tests/test_etch_verify_streaming.py):インメモリエクスポーターとストリーミングエクスポーターの間でバイト単位で同一の出力を固定します。これにより、監査人がマニフェストを記録の成果物としてハッシュ化した場合、オペレーターがどちらのエクスポーターを使用したかに関係なく、同じ manifest_sha256 が得られます。

  • 矛盾ベンチマーク(benchmarks/contradictions-200/):105 ペア × 19 カテゴリ、決定論的。すべてのコミットで auto 戦略を 100% に固定します。

CI はすべてのプッシュでカバレッジ下限と完全なテストスイートをゲートします。.github/workflows/pytest.yml を参照してください。


認証済み監査チェーン(v0.13+、オプトイン)

監査証跡を暗号的に検証可能にする必要があるデプロイメント(SOC 2、HIPAA、EU AI Act、または自社の内部管理策リスト)向け:

export WORLD_MODEL_AUDIT_LOG=on
# then start the world-model-mcp server as normal

初回のオプトイン起動時に、サーバーは既存のaudit.dbファイル内に2つの新しいSQLiteテーブル(tamper_evident_logとtamper_evident_epochs)を作成し、最初のエポック終了時に新しいハイブリッド鍵ペアを生成します。以降のすべてのイベントはSHA-256マークルチェーンに追記されます。エポックが終了するとき(デフォルト: 1024イベント)、チェーンルートはハイブリッドなEd25519 + SLH-DSA-SHA2-128fエンベロープで署名されます。古典暗号+耐量子暗号の組み合わせにより、仮に楕円曲線暗号が破られたとしても、監査証跡は無傷のまま残ります。

  • オフラインで永久に検証可能。 etch-verify CLIはPyPIパッケージに同梱されています。監査人は自分のラップトップで実行するだけで、初期ダウンロード後はネットワークアクセスは不要です。

  • 署名は順序だけでなく作者を証明します。 ハッシュチェーン方式では改ざんされていないことは証明できても、誰が署名したかを証明することはできません。このチェーンはその両方を満たします。

  • ダッシュボード不要、サインアップ不要、外部サービス不要。 ローカルSQLiteに対してプロセス内で完全に動作します。

詳細はdocs/AUDIT_LOG.mdをご覧ください。

KMSバックアップ鍵、公開透過性ログ、Sigstore Rekor + Bitcoin OpenTimestampsへの外部アンカリング、コンプライアンス向けオペレーターダッシュボードを追加したホステッド版については、Etchコンパニオンを参照してください。


クイックスタート

最も一般的な3つのインストール方法です。その他の対応クライアント(Cursor、Cline、Codex、Continue、Copilot、Windsurf、Goose、pi、OpenClaw、Hermesなど)については、etch.systems/docs/installを参照してください。

オプション1: Claude Desktop(ワンクリック)

Releasesから最新の.mcpbをダウンロードし、Claude Desktopにドラッグ&ドロップします。フック、MCPサーバー設定、依存関係が自動インストールされます。

オプション2: Claude Code / IDEプラグイン(pip install)

# 1. Install the package
pip install world-model-mcp

# 2. Set up in your project (auto-seeds the knowledge graph from existing code)
cd /path/to/your/project
python -m world_model_server.cli setup

# 3. Restart Claude Code
# Done. The world model is pre-populated and active.

次のステップ(任意): ローカルの署名付き監査ログを、ホステッドのEtchノータリーで監査人検証可能なチェーンに変換できます。KMSバックアップ鍵、公開透過性ログ、外部アンカリング、監査人向け共有リンクを備え、インフラの運用は不要です。ホステッドコンパニオン: Etchを参照してください。

オプション3: リモート / MCPトンネルデプロイ用のHTTPトランスポート

pip install 'world-model-mcp[http]'
python -m world_model_server.server --transport http --port 8000

MCPをStreamable HTTP経由で公開し、リモートエージェントがネットワーク越しに接続できるようにします。認証、CORS、リバースプロキシ設定についてはdocs/http_transport.mdを参照してください。

その他のクライアント

OSS CLI経由でインストールします。各コマンドはそのクライアントに適した設定を書き込みます(デフォルトではsys.executableをインタープリターパスとして使用、クライアントごとのフォーマットに対応、--forceおよび--dry-runフラグによる上書き防止機能付き):

python -m world_model_server.cli install-cursor     # Cursor
python -m world_model_server.cli install-cline      # Cline
python -m world_model_server.cli install-codex      # Codex
python -m world_model_server.cli install-continue   # Continue (also --global)
python -m world_model_server.cli install-copilot    # GitHub Copilot Chat (VS Code Insider)
python -m world_model_server.cli install-windsurf   # Windsurf
python -m world_model_server.cli install-pi         # pi
python -m world_model_server.cli install-openclaw   # OpenClaw
python -m world_model_server.cli install-hermes     # Hermes (MCP mode)
python -m world_model_server.cli install-hermes-provider  # Hermes (Elixir-native provider)

クライアントごとの完全なチュートリアル(検証コマンド+トラブルシューティング付き)はetch.systems/docs/installにあります。


機能概要

world-model-mcpは、AIコーディングエージェントとその作業の間に位置する時間的知識グラフです。コードベースから事実、エンティティ、制約を記録し、編集境界で学習済みの制約に対してすべてのコード変更を検証し、コンテキストウィンドウ圧縮後に関連コンテキストを再注入し、信頼度重み付けによる解決で矛盾を追跡し、独立したCoach LLMによる敵対的検証で取得結果を検証します。

機能

1. 幻覚防止。 記録されたすべての事実には来歴(asserted_by、confirmer、confirmation_state、evidence_type)が付与されます。エージェントが事実を照会すると、回答とともに信頼度スコアが返されます。2つの事実が矛盾する場合、新しい方/信頼度の高い方が優先され、敗れた方はsuperseded_byとして保持されます。エージェントは保存された事実が現在も有効かどうかを推測する必要がありません。

2. 修正からの学習。 エージェントを修正すると(record_correction)、その修正は関連エンティティを含むファーストクラスのイベントとして保存されます。次回エージェントがそれらのエンティティに関連する何かを照会すると、修正が最初に表示されます。修正はセッションをまたいで、コンテキスト圧縮をまたいで、エージェントの再起動をまたいで保持されます。

3. 回帰防止。 すべてのコード変更提案はvalidate_changeを通過します。これは制約グラフを走査し、編集が適用される前に違反を返します。制約はコードベースから自動的に学習され(seed_project)、PRレビューコメントによって強化され(ingest_pr_reviews)、手動で作成されます(record_event)。エージェントは違反、提案、制約の出典を確認できます。

4. Coach-Player敵対的検証。 Playerエージェントが決定を起草します。独立したCoachエージェントがグラフを再照会して先例を探し、マークル証明を検証し、ハイブリッド署名を確認してから承認します。CoachはPlayerの要約を決して信頼せず、毎回署名済み台帳に対して再検証します。12組の手動ラベル付きペアで100%完全一致。

完全な技術アーキテクチャはdocs/ARCHITECTURE.mdにあります。


MCPツール

8つのツールが同梱されています。1行の概要です。各ツールのシグネチャと例についてはdocs/mcp/の各項目をクリックしてください。

ツール

機能

query_fact

来歴+信頼度+出典付きで保存済みの事実を取得

record_event

監査チェーンにイベントを追記(event_typeは固定enumから)

validate_change

学習済み制約に対してコード変更提案をチェックし、違反+提案を返す

get_constraints

エンティティまたはファイルパターンに一致するすべての制約を一覧表示

record_correction

ユーザーの修正を保存し、次回の関連クエリで再表示させる

get_related_bugs

指定ファイルに影響するバグ+ファイルごとのリスクスコアを取得

seed_project

既存のコードベースを知識グラフに一括取り込み

ingest_pr_reviews

最近のPRレビューコメントを制約に変換

完全なツールドキュメントはdocs/mcp/にあります。


ホステッドコンパニオン: Etch

world-model-mcpをローカルで実行していますか?Etch (etch.systems)は、同じOSSコア上に構築されたホステッドガバナンスプレーンであり、コンプライアンスチームが本番利用を承認するために必要な機能を追加します:

  • KMS暗号化署名鍵(保存時は平文にしない)

  • 署名付きヘッドを持つ公開透過性ログ(分割ビュー耐性)

  • Sigstore Rekor + Bitcoin OpenTimestampsへの外部アンカリング(二重独立証人)

  • セッショントレース、チェーン整合性ビュー、PIIスキャン、クライアント回答PDFエクスポートを備えたオペレーターダッシュボード

  • スタンドアロン監査CLI+/auditor/<slug>のブラウザ検証ツール

  • 無料ティア、それを超えると従量課金

同じ暗号プリミティブ、同じ監査ログスキーマ、同梱OSSへのソース変更ゼロ。スタンドアロンで実行している場合はスキップしてください。

どちらが自分に適しているか?

状況

ルート

ローカルのAIコーディングエージェント用に永続メモリが欲しい

world-model-mcp(このリポジトリ、MIT)

6ヶ月後に規制当局にエージェントの決定を証明したい

etch.systems

裁判所が自己認証できる署名付き証拠バンドルが欲しい

etch.systems

署名付き監査履歴のチーム間・ベンダー間連携が欲しい

etch.systems

両方試してみたい

ローカルでworld-model-mcpから開始し、他者が検証するための署名付き証拠が必要になったらEtchを追加


仕組み

world-model-mcpは、SQLiteをバックエンドとする時間的知識グラフを公開するMCPサーバー(stdioまたはStreamable HTTP)です。エージェントの各ターンはグラフを照会し、各コード変更や修正は書き戻されます。起動時にサーバーは既存のコードベースから自動シードし、シャットダウン時にクリーンにフラッシュします。

.claude/world-model/配下の6つのデータベース:

  • entities.db: ファイル、関数、クラス、シンボル

  • facts.db: 来歴+信頼度付きの意味的事実

  • relationships.db: 依存関係、呼び出し、インポート

  • constraints.db: エージェントが尊重すべき学習済みルール

  • sessions.db: セッションごとのコンテキスト追跡

  • events.db: 不変イベントログ(オプトイン時の監査チェーン)

図解付きの完全なアーキテクチャはdocs/ARCHITECTURE.mdにあります。


設定

環境変数(すべて任意):

変数

目的

デフォルト

WORLD_MODEL_AUDIT_LOG

署名付き監査チェーンを有効化

off

WORLD_MODEL_DB_PATH

SQLiteデータベースディレクトリを上書き

.claude/world-model

WORLD_MODEL_TELEMETRY

匿名OSSテレメトリーにオプトイン(プライバシーを参照)

off

ANTHROPIC_API_KEY

オプションのLLMバックアップ機能を有効にする場合のみ使用

なし

完全な設定リファレンスはdocs/CONFIGURATION.mdにあります。


プライバシーとセキュリティ

  • テレメトリーはデフォルトでオフ。 WORLD_MODEL_TELEMETRY=onでオプトインすると、集計されたインストールレベルのメトリクスがetch.systems/api/telemetry/ingestに送信されます(エンドポイントURLのみ、ソースコードなし、プロンプトなし、PIIなし)。DELETE /api/telemetry/install/{install_id}による消去権に対応。

  • コア操作にANTHROPIC_API_KEYは不要。 一部のオプション機能(Coach-Playerレイヤー3検証、LLMバックアップ再ランキング)は、キーが提供された場合にAPIを使用します。キーがなくても、その他すべては動作します。

  • セキュリティ問題の報告: security@etch.systemsまでメールしてください。PGPキーはリクエストに応じて提供します。

完全な詳細はdocs/PRIVACY.mdにあります。


コントリビューション

コントリビューションを歓迎します。開発環境のセットアップ、コーディング標準、言語サポートの追加、テストの作成、PRの提出についてはCONTRIBUTING.mdを参照してください。

特に支援が求められている分野:

  • 言語パーサー(Go、Rust、Java、C++)

  • 追加のMCPクライアントアダプター

  • フレームワーク統合(LangGraph、CrewAI、AutoGen、LlamaIndex。スターターシムはホステッドリポジトリにあります)

  • benchmarks/へのベンチマーク貢献

最初のPRの前にCLA.mdをお読みください。


ライセンス

MITライセンス。商用・個人利用ともに無料です。


リンク

Available Tools

31 tools
export_claude_mdB

Generate a CLAUDE.md document from the knowledge graph (top constraints, recent decisions, known bug regions, co-edit patterns).

Inputs: max_constraints.

find_contradictionsC

Find pairs of facts that contradict each other based on similarity and status differences

Inputs: limit, query.

get_agents_md_constraintsA

Parse AGENTS.md / CLAUDE.md / GEMINI.md / .agents/skills/*.md in the project and return declarative constraints. Mixed into PreToolUse enforcement automatically; this tool exposes the same data for inspection.

Inputs: file_path, project_dir.

get_audit_log_headA

v0.13 tamper-evident audit log. Return the current head state (last log entry seq, last closed epoch seq, unclosed-entry count) plus the full closed-epoch chain with hybrid signature envelopes. Compliance auditors call this periodically to verify no operator misbehavior has occurred since the last check. Requires WORLD_MODEL_AUDIT_LOG=on at server startup.

Inputs: no named parameters.

get_co_edit_suggestionsB

Get files commonly edited alongside the given file based on historical patterns

Inputs: file_path (required), limit.

get_compaction_auditA

List recent compaction audit entries, most-recent first. Filter by session_id or limit count.

Inputs: limit, session_id.

get_constraintsA

Get constraints (linting rules, patterns, conventions) for a file

Inputs: file_path (required), constraint_types.

get_context_for_actionC

Pre-action context bundle: constraints, decisions, bugs, co-edits, related facts, and risk score for a file before editing

Inputs: file_path (required), action_type (required).

get_decision_logC

Get decision traces showing agent proposals and human corrections

Inputs: limit, file_path, session_id, decision_type.

get_health_reportA

Memory health diagnostics: orphans, stale facts, contradictions, decay candidates, DB sizes

Inputs: no named parameters.

get_injection_contextB

Return a compact constraint+fact bundle for PostCompact / UserPromptSubmit hooks to re-inject after context loss.

Inputs: event_type (required), max_facts, project_hint, max_constraints.

ingest_pr_reviewsA

Pull GitHub PR review comments and convert them into learned constraints in the knowledge graph

Inputs: repo, count.

pin_annotationA

Attach a signed human annotation (note, override rationale, or intervention record) to a span of agent events. Persists into the annotations table and chains into the same Merkle audit log as agent writes (v0.15.0, ADR-0001). Rationale limited to 8 KB.

Inputs: author (required), rationale (required), session_id (required), annotation_type (required), +2 more.

predict_regressionA

Score regression risk for a proposed change to a file based on past bugs, test failures, and constraint violations

Inputs: file_path (required), change_description.

predict_test_failuresA

Surface tests likely to fail given a set of edited files

Inputs: file_paths (required).

promote_constraintB

Promote a constraint from this project to all other registered projects

Inputs: constraint_id (required), target_projects.

prove_entry_inclusionA

v0.13 tamper-evident audit log. Return a cryptographic inclusion-proof bundle for a persisted row_id (fact, constraint, event, or decision ID). Bundle includes the entry, the containing signed epoch (Ed25519 + SLH-DSA hybrid signature envelope), an RFC 6962 Merkle inclusion proof, and the full epoch chain from genesis. Requires WORLD_MODEL_AUDIT_LOG=on at server startup; returns an error object when opt-in is off, when the row_id is not found, or when the entry is in the unclosed backlog.

Inputs: row_id (required).

query_factB

Query the knowledge graph for facts about entities (APIs, functions, classes, etc.)

Inputs: query (required), context, entity_type, content_type.

recall_transcript_rangeC

Hydrate a Claude Code session transcript by line range. Lets agents trace a fact back to the exact conversation that produced it.

Inputs: session_id (required), line_end, line_start.

record_compaction_auditA

Record a context-compaction event with token counts and what was re-injected. Lets developers audit what was remembered across compaction boundaries.

Inputs: session_id, raw_summary, facts_injected, injection_event, +3 more.

record_correctionC

Record a user correction to Claude's output (high-priority learning signal)

Inputs: session_id (required), claude_action (required), user_correction (required), reasoning.

record_decisionC

Record a decision trace: what the agent proposed and how the human responded

Inputs: session_id (required), decision_type (required), file_path, reasoning, +3 more.

record_eventC

Record a development event (file edit, test run, etc.)

Inputs: event_type (required), session_id (required), description (required), success, +3 more.

record_test_outcomeC

Record test results and link failures to recent code changes

Inputs: session_id (required), test_results (required).

resolve_contradictionC

Pick a winner between two contradicting facts using a confidence-weighted strategy (auto, keep_higher_confidence, keep_most_recent, keep_most_sources, supersede_a, supersede_b, manual).

Inputs: fact_a_id (required), fact_b_id (required), notes, strategy.

search_globalC

Search entities across all registered world-model projects

Inputs: query (required), limit.

seed_projectA

Scan the project codebase and populate the knowledge graph with entities and relationships from existing code

Inputs: force, project_dir.

simulate_changeC

Project blast radius and historical outcomes for a proposed change

Inputs: file_path (required), change_description (required).

validate_changeB

Validate a proposed code change against known constraints

Inputs: file_path (required), change_type (required), proposed_content (required).

verify_retrievalA

Adversarially verify an answer is grounded in a specific set of facts. An independent Coach LLM call checks each material claim in the answer against the supplied source facts and returns confidence (HIGH / MEDIUM / LOW), verified + unverified claim lists, and per-claim source_pointers. Never raises; failures return LOW + error populated. v0.12.12.

Inputs: query (required), answer (required), fact_ids (required), verification_model.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 31 tools

    Disambiguation2/5

    Several tools have poorly separated boundaries: validate_change, simulate_change, predict_regression, and predict_test_failures all appear to assess the impact of a proposed change, differing mainly in subtle emphasis. Similarly, query_fact, search_global, and get_context_for_action overlap heavily in fact retrieval, and record_correction, record_decision, and pin_annotation all capture human feedback. An agent would frequently struggle to select the right tool without reading every description.

    Naming Consistency5/5

    Every tool follows a consistent snake_case verb_noun pattern, e.g., get_constraints, record_event, predict_regression, prove_entry_inclusion. Even the more unusual names like pin_annotation and seed_project fit the same imperative structure. This is a highly predictable and uniform naming convention.

    Tool Count2/5

    31 tools is well beyond the 25+ threshold for a single server and will overwhelm tool selection, especially given the many overlapping prediction and retrieval tools. The server would be more coherent with roughly half the current surface area, consolidating related reads and writes into broader commands.

    Completeness4/5

    The domain is broadly covered: it supports knowledge-graph population and queries, event and decision recording, constraint ingestion and validation, regression prediction, audit-log integrity, compaction auditing, and context export. Minor gaps exist, such as no explicit fact/constraint update or delete lifecycle and no project listing tool, but the core workflows are well supported.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI coding agents with pre-edit situational awareness by combining structural call graphs and co-change history to prevent incomplete edits. It surfaces files that historically change together, reducing missed coupled modules.
      3
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables coding agents to query a local, versioned knowledge graph of a software project, retrieving overviews, context packs, evidence, and explanations to make informed changes.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to maintain a persistent knowledge graph of a project, providing dependency context, impact analysis, side-effect discovery, and session recording for more informed coding decisions.
      5
      MIT
    • F
      license
      B
      quality
      B
      maintenance
      Turns local code repositories into a queryable dependency graph built from AST parsing and git co-edit history, then exposes it alongside an Obsidian vault as persistent memory. Enables context retrieval, impact analysis of proposed changes, and curation of durable prose knowledge through full-text search and Personalized PageRank classification—all fully offline without API keys or embeddings.
      30
      -