Witness MCP Server
Voice-anchored evidence recorder for AI coding agents.
Witness scores 65 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Browser automation. GitHub shows 2 stars. Package registries report about 347 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
65 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 65 comes from
22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "wookat-witness": { "command": "npx", "args": [ "-y", "witness-recorder@0.7.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Voice-anchored causal evidence recorder for AI coding agents.
You experience the product and talk — “this button does nothing.” Witness welds every word to the causal evidence of that exact second: clicks, requests, console errors, DOM mutations, screenshots, full rrweb replay — then hands a structured evidence package to your AI coding agent.
Why
AI agents can't see what you see. Describing a visual bug costs ten minutes of screenshots and prompt crafting — and still loses the why. Voice is the cheapest annotation channel there is; it just never had a recorder.
Three streams run in parallel the moment wit start opens a managed browser:
- Your voice — continuous audio + live transcription. One take, many issues.
- Operations + causal bursts — every click captures its ~1.8s aftermath (requests, responses, console errors, DOM changes). A click with no aftermath is itself recorded as evidence.
- Page evolution — rrweb full-DOM replay + event-driven screenshots + periodic DOM snapshots.
Install
npm i -g witness-recorder # needs Node 18+ and system Edge/Chrome
wit start http://localhost:5173 # managed browser opens — talk & click
Want to try it in 10 seconds without spinning up your own app? Run it against our live buggy checkout demo:
npx witness-recorder start https://witness.zalize.com/demo-app.html
rec is an alias for wit — same binary, shorter to type.
No downloads, no API keys. System Edge/Chrome is preferred; bundled Chromium is the fallback.
During recording
| Gesture | Effect |
|---|---|
| Browse + talk | Full audio; clicks/scrolls/inputs/navigation auto-logged; live transcript preview under the toolbar |
Ctrl+click | Mark an element — selector, outerHTML, component chain, red-frame screenshot |
M | Inspect mode: hover-highlight, click to mark; drag to crop a region |
N | Explicit boundary marker — ⏺ ISSUE #n divider; a strong grouping hint for the agent |
P | Pause/resume — all events and audio freeze (privacy) |
Esc | Exit inspect mode |
■ / Alt+Shift+R | Stop and finalize the evidence package |
Sites can forbid the mic document-wide via
Permissions-Policy: microphone=()— the browser-level permission grant can't override that, so the whole session would record with no audio. Witness rewrites themicrophonedirective to(self)on document responses only (all other headers, including duplicateSet-Cookie, pass through untouched). Pass--no-mic-patchto honor the site's real policy.
Non-password input values are captured verbatim (160 chars) — "I typed X and it broke" keeps X. WebSocket text frames are sampled for realtime apps; responses over 64KB keep their head (truncated, flagged).
events.jsonl streams to disk as you go — kill the process and you lose only the last
few hundred milliseconds. wit recover rebuilds everything.
What the agent reads
Each spoken fragment lands on a timeline as a SAY block carrying the causal burst of
that moment — dead clicks, mutations, errors — with linked shots and DOM snapshots.
CLI
wit start <url> [--lang en-US] [--duration 60] [--no-rr] [--associate]
[--shot-format jpeg|webp] [--dsf 1|2] [--keyframes] [--no-mic-patch]
wit list # sessions with url/duration/say count
wit open latest # open review.html
wit transcribe <dir> # re-run transcription (local ASR → keys → bcut)
wit correct <dir> # re-run LLM text polish
wit associate <dir> # LLM picks relevant evidence per SAY (ZHIPU_API_KEY)
wit recover <dir> # rebuild artifacts after a crash
wit segments <dir> # regenerate speech-anchor index + bundles
wit keyframes <dir> # render rrweb → per-segment keyframe jpgs
wit init # 4-step interactive setup wizard (lang / ASR / whisper / hotwords)
wit doctor # preflight: browser / live-ASR / keys / dirs
wit mcp [dir] # stdio MCP server over the evidence
wit config asr <engine> # live ASR: auto|local|doubao-web|doubao-ime|sr|off
wit config lang <bcp47> # default speech language (persisted globally in ~/.witness)
wit config asr-prompt <words> # persist ASR hotwords (per-project in .witness/config.json)
wit config telemetry on|off # toggle anonymous CLI usage ping
wit setup local-asr # install local whisper backend (offline, private)
wit local-asr start|stop|status # manage the local ASR server (127.0.0.1:8791)
wit local-asr models … # list | use | pull | rm faster-whisper models
wit local-asr live … # setup | status | stop — offline live captions (zh+en)
Local transcription — wit setup local-asr
One command installs a fully offline whisper backend: uv (standalone, no admin) →
faster-whisper (CT2) → multilingual model (small default ≈500MB; --model tiny|base|small|medium|large|turbo
or any faster-whisper HF repo). Then wit local-asr start serves an OpenAI-compatible
/v1/audio/transcriptions on 127.0.0.1:8791 — every wit start / wit transcribe picks it up
automatically and falls through to your API keys or bcut if it's down. Works for any of whisper's
~99 languages; WIT_ASR_PROMPT="…" or wit config asr-prompt "…" adds hotword bias.
wit local-asr models list|use|pull|rm manages model presets in the HF cache.
Already running speaches / whisper.cpp server /
vLLM? Set localAsr.baseUrl in .witness/config.json instead.
Offline live captions: wit local-asr live setup installs a sherpa-onnx streaming
zipformer (zh+en bilingual, int8, ~190MB) served on a loopback WebSocket (127.0.0.1:8792).
Then --asr local — or plain auto — captions live without any cloud call: mic PCM16/16k/mono
never leaves the machine. Segments whose mean word-probability is low show up as
⚠ low-confidence ASR in session.md so agents verify instead of quoting hallucinations.
The evidence package — .witness/sessions/<ts>_<host>/
Agent-facing artifacts (PROMPT.md / SEGMENTS.md / session.md) are always generated in English — the most reliable corpus for LLMs; your words stay verbatim, never translated.
SEGMENTS.md # speech anchors: verbatim + suspects + shot/dom refs (agents read first)
segments/*.md # per-segment bundle: verbatim frags, dead clicks, errors, linked shots
keyframes/*.jpg # rrweb-rendered replay frames per segment (wit keyframes)
KEYFRAMES.md # keyframe index
segments.json # machine-readable segment index (what MCP serves)
session.md # timeline archive: each SAY block carries its causal burst
PROMPT.md # paste-ready handoff instructions + page vocabulary
review.html # human view: speech cards + audio seek + filmstrip + embedded rrweb replay
events.jsonl # complete raw stream, crash-safe
rrweb.jsonl # full DOM event stream (--no-rr to disable)
dom/*.html # DOM snapshots on nav/mark/30s
assoc.json # optional LLM evidence-association suggestions
shots/*.jpg # click/mark crops + periodic + spoken-segment frames (--shot-format webp for ~35% smaller)
bodies/* # response bodies ≤64KB (.json for JSON, .txt otherwise)
session.json # meta: url, duration, asr engine, counts
audio.webm / transcript.json
MCP — evidence as an API
wit mcp serves the session over stdio. Point any MCP-capable agent
(Claude Code, Cursor, Devin) at it and it pulls exactly what it needs:
list_segments · segment_detail(n) · session_overview · list_says · session_md · events_around(t_ms, radius, kinds) ·
get_errors · get_shot · get_body · get_dom_state(t) · get_audio · get_transcript · search_events · get_asr · set_asr
Principles
- Evidence is never rewritten — speech lands verbatim; merging/correction/association are display-layer suggestions.
- Evidence ≠ intent — behavior without a spoken anchor is never presented as a bug.
- Local-first — deterministic recording; live SAY subtitles prefer the local sherpa-onnx
engine once
wit local-asr live setuphas run, thenauto= local → doubao-web → doubao-ime → browser SR (pick viawit config asr,--asr,WIT_ASR, or theget_asr/set_asrMCP tools). Final transcript chain:WHISPER_BASE_URL→ local whisper (wit setup local-asr— offline, multilingual, audio never leaves the machine) → Groq → OpenAI → free cloud (doubao-web → bcut, zh/auto sessions only).WIT_ASR_PROMPT/wit config asr-promptbiases the local engine toward your product names and error codes. LLM layers are optional. - Privacy engineered in — password/OTP/credit-card fields masked across four channels, credential fields redacted in POST bodies & query params,
WIT_NO_BODIES=1disables body capture,Pfreezes everything (events, network, console & mic),.witness/is auto-gitignored.--langnow reaches every ASR stage (browser SR, doubao live, whisper post-session). - Anonymous usage stats — the CLI sends one ping per command (command name, version, OS/arch, Node major; never URLs,
paths or session data) to our own Cloudflare Worker — no third-party analytics, no cookies. Disable with
WIT_TELEMETRY=0orwit config telemetry off.
Development
npm install && npm run build && npm link
npm test # build + node:test suite (align / speech-run / bursts / prompts / review html)
Frequently asked questions
What is Witness MCP Server?
Voice-anchored evidence recorder for AI coding agents.
How do I install Witness MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Witness MCP Server runs locally from the npm package witness-recorder with the command npx -y witness-recorder@0.7.0.
Is Witness MCP Server free and open source?
Yes. Witness MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Witness MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Witness MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Witness MCP Server's trust score calculated?
Witness MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.