Threadmap Mcp

io.github.Advertflair由 GitHub 帳號 Advertflair 發布v1.0.0更新於 Nov 3, 2026

Conversation drift visualization for Claude. Color-coded inflection points and one-click forking.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

追蹤 Claude Code 對話的偏離程度,為每則訊息依原始意圖評分,並可從任一節點分岔出乾淨的分支。

可以做什麼
  • 在指定工作階段中記錄訊息,取得偏離分數與顏色標記
  • 檢視整段對話的彩色時間軸地圖
  • 從任一訊息索引分岔出命名分支
  • 為分支擷取乾淨的脈絡摘要,方便交接
  • 查看目前偏離狀態、封存並重設討論串、顯示顏色圖例
適用情境
適合 Claude Code 長工作階段逐漸偏離最初目標時,用來找出轉折點並從乾淨脈絡重新開始。也適合在團隊交接前整理已定案的決策。
執行需求
透過 npx threadmap-mcp 以 stdio 在本機執行,需要 Node.js 與 npx。未宣告任何帳號、API 金鑰、環境變數或標頭。README 說明可加入 Claude Code 或 Claude 桌面端設定檔。
安裝前請注意
傳給追蹤工具的對話內容會依工作階段 ID 保存在本機,請勿在受追蹤的訊息中貼上機密資訊。分岔與重設工具會建立分支、封存討論串,改變已儲存的工作階段狀態。另附的 Chrome 擴充功能需開啟開發人員模式,並會注入 claude.ai 頁面。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Threadmap Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

🗺️ ThreadMap MCP for Claude

Conversation drift visualization and forking for Claude.

Stop losing your original intent. See exactly where your conversation drifted. Fork from any point and pick up with clean context.


See it in action

Color dots on every message — live drift tracking:

[ThreadMap drift dots demo]

Timeline panel with fork buttons at every inflection point:

[ThreadMap timeline panel]


Two ways to use ThreadMap

MCP ServerChrome Extension
Works inClaude Code (terminal)claude.ai (browser)
Installclaude mcp add threadmap npx threadmap-mcpLoad unpacked from chrome-extension/ folder
What you get7 tools — track, timeline, fork, branchColor dots on every message, timeline panel, one-click fork
Best forDevelopers building with Claude CodeAnyone using claude.ai daily

Both are in this repo. Use one or both.


Chrome Extension — Visual dots in claude.ai

The Chrome extension injects ThreadMap directly into the claude.ai interface. No config. Just install and open Claude.

Install (2 minutes)

1. Clone or download this repo2. Open Chrome → chrome://extensions3. Enable Developer mode (top right toggle)4. Click Load unpacked → select the chrome-extension folder5. Open any Claude conversation — ThreadMap activates automatically

What you see

  • Color dot next to every message showing drift % from your original intent
  • Sticky bar at the top with live drift status and message count
  • ↺ rescan — loads all messages from long previous conversations
  • timeline — full conversation map, click any row to jump to that message
  • ⑂ fork — opens a new Claude chat with full context pre-loaded in the input

How forking works

  1. Click ⑂ fork in the timeline or next to any message bubble
  2. A new claude.ai tab opens automatically
  3. The full context (origin intent + all messages up to that point) is pasted into the input
  4. Review and hit Send — Claude picks up from the clean version

Chrome extension files

chrome-extension/├── manifest.json     — Extension config (Manifest v3)├── content.js        — Core drift engine + DOM injection├── threadmap.css     — All injected styles├── popup.html        — Extension popup with color legend├── icon16.png        — Icons├── icon48.png└── icon128.png

Heads up: The extension uses Developer mode (load unpacked). A Chrome Web Store version is on the roadmap.


MCP Server — Claude Code integration

The MCP server adds 7 tools to Claude Code for programmatic drift tracking.

Install

bash
claude mcp add threadmap npx threadmap-mcp

Or manually add to ~/.claude/claude_desktop_config.json:

json
{  "mcpServers": {    "threadmap": {      "command": "npx",      "args": ["threadmap-mcp"]    }  }}

Quick start

threadmap_track(sessionId="myproject", role="user", content="build me a login system with JWT auth")→ 🔵 Blue — Drift: 0% — Origin intent set
threadmap_track(sessionId="myproject", role="user", content="the refresh token keeps expiring after 30 seconds")→ 🟠 Orange — Drift: 63% — ⚡ INFLECTION POINT detected
threadmap_timeline(sessionId="myproject")→ Full color-coded map of all messages with fork instructions
threadmap_fork(sessionId="myproject", messageIndex=6, branchName="jwt-debug")→ 🌿 Branch created — clean context from messages 1–7

All 7 tools

ToolWhat it does
threadmap_trackTrack a message, get drift score + color
threadmap_timelineFull color-coded conversation map
threadmap_forkFork from any message index
threadmap_branch_contextClean context packet for any branch
threadmap_statusQuick current drift check
threadmap_resetArchive thread, start fresh
threadmap_legendShow color reference guide

Color system

ColorDriftMeaning
🔵 Blue0–15%On track — core intent
🟢 Green16–35%Productive expansion
🟡 Yellow36–55%Adjacent drift
🟠 Orange56–72%Inflection point — meaningful pivot
🔴 Red73–88%Full context break
🟣 Purple89–95%Meta — talking about the conversation
⚪ White96–100%Resolution

Orange and Red = fork candidates. The conversation has left your original intent behind.


Real-world use cases

Claude Code — architecture integrity Track every message while building. Orange = scope creep. Fork before the drift gets worse. Architecture decisions from the first 10 messages stay clean.

Long previous conversations Click ↺ rescan in the Chrome extension. ThreadMap scrolls to the top, loads all messages, scans every one, then returns you to the bottom — all dots appear.

Team handoffs Use threadmap_branch_context to extract a clean summary of what was decided. Paste it into a new session — no scrolling through 200 messages.


Why open source?

Non-linear conversation navigation is the missing primitive for AI-native work. Right now Claude conversations are books with no table of contents, no chapters, no bookmarks.

ThreadMap is the table of contents. If this becomes the standard, it travels across Claude, GPT, Gemini, anything. Nobody owns it. Everybody benefits.


Roadmap

  • Local embedding model (MiniLM) for richer semantic scoring
  • Chrome extension on Chrome Web Store (no developer mode required)
  • Cross-session persistence (SQLite mode)
  • Visual timeline export (SVG/HTML)
  • GPT / Gemini compatibility

Contributing

MIT licensed. See CONTRIBUTING.md.

bash
git clone https://github.com/Advertflair/threadmap-mcpcd threadmap-mcpnpm installnpm run build

PRs welcome especially for: better drift scoring, Chrome extension improvements, and other AI platform support.


License

MIT — see LICENSE


Built by Advertflair. Open source. Ship it.

來源:README.md,提交 9bfa530

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分