sketch/design — System Design Interview Board

io.github.tGhattasPublished by GitHub account tGhattasv0.1.2Updated Oct 30, 2026

Hand-drawn whiteboard for system design mock interviews; your AI watches, asks and gives feedback.

Overview

AI-generated overview

A local hand-drawn whiteboard where an AI acts as a system design interviewer: it watches your diagram, asks questions aloud and scores you.

What you can do
  • Run an interview session: start it with a problem, timer and phase, then loop on waiting for the candidate's speech or board changes and replying in short spoken messages.
  • Read the board: structured components, connections, zones, notes and changes, or a PNG image of the whole board.
  • Point at the design: pin interviewer comment bubbles on components, highlight and zoom to them, and clear those annotations.
  • Sketch on the board: add components, connections, sticky notes and zones in the same hand-drawn style.
  • Track and close the session: move the phase tracker, pull the full chat and voice transcript, and end with a 1-5 scored feedback card.
When to use it
For practising system design mock interviews where you draw a design on a whiteboard and want an AI to probe requirements, scale, APIs, bottlenecks and trade-offs, then give scored feedback. Also usable as a plain sketch board without any AI.
Requirements
Node.js 18+ and a local process launched via npx (npm package sysdesign-board). An MCP-capable AI app such as Claude Desktop, Claude Code, Codex CLI, ChatGPT or another client. The board opens in a browser at localhost on port 4321 by default, configurable with SYSDESIGN_PORT. Voice input needs Chrome, Edge or Safari with microphone access. No API keys or accounts.
Before you install
Board descriptions, board images, chat messages and transcripts are sent to whichever AI app you connect, under that provider's policy. Browser speech recognition sends audio to Google (Chrome) or Apple (Safari). The optional ChatGPT tunnel exposes the /mcp endpoint publicly and its token URL should be treated like a password. The interviewer can draw on and annotate your board, and session data is kept locally until you clear it or delete the data directory.

Installation

In SourceWeft

  1. Open sketch/design — System Design Interview Board in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

sketch/design — the system design interview board

A hand-drawn whiteboard for system design mock interviews, plus an MCP server that turns Claude or ChatGPT into your interviewer. It sees your board, listens to you, talks back, pins questions on your components, and ends with scored feedback.

[A mock interview in progress: a URL shortener diagram, an interviewer question pinned on Redis, and the voice/text chat]

  • Pencil-style canvas: a paper or chalkboard theme, with shapes that look drawn by hand (rough.js + perfect-freehand)
  • 27 system design components: load balancer, API gateway, CDN, cache, SQL and NoSQL databases, object store, queue, Kafka-style stream, pub/sub, workers, serverless functions, auth, monitoring, ML and more
  • Arrows that stay attached to components, with labels, curved or elbow routes, and dashed lines for async flows. Hover a component and drag its blue dot to connect it.
  • Interview panel: the problem, a timer, a phase tracker, chat, voice in (speech-to-text) and voice out (the interviewer's replies are read aloud)
  • The interviewer can read your diagram as structured data, look at a picture of it, pin comments on components, highlight things, sketch reference designs, and grade you at the end
  • Runs entirely on your machine. The AI runs in your own Claude or ChatGPT app, on your existing subscription, with no API keys.

Install

Requires Node.js 18+.

Your AI appHow to connectBilled to
Claude DesktopDouble-click sysdesign-board-x.y.z.mcpb from Releases, or run npx -y sysdesign-board installClaude Pro / Max
Claude Codeclaude mcp add sysdesign-board -- npx -y sysdesign-boardClaude Pro / Max
Codex CLIAdd it to ~/.codex/config.toml (below)ChatGPT Plus / Pro
ChatGPT (desktop / web)Developer Mode connector through a tunnel (below)ChatGPT Plus / Pro
Cursor, Windsurf, VS Code, othersThe standard MCP JSON (below)Your plan there

The .mcpb one-click file is Claude Desktop only. Every other app runs the same npm package.

Claude Desktop

Option A: one-click. Download the .mcpb file from Releases and double-click it. Claude Desktop shows an install dialog.

Option B: command line. First quit Claude Desktop completely (macOS: ⌘Q; Windows: tray icon → Quit). Claude rewrites its config file from memory when it quits, which would drop the new entry. Then run:

bash
npx -y sysdesign-board install

Reopen Claude Desktop.

Option C: edit the config yourself (again, with Claude Desktop quit). The file is at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux (unofficial builds): ~/.config/Claude/claude_desktop_config.json
json
{  "mcpServers": {    "sysdesign-board": { "command": "npx", "args": ["-y", "sysdesign-board"] }  }}

On Windows, use "command": "cmd", "args": ["/c", "npx", "-y", "sysdesign-board"]. If Claude can't find npx (common with nvm, Volta or asdf), use the absolute path from which npx (macOS/Linux) or where npx (Windows).

Claude Code

Either add the server directly:

bash
claude mcp add sysdesign-board -- npx -y sysdesign-board

Or install the plugin, which also adds an interview skill, from this repo's marketplace. Run these inside Claude Code:

/plugin marketplace add tGhattas/sysdesign-board/plugin install sysdesign-board@sysdesign-board

Codex CLI

Add this to ~/.codex/config.toml (Windows: %USERPROFILE%\.codex\config.toml):

toml
[mcp_servers.sysdesign-board]command = "npx"args = ["-y", "sysdesign-board"]tool_timeout_sec = 120

ChatGPT app

ChatGPT connects to MCP servers over public HTTPS, so you run the board locally and expose only its /mcp endpoint through a tunnel. The board itself, its API and its WebSocket refuse any request that doesn't come from localhost.

  1. Start the board, and keep this running:
    bash
    npx -y sysdesign-board serve
  2. In another terminal, open a tunnel (here with cloudflared):
    bash
    cloudflared tunnel --url http://localhost:4321
  3. Get your private connector token:
    bash
    npx -y sysdesign-board token
  4. In ChatGPT, go to Settings → Apps & Connectors → Advanced, enable Developer Mode, then Create a connector with the URL https://<your-tunnel>.trycloudflare.com/mcp?token=<token> and no authentication.

Treat that URL like a password. To change the token, delete ~/.sysdesign-board/token, or set SYSDESIGN_TOKEN yourself.

Any other MCP client

json
{ "command": "npx", "args": ["-y", "sysdesign-board"] }

Use it

Start a new chat and say:

Start a system design interview with me on my sketch board.

Or use the interview prompt from your app's prompt or slash menu. The board opens at http://localhost:4321.

  • Draw your design. Talk with the 🎤 mic (your message is sent when you pause) or type in the panel.
  • The interviewer keeps listening between replies. It is woken by what you say, and when you stop drawing for a few seconds.
  • Click I'm done when you're finished to get a feedback card with scores.

The board also works without any AI: run npx -y sysdesign-board serve and open http://localhost:4321.

Tools the interviewer gets

ToolWhat it does
start_interviewSets the problem, level and duration, opens the board, and speaks the opening line
wait_for_candidateWaits for your speech or messages, or for board changes once you stop drawing
saySends a chat message, read aloud
get_boardStructured diagram: components, connections (with labels; dashed means async), zones, notes, and what changed
get_board_imageA PNG of the whole board (for handwriting and sketches)
annotate / clear_annotationsPin or remove "INTERVIEWER" comment bubbles on components
highlightMakes components glow, optionally zooming to them
draw_on_boardAdds components, connections, notes and zones in the same sketchy style
set_phaseRequirements → Estimation → API & Data → High-level → Deep dive → Wrap-up
end_interviewFeedback card with 1–5 scores, strengths and improvements
get_transcript, open_boardHousekeeping

Voice

  • Speech-to-text uses the browser's Web Speech API. Use Chrome, Edge or Safari; Firefox doesn't support it.
  • Text-to-speech uses your system voices. Toggle it with "Voice replies" in the panel. The mic pauses while the interviewer speaks, so it doesn't transcribe itself.
  • The native voice modes inside the ChatGPT and Claude apps can't be piped into another page. Those voice models are only available through paid APIs.

Keyboard

V select · H hand / hold Space · R rect · D diamond · O ellipse · A arrow · L line · P pen · T text · N sticky note · F zone · E eraser · K laser · C components · I interview panel · Q tool lock · G grid snap · ⌘/Ctrl Z undo · ⌘/Ctrl D duplicate · ⇧1 fit · ? all shortcuts

Privacy Policy

The full policy is in PRIVACY.md. In short:

  • What it handles: your board, the interview chat and voice transcripts, your settings, and a local access token.
  • Where it's stored: only on your machine, in the browser's local storage for the board page and in ~/.sysdesign-board/. The author runs no server, and there are no accounts, analytics or telemetry.
  • What leaves your computer:
    • When the AI interviewer calls a tool, the AI app you connected receives the board description, a picture of the board, your messages and your transcripts, under that provider's privacy policy.
    • The mic uses your browser's speech recognition. Chrome sends the audio to Google; Safari uses Apple's speech service.
    • npx downloads the package from npm.
    • With the optional tunnel, /mcp requests pass through the tunnel provider.
  • Security:
    • The board, its API and its WebSocket only answer localhost requests from localhost pages. Other websites and tunnels are refused, which also blocks DNS-rebinding attacks.
    • The HTTP endpoint (/mcp) always requires the token.
  • Sharing and retention: nothing is sold or shared. Data stays until you clear the board or delete ~/.sysdesign-board/.
  • Contact: open an issue.

Troubleshooting

  • The server doesn't appear in Claude Desktop. Claude was probably running when the config was edited and saved over it. Quit it fully, run npx -y sysdesign-board install, then reopen.
  • "npx: command not found" in Claude's logs. Use an absolute path to npx (see Option C), or run npx -y sysdesign-board install, which writes absolute paths for you.
  • Port 4321 is taken. Set SYSDESIGN_PORT (or --port=5000). In the .mcpb extension it's a setting.
  • The mic does nothing. Open the board in Chrome, Edge or Safari and allow microphone access.
  • Several apps connected at once? That's fine. The first one hosts the board and the others share it.

CLI

sysdesign-board            MCP server over stdio (what AI apps launch)sysdesign-board serve      Board + HTTP MCP endpoint onlysysdesign-board install    Add to Claude Desktop (quit it first)  [--npx | --local]sysdesign-board token      Print the HTTP MCP token / URL

Development

bash
git clone <this repo> && cd sysdesign-boardnpm installnpm run dev

npm run dev starts the hub on :4321 with reload, and Vite on :5173. Other scripts:

CommandWhat it does
npm run buildBuilds the board UI and bundles the server into one file
npm run build:mcpbPacks build/sysdesign-board-<version>.mcpb
npm run typecheckType-checks the web and server code
node scripts/mcp-smoke.mjsDrives every MCP tool against a running board
npm run lock:pluginRefreshes the Claude plugin's package-lock.json (run after the new version is on npm)

Releasing a new version:

  1. Run npm version <x.y.z> --no-git-tag-version. This also updates server.json and the plugin's version and pinned dependency.
  2. Run npm publish.
  3. Run npm run lock:plugin. The lockfile needs the published package's checksum, so this comes after publishing.
  4. Commit, then tag and push.
  5. Make a GitHub release with npm run build:mcpb.
  6. Run mcp-publisher publish for the MCP Registry.

The code lives in three folders:

  • web/: the board (React UI plus the canvas engine in web/src/engine.ts; renderer and component glyphs in web/src/render/)
  • server/: the hub (HTTP, WebSocket and persistence), the MCP tools and the CLI
  • shared/: the data model, component catalog and geometry

License

MIT

Source: README.md at commit 2b61d36

Tools

13

open_board

Open the board

Open the sketch board in the user’s browser and return its URL.

Takes no parameters.

start_interview

Start a system design interview

Start a new interview session on the board: sets the problem statement, timer and phase, opens the board, and posts your opening message (spoken aloud to the candidate).

Parametersleveltitlerequiredproblemrequiredclear_boardopening_messageduration_minutes

wait_for_candidate

Listen to the candidate

Block until the candidate says something (typed or by voice), the board changes and then settles, or the timeout passes. Returns what they said, what changed on the board, and interview timing. Call this in a loop between your replies.

Parameterstimeout_seconds

say

Speak to the candidate

Send a message to the candidate. It appears in the board chat and is read aloud. Keep it short and conversational (no markdown).

Parameterstextrequiredspeak

get_board

Read the board

Structured description of the board: components (type, label, id, position, zone), connections (from -> to, label, dashed=async), zones, notes and text, freehand strokes, plus what changed since you last looked.

Parametersinclude_json

get_board_image

Look at the board

A PNG picture of the whole board as the candidate sees it (handwriting, sketches, layout). Use when get_board mentions freehand strokes or you need visual context.

Takes no parameters.

annotate

Pin a comment on the board

Pin an interviewer comment bubble on the board, pointing at a component (by id or label) or at a position. Great for "what if this fails?" style probes.

Parametersxytextrequiredtarget

highlight

Point at components

Make components glow on the candidate’s board (e.g. while asking about them). Optionally scroll/zoom their view to them.

Parametersfocussecondstargetsrequired

draw_on_board

Draw on the board

Add components, connections, sticky notes and zones in the same sketchy style (marked as drawn by the interviewer). Use sparingly — the candidate should drive. Component kinds: user (User), browser (Web App), mobile (Mobile App), dns (DNS), cdn (CDN), lb (Load Balancer), gateway (API Gateway), firewall (Rate Limiter), server (App Server), service (Service), worker (Worker), lambda (Function), cron (Scheduler), sql (SQL DB), nosql (NoSQL DB), cache (Cache), storage (Object Store), search (Search Index), warehouse (Data Warehouse), queue (Queue), stream (Event Stream), pubsub (Pub/Sub), notify (Notifications), auth (Auth), monitor (Monitoring), ml (ML Model), external (External API). Connections reference a component by its ref/label (new or existing) or id. Positions are optional (auto-laid out to the right of existing content).

Parametersnoteszonescomponentsconnections

clear_annotations

Remove interviewer comments

Remove your pinned comments (all, or specific ids).

Parametersids

set_phase

Move to an interview phase

Update the phase tracker the candidate sees: requirements (Requirements), estimation (Estimation), api (API & Data), high-level (High-level), deep-dive (Deep dive), wrap-up (Wrap-up).

Parametersphaserequired

end_interview

End the interview with feedback

Close the session and show a feedback card on the board. Scores are 1-5.

Parametersscoresrequiredsignalsummaryrequiredstrengthsrequiredimprovementsrequired

get_transcript

Conversation transcript

Full chat/voice transcript of the current session.

Takes no parameters.

Version history

1
  1. v0.1.2LatestOct 21, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts
  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts