TraceWeave logo

TraceWeave

Debugs RTL simulations by connecting logs, VCD/FSDB/FST waveforms, hierarchy, and source-level signal analysis.

Install TraceWeave

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "traceweave": {
      "command": "uvx",
      "args": [
        "traceweave-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

TraceWeave MCP server connects RTL compile records, VCS/Xcelium/Verilator logs, VCD/FSDB/FST waveforms, and source files for evidence-based simulation debugging. It can identify and compare failure groups, inspect signals around a timestamp or across clock cycles, browse testbench hierarchy, and trace connectivity, drivers, loads, and X/Z propagation. Use it when a failed simulation needs a path from the first error or waveform event back to relevant RTL or testbench logic.

Use cases

  • Investigate the first failure in a VCS or Xcelium simulation
  • Compare failure signatures and waveform behavior across two runs
  • Trace an X or Z value back through drivers and connectivity
  • Inspect handshake and pipeline signals around a failure timestamp
  • Browse compiled hierarchy and locate relevant RTL or UVM source

Key features

  • Grouped simulation-log failure analysis
  • VCD, FSDB, and FST waveform queries
  • Cycle-aligned and time-window signal inspection
  • On-demand testbench hierarchy exploration
  • NPI, Source Graph, and static connectivity tracing
  • Failure comparison and structural risk scanning

Tools38

What TraceWeave lets your agent do. Expand a tool for its parameters.

Verified live~14.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/24 checks healthy over the last 76d

What it can do

From the 38 tools this server returned when we ran it.

Runs commands · 1Can delete or modify data · 1Handles credentials · 1Makes network requests · 1Read-only tools · 36
Network at startup2 connections
Files written at startup13

Observed 2026-10-24 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · traceweave-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars132Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Tools exposed38Callable tools this server registers over MCP.

How TraceWeave works

What TraceWeave does

TraceWeave links simulation evidence that is usually spread across compile and elaboration records, runtime logs, waveform databases, and RTL or testbench source. It supports VCS, Xcelium, and Verilator logs, plus VCD, FSDB, and FST waveform analysis. Formal waveforms can also be queried, with automatic artifact discovery currently covering JasperGold.

The workflow can begin with discovered simulation paths or a parsed failure log. From there, tools can focus on the first failure, compare two runs, inspect nearby signal activity, and connect observed behavior to hierarchy and source. Structural scans provide investigation leads for patterns such as constant connections, open inputs, and constant comparisons; these findings are heuristic rather than confirmed causes.

How it works

Log parsing groups runtime failures by normalized signature and captures context for the first group. Other groups can be expanded with targeted log-context queries. Baseline snapshots or a second log path allow comparisons of resolved, persistent, and newly introduced failures, including timing and X/Z changes.

Waveform times are expressed in picoseconds. TraceWeave can search hierarchical signal names, read values at a point, return transitions in a bounded interval, sample multiple signals around a failure, or align samples to an explicit clock path. Named cursors let a session reuse time anchors without copying integer timestamps between calls.

Hierarchy analysis starts with a compile or elaboration log and optional companion phase logs. The resulting handle supports targeted subtree, file, instance, class, and section queries without retaining raw source bodies. Signal-driver, load, and connectivity queries may use Verdi NPI, a bounded Source Graph, or legacy static analysis. Results identify backend provenance, coverage, truncation, and whether a result is exhaustive before it is used as a negative or exclusive claim.

Setup and configuration

Repository installation targets simulation hosts with Verdi and enables FSDB, Source Graph, and optional NPI or LSF features:

server.ts
git clone https://github.com/gokeshenzhen/TraceWeave.git
cd TraceWeave
export VERDI_HOME=/path/to/verdi
bash scripts/install.sh

Use bash scripts/install.sh --check for a read-only installation check. A PyPI installation is suitable for logs, VCD, and basic static analysis:

bash
python3.11 -m pip install "traceweave-mcp[source-graph]"
traceweave-mcp --doctor

Python 3.11 or newer is required. The PyPI package does not include the FSDB reader. Repository installation is also required for optional FST support; its reader can be installed with the repository's Python environment. FSDB requires the Synopsys FSDB Reader SDK in VERDI_HOME, while NPI and KDB operations require the relevant EDA runtime and site license.

The server exposes stdio settings for MCP clients. Repository clients launch the repository virtual-environment Python executable with server.py; PyPI clients launch traceweave-mcp. Installation scripts can print configuration templates for Claude Code and Codex. Set TRACEWEAVE_NPI_VENDOR_DIRECT=1 when direct vendor access is needed instead of proxy routing. KDB builds use TRACEWEAVE_CACHE_DIR for their cache; LSF execution is selected with TRACEWEAVE_NPI_EXECUTION=lsf.

Tools and capabilities

  • Discover simulation, compile, elaboration, and waveform files.
  • Parse, contextualize, compare, and prioritize simulation failures.
  • Search VCD or FSDB signals and inspect values, transitions, cycles, and waveform metadata.
  • Build and query testbench hierarchy, compiled-file symbols, and UVM class inheritance.
  • Scan source for structural risk patterns.
  • Explain drivers, find loads, trace structural paths, and follow X/Z propagation.
  • Build or refresh Verdi KDB artifacts from parsed compile logs.
  • Register, list, and delete session-scoped time cursors.

Limitations and notes

Waveform support depends on the format and runtime available. VCD does not encode port direction, and FSDB-dependent tools require an enabled FSDB runtime. Narrow-window signal inspection is not intended for bulk trace extraction, and waveform calls enforce time and cycle limits. Multi-cycle sampling requires an explicit clock path.

Structural scans are regex-based heuristics. A positive connectivity or driver result is not automatically an exhaustive or unique driver claim; consumers should check coverage, truncation, and claim semantics. NPI may require Verdi licensing and can be unavailable, causing fallback to Source Graph or static analysis. A testbench-driven result can indicate that no RTL driver was found and that the signal is driven through a testbench interface or BFM.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about TraceWeave

TraceWeave is an MCP server that connects RTL compile records, simulation logs, VCD/FSDB/FST waveforms, and source files to AI assistants. Its main tools parse and compare failures, inspect signal values and transitions, browse testbench hierarchy, and trace drivers, loads, connectivity, and X/Z propagation.

Install it from the repository or PyPI. Repository installation uses Python 3.11+, an existing Verdi installation, `VERDI_HOME`, and `bash scripts/install.sh`; PyPI installation uses `python3.11 -m pip install "traceweave-mcp[source-graph]"`. Run `traceweave-mcp --doctor` to check a PyPI setup.

Yes. The repository installer can print a Claude Code MCP configuration template with `bash scripts/install.sh --print-config claude`. Add the generated configuration to the client, provide required site EDA environment variables, and reconnect.

Yes, with the repository installation and the Synopsys FSDB Reader SDK available through `VERDI_HOME`. The PyPI package does not include the FSDB reader, and FSDB-dependent tools require `fsdb_runtime.enabled`.

Yes. Parse the baseline and subsequent logs, then use `diff_sim_failure_results` to identify resolved, persistent, and newly introduced failures along with changes in failure type, X/Z presence, first-failure timing, and convergence.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTraceWeave AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/traceweave?style=directory)](https://allmcps.com/mcp/traceweave)
HTML Embed
<a href="https://allmcps.com/mcp/traceweave"><img src="https://allmcps.com/api/badge/traceweave?style=directory" alt="TraceWeave on AllMCPs" /></a>