Skip to main content
Glama

CoT 推論マップ

Claude の思考連鎖から学ぶ。拡張思考トレースをインタラクティブな推論マップに変換する、Claude Code 向け MCP アプリ (SEP-1865) — 型付きムーブ(フレーミング、仮説、 検証、バックトラック、自己修正、洞察、アクション、結論)を依存関係エッジと破棄エッジを持つグラフ、努力タイムライン、リプレイモード、 そして CoT の逐語的な抜粋へのクリックスルーとしてレイアウトします。

API キーは不要です。すでに実行中の Claude セッションがアノテーションを行います。

仕組み

  1. list_sessions — 思考ブロックを含む最近の Claude Code トランスクリプト (~/.claude/projects/**/*.jsonl) を検索します

  2. get_thinking — セッションから番号付きの思考ブロックとツール呼び出しスケルトンを抽出します

  3. 呼び出し元の Claude が思考を型付きムーブと逐語的な抜粋にアノテーションします

  4. show_reasoning_map — ムーブをチャット内にインラインでインタラクティブウィジェットとしてレンダリングします (Claude Code デスクトップアプリ / claude.ai; ターミナル CLI ではテキストフォールバック)

「最後のセッションの推論をマップして」や「デモの推論マップを見せて」のように言ってください (引数なしの呼び出しではサンプルデータをレンダリングします)。

Related MCP server: Sequential Thinking MVP Server

インストール

Node 18+ が必要です。

git clone https://github.com/matanma12/cot-widget-spike.git
cd cot-widget-spike
npm install && npm run build
claude mcp add cot-spike --scope user -- node "$(pwd)/server.js"

Claude Code を再起動し、推論マップを依頼してください。

開発

  • server.js — MCP サーバー(stdio; Streamable HTTP の場合は npm run serve:http で :3001 を使用)

  • mcp-app.html + src/mcp-app.js — ウィジェット(@modelcontextprotocol/ext-appsApp

  • npm run builddist/mcp-app.html にバンドル(vite-plugin-singlefile)

  • node test-client.js — stdio 経由のプロトコルスモークテスト

ステータス / ロードマップ

動作中: 取り込み、ホストモデルアノテーションループ、グラフ + タイムライン + リプレイ + 抜粋、Claude Code デスクトップでのインラインレンダリング確認済み。 次: フックによるライブセッションフォロー、トレース間のパターンライブラリ、次のムーブ予測リプレイ、claude.ai へのデプロイ。

MIT ライセンス。

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.

  • Let Claude, Cursor, or ChatGPT author Mermaid diagrams your team can read and share.

  • AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).

View all MCP Connectors

Latest Blog Posts

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/matanma12/cot-widget-spike'

If you have feedback or need assistance with the MCP directory API, please join our Discord server