waver-mcp
waver-mcp is a read-only MCP server that measures and analyzes waveform files (FST/VCD), returning self-describing text results and PNG plots.
waver_open — Inspect a waveform file: format, writer, timescale, duration, and signal counts.
waver_search — Find and list signals by case-insensitive substring, with full names and type tags.
waver_values — List the values/changes a signal had over a time window.
waver_value_at — Get the value of one or more signals at a specific time.
waver_analyze — Compute clock frequency/period/duty, pulse widths, X/Z time, real min/max/mean, and value distributions.
waver_latency — Measure edge-to-edge timing between two signals (min/max/mean/p50/stddev and sample pairs).
waver_find — Find when a signal equals a given value (including strings, enums, hex, and X/Z buses) with held intervals.
waver_plot — Generate PNG waveform plots with one lane per signal, X/Z shading, and decimation for large files.
Times are human-readable (e.g.
"10ns") or file ticks; windows are[start, end); signals support case-insensitive unique suffixes.Read-only, stateless, headless: every tool takes the file path and only decodes queried signals; configurable via env vars (
WAVE_MCP_*).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@waver-mcp plot the clk signal from 10ns to 20ns as PNG"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
peeper-mcp
MCP server that measures waveform files (FST and VCD) — not just reads them.
Where other waveform MCPs hand the LLM raw change tables and leave it to
count cycles and do arithmetic, peeper-mcp answers the question directly:
clock period / duty / frequency, X/Z time, A→B latency statistics,
"when was the signal equal to V" (including strings, enums and X/Z buses),
and PNG plots the model can actually see. Times are addressed as "10ns",
not as indices into a time table.
Read-only, headless, stateless: every tool takes the waveform file path, there is no "current file". Built on pywellen (the Rust wellen reader), so only the signals you actually query are decoded from the file.
In action
peeper_analyze — "what's the frequency of this clock?":
file: /path/to/all_types.fst
signal: tb_wave.clk (matched 'clk')
window: [0ns, 995ns)
changes: 200
clock:
duty: 49.75% high, 50.25% low
high pulse: 5ns
low pulse: 5ns
period: 10ns (median of 99 cycles, min 10ns, max 10ns)
frequency: 100MHzpeeper_find — "when is the FSM in RUN?":
file: /path/to/all_types.fst
signal: tb_wave.state (matched 'state')
value: "run"
matches: 33 (showing 5)
5ns held for 10ns
35ns held for 10ns
65ns held for 10ns
95ns held for 10ns
125ns held for 10ns
truncated after 5 — narrow with start='...' or raise limitpeeper_latency — "how long from the clock edge to the state change?":
file: /path/to/all_types.fst
a: tb_wave.clk (20 edges)
b: tb_wave.state (11 edges)
window: [0ns, 100ns)
pairs: 20 (each a edge -> first b edge at/after it)
min: 0ns
max: 5ns
mean: 2.25ns
p50: 0ns
stddev: 2.49nsOutput is deliberately self-describing for LLMs: file/signal/window
headers, truncation notices that say the next step, and errors that steer
to the right sibling tool. peeper_plot additionally returns the PNG as
MCP image content, so vision clients see the waveform inline.
Related MCP server: mcp-vcd
Tools
All peeper_*, all read-only:
Tool | Answers |
| What is in this file? (format, writer, timescale, duration, signal counts). Optional — every tool opens the file itself, but this is a cheap way to learn a new file's metadata upfront. |
| Which signals are there? (full names with |
| What values did this signal have in this window? (change list + entering value) |
| What was X at time T? (batch: several signals, one call) |
| How fast / how long / how much? (period, duty, pulse widths, X/Z time, real min/max/mean, top-10 value distribution) |
| How long from A's edge to B's edge? (min/max/mean/p50/stddev + first/last pairs) |
| When was the signal equal to V? (held intervals with durations; strings/enums case-insensitive, |
| Show me. (PNG, one lane per signal, X/Z spans shaded, decimated to ~10k points/trace) |
Install
Zero-install via uvx — builds an
isolated environment from git (no PyPI release yet; once published, plain
uvx peeper-mcp works):
uvx --from "git+https://github.com/ru551n/peeper-mcp.git" peeper-mcp
# shorthand (single entry point, so uvx infers the command):
uvx "git+https://github.com/ru551n/peeper-mcp.git"MCP client configuration (stdio; works with any MCP client):
{
"mcpServers": {
"peeper": {
"command": "uvx",
"args": ["--from", "git+https://github.com/ru551n/peeper-mcp.git", "peeper-mcp"]
}
}
}To run from a checkout instead:
{
"mcpServers": {
"peeper": {
"command": "uv",
"args": ["run", "--directory", "/path/to/peeper-mcp", "peeper-mcp"]
}
}
}Or install the tool persistently instead:
uv tool install "peeper-mcp @ git+https://github.com/ru551n/peeper-mcp.git"then use "command": "peeper-mcp" in the client config.
Configuration (env vars at server start)
Var | Meaning | Default |
| default | 1000 |
| LRU of open waveform files | 4 |
| default signal-list size for | 100 |
The project's former name (waver-mcp) used WAVE_MCP_*, and before
that plain WAVE_* (e.g. WAVE_MAX_ROWS); both are still accepted as
deprecated fallbacks, in that priority order, when PEEPER_MCP_* isn't set.
Times and signal names
Times —
"10ns","1.5us","2ms"(fs / ps / ns / us / µs / ms / s, case-insensitive), or a bare integer in the file's time ticks (see the timescale reported bypeeper_open). Windows are[start, end); omitendto run to the end of the file or the signal's last change.Signal names — case-insensitive full names, or unique dot-separated suffixes:
clkmatchestb.dut.clk(and the result says so). Matching is component-aligned, soclkdoes not matchtb.clk_buf.Values — decimal or
0x…for ints (≥ 32-bit signals are shown in hex), case-insensitive strings/enums,"x"/"z"for an all-X / all-Z logic vector.
Performance
The measurement layer is vectorized (numpy over each signal's packed
change list); signals are decoded on first use and cached per open file.
On the repo's ~400k-change bench fixture (tools/bench.py):
Operation | Time |
Cold open | ~5 ms |
Warm | ~0.5 ms |
Warm | ~4 ms |
| ~140 ms |
CI enforces budgets on Linux (cold open < 100 ms, warm values < 20 ms,
warm analyze < 50 ms) via the opt-in perf-gate tests
(pytest -m perf).
Open files are cached in an LRU of size PEEPER_MCP_MAX_FILES (default 4).
Once more than that many distinct files have been opened in a session,
the least-recently-used one is evicted and closed; reopening it later
re-triggers a full cold open (parse + decode), i.e. the ~5 ms (or
longer, on bigger files) latency spike above. Raise PEEPER_MCP_MAX_FILES
if your workflow keeps more files open concurrently than that.
peeper_plot writes each PNG to a fresh file in the OS temp dir; the
previous call's PNG is removed on the next peeper_plot call
(best-effort), so at most one temp file lingers per process. Any file
left behind by an unclean shutdown is the OS temp dir's responsibility
to eventually clean up.
Agent skill
skills/peeper-mcp/SKILL.md teaches an agent
when and how to use the server: the question-framed tool table, workflows
(including the VUnit failure escalation — vunit_get_test_log →
vunit_get_test_waveform → peeper_open → peeper_find /
peeper_analyze → peeper_plot), and an explicit use / don't-use policy
(peeper-mcp is read-only: it cannot run or re-run simulations).
Requirements
Python >= 3.10.
pywellenis built from source on install (needs a Rust toolchain and the MSVC linker on Windows); alternatively, a prebuilt Windows wheel forpywellen(py3.12/3.13/3.14) is published as a GitHub Release by this repo, so Windows users can install it without a Rust toolchain by pointing pip at that wheel directlyFST and VCD waveform files (FST e.g. from
nvc -r --wave=out.fst, VCD e.g. fromghdl -r --stop-on-failure --wave=wave.vcdor recorded by vunit-mcp withwaveform_format; the reader auto-detects the format)
Development
uv sync
uv run ruff format .
uv run ruff check .
uv run mypy src
uv run pytest -q # perf-gate tests are opt-in
uv run pytest -q -m perf # perf budgets on the ~400k-change fixture
uv run python tools/bench.py tests/fixtures/bench.fst clkTest fixtures (FST files + VHDL sources) live in tests/fixtures/.
License
MIT — see LICENSE.
Available Tools
8 toolswaver_analyzeARead-only
How fast, how long, how much is this signal?
Answers "what's the period / frequency / duty cycle of ?", "how much time is in X/Z?", "what's the min/max/mean of this real?", "which values does take and how often?". This is the statistics tool: it summarizes a window instead of listing changes. Times are human-readable ('10ns') or integer ticks; the window is [start, end) — omit end to run to the signal's last change. For a raw change list use waver_values; for edge-to-edge timing between two signals use waver_latency.
Inputs: file (required), signal (required), end, start. Returns: result
waver_findARead-only
When was the signal equal to this value?
Answers "when did become ?", "when is the bus in X?",
"when does the FSM enter ?". Int signals take decimal or hex
('0x1f'); string/enum signals match case-insensitively; on logic
vectors 'x' or 'z' matches an all-X/all-Z bus. Returns each interval
the value is held, with its duration, from start onwards. For a
single time point use waver_value_at; for statistics use
waver_analyze.
Inputs: file (required), value (required), signal (required), limit, +1 more. Returns: result
waver_latencyARead-only
How long from A's edge to B's edge?
Answers "what's the propagation delay from to ?", "how long after 's rising edge does rise?". For every edge of A in [start, end) it finds the first edge of B at or after that moment and reports min/max/mean/p50/stddev over all such pairs, plus the first and last pairs. edge='rise' needs both signals to be binary (0/1); use edge='any' for any change. Times are human-readable or ticks. For one signal's own timing use waver_analyze.
Inputs: a (required), b (required), file (required), end, +2 more. Returns: result
waver_openARead-only
What is in this waveform file?
Answers "what's in this FST? how long did the simulation run? what's the timescale?". Call it first for any file you have not inspected yet; the timescale and duration it reports frame every window you pass to the other waver_* tools. Use waver_search to list the individual signals.
Inputs: file (required). Returns: result
waver_plotARead-only
Show me the waveforms: a PNG plot of these signals in this window.
Answers "show me <signal(s)> around time A" / "what does the bus look like here?". One lane per signal: binary signals step between 0 and 1, small numeric signals draw as a line, and wide buses plus string/enum signals show their held values as text labels with X/Z spans shaded. Times are human-readable ('10ns', '1.5us') or integer file ticks; the window is [start, end) — omit end to run to the end of the file. Dense signals are decimated to ~10000 points so large files stay fast. Returns the plot as an image plus a text summary; the PNG is also written to a temp file whose path is in the summary. For statistics use waver_analyze; for exact values use waver_values.
Inputs: file (required), signals (required), end, start.
waver_searchARead-only
Which signals are in this waveform file?
Answers "what signals does this FST contain? is there a signal named
X?". Pass a case-insensitive substring of pattern to narrow the list
on large designs. The names shown are what you pass to waver_values,
waver_analyze, waver_latency, waver_find and waver_plot — full names
or unique suffixes. Header-only: nothing is decoded, so this is fast
even on big files.
Inputs: file (required), limit, pattern. Returns: result
waver_value_atARead-only
What were these signals at this exact time?
Answers "what was at 10ns?" (batch: pass several signals in one call). Returns the value held at that instant (the last change at or before the time). Time is human-readable ('10ns') or integer file ticks. If the time is past the end of the file, the last recorded value is returned and flagged. For a whole window of changes, use waver_values.
Inputs: file (required), time (required), signals (required). Returns: result
waver_valuesARead-only
What values did this signal have in this time window?
Answers "what did do between A and B?". Times are human-readable ('10ns', '1.5us') or integer file ticks; the window is [start, end) — omit end to run to the signal's last change. Wide (>= 32 bit) values are shown in hex; X/Z samples and enum/ string values are kept as-is. For statistics instead of a change list, use waver_analyze; for one time point, waver_value_at.
Inputs: file (required), signal (required), end, start, +1 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a clearly distinct operation: open inspects file metadata, search lists signals, values returns change lists, value_at samples a single instant, analyze computes statistics, latency measures edge-to-edge delays, find locates value-held intervals, and plot renders visual waveforms. The descriptions cross-reference each other, making selection unambiguous.
All tools share the waver_ prefix and use lowercase snake_case with a descriptive suffix. Even though suffixes mix verbs (open, search, analyze, find, plot) and nouns (values, value_at, latency), the pattern is predictable and uniformly applied, creating a cohesive naming scheme.
Eight tools is well-scoped for a waveform inspection server: each tool covers a distinct mode of interaction with waveform data, from metadata discovery to detailed querying and visualization. There is no redundancy and no sense that tools were added without purpose.
The surface covers the full waveform analysis workflow: open the file, find signals, query values over time or at instants, compute statistics, measure delays, locate specific values, and generate plots. No significant gaps are apparent for the stated domain of FST file inspection and analysis.
Maintenance
Related MCP Connectors
Read-only website traffic, conversions, revenue, funnels and performance analytics.
Read-only x402-paid trend-intent MCP tools for JSON and CSV signals.
Manage SysML2 projects; check, evaluate, verify, query, document and diagram models.
Read-only XRP Ledger MCP tools with proof-annotation envelopes and signed daily snapshots.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables analysis of RTL waveform files (VCD, FST) through WAL (Waveform Analysis Language). Supports signal inspection, transition extraction, and advanced waveform queries for hardware design verification.17BSD 3-Clause
- AlicenseAqualityDmaintenanceEnables AI assistants to analyze hardware simulation VCD waveforms and GTKWave save files, providing access to signal values, bus definitions, and groupings without loading entire files.5MIT
- AlicenseAqualityBmaintenanceLocal MCP server for querying VCD waveform files via SQLite; enables AI agents to ask precise questions about signal values, transitions, and clock cycles without dumping raw VCD text.182AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to parse and query VCD/FSDB simulation waveforms, search signals, analyze AXI transactions, render ASCII timing diagrams, and check protocol compliance through structured MCP tools.MIT