# ThoughtDAG (npm · thoughtdag)

Search local AI conversations by file or phrase and recall source turns. Four read-only tools.

- Trust score: 78/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-28

## Components

- npm · `thoughtdag`: 78/100 (this document), [markdown](https://verifymcp.io/servers/chenxiachan-thoughtdag/thoughtdag.md), [page](https://verifymcp.io/servers/chenxiachan-thoughtdag/thoughtdag)

## Channel facts

- Registry: `npm`
- Package: `thoughtdag`
- Version: `0.2.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-09-28.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - No production dependencies, so there is no dependency health to assess.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to chenxiachan/thoughtdag).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 0 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 69/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 310 tokens (~77/item across 4 items; 4 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 78/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 33% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 4 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 4 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the ThoughtDAG MCP server?

ThoughtDAG runs locally as an npm package, launched with npx -y thoughtdag. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add chenxiachan-thoughtdag -- npx -y thoughtdag
```

### Cursor

```json
{
  "mcpServers": {
    "chenxiachan-thoughtdag": {
      "command": "npx",
      "args": [
        "-y",
        "thoughtdag"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "chenxiachan-thoughtdag": {
      "command": "npx",
      "args": [
        "-y",
        "thoughtdag"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add chenxiachan-thoughtdag -- npx -y thoughtdag
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "chenxiachan-thoughtdag": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "thoughtdag"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add chenxiachan-thoughtdag --command npx --arg -y --arg thoughtdag
```

### Hermes

```yaml
mcp_servers:
  chenxiachan-thoughtdag:
    command: "npx"
    args: ["-y", "thoughtdag"]
```

### Netclaw

```json
{
  "McpServers": {
    "chenxiachan-thoughtdag": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "thoughtdag"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add chenxiachan-thoughtdag -t stdio -c npx -a -y thoughtdag
```

### Other

```json
{
  "mcpServers": {
    "chenxiachan-thoughtdag": {
      "command": "npx",
      "args": [
        "-y",
        "thoughtdag"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-09-27 (score 78)

First indexed and scored.

## MCP tools (4)

### `why_check` (~58 tokens)

Cheap first question before editing a file: does this artifact have any history in local agent sessions? One line; history true/false.

Input parameters:

- `path` (string, required): file path (absolute or relative to cwd), URL, or arxiv:<id>

### `why_file` (~113 tokens)

The turns across local Claude Code, Codex, DeepSeek Harness, Pi and ThoughtDAG sessions that touched a file, URL or paper: when, what changed (Δ, observed), what was asked, what the answer said about it (≈, a candidate explanation, not a verified reason). Each hit carries a deep link.

Input parameters:

- `include_read` (boolean): also list turns that only read it (default false)
- `limit` (number): max hits (default 10)
- `path` (string, required)

### `find` (~82 tokens)

Where these exact words were asked (Q), answered (A) or attached (M) across local sessions, canvases and the memories Claude Code and Codex keep for themselves. Exact, case-insensitive match; every hit is a verbatim snippet with a pointer.

Input parameters:

- `in` (string)
- `limit` (number)
- `phrase` (string, required)

### `recall_turn` (~57 tokens)

One turn in full — the question, the answer, the tool calls with their diffs — by session id (or prefix) and turn number as shown by why_file.

Input parameters:

- `session` (string, required)
- `turn` (number, required)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/chenxiachan-thoughtdag/thoughtdag#diagnostics

## Score history

- 2026-09-28: 78
- 2026-09-27: 78

## Common questions

### What is the ThoughtDAG MCP server?

ThoughtDAG is an MCP server listed in the public MCP registry as io.github.chenxiachan/thoughtdag. Search local AI conversations by file or phrase and recall source turns. Four read-only tools. This page covers its npm package (thoughtdag).

### Is the ThoughtDAG MCP server safe to use?

ThoughtDAG scores 78 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 28 September 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the ThoughtDAG MCP server expose?

ThoughtDAG exposes 4 tools: why_check, why_file, find, recall_turn. Their descriptions and schemas cost roughly 310 tokens of context every time the server is loaded.

### Is the ThoughtDAG MCP server still maintained?

ThoughtDAG is still listed as active in the MCP registry. We last reached this channel on 28 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the ThoughtDAG MCP server under?

ThoughtDAG declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/thoughtdag
- Socket report: https://socket.dev/npm/package/thoughtdag
- Repository: https://github.com/chenxiachan/thoughtdag
- Website: https://chenxiachan.github.io/thoughtdag/docs/guides/why-layer
- Changelog RSS feed: https://verifymcp.io/servers/chenxiachan-thoughtdag/thoughtdag.xml
- Changelog JSON feed: https://verifymcp.io/servers/chenxiachan-thoughtdag/thoughtdag.json
- HTML version of this page: https://verifymcp.io/servers/chenxiachan-thoughtdag/thoughtdag
