Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Sketchdex

MCP server by lucasr1b Community

Sketchdex is an MCP server that lets AI agents draw hand-drawn Excalidraw diagrams as files on your machine. It suits people who want an assistant to sketch diagrams while explaining a topic.

  • Score 59
  • 2 stars
  • 63 a week
  • MIT
  • Updated

Install Sketchdex

Built from the published package, never by AI.

claude mcp add sketchdex -- npx -y sketchdex

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Sketchdex in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the sketchdex block.

About

Sketchdex is an MCP server that lets Claude, Codex, Cursor and other MCP clients draw hand-drawn Excalidraw diagrams while they explain something. Scenes are saved as real .excalidraw files in a folder on the user's machine, by default ~/Documents/sketchdex. The agent can draw, render its work as a PNG, check the layout and fix problems, and the user can open the scenes in the bundled library app or on excalidraw.com.

The server is built on the official @excalidraw/excalidraw package and is licensed under MIT. The bundled app shows a History sidebar with every agent write, so each change can be previewed, kept or reverted. The server runs locally with no account, no upload and no telemetry, which makes it useful for anyone who wants an AI agent to sketch diagrams on their own computer.

Written from the project's README and checked against it.

Tools it gives your assistant

  • describe_sceneReturns scene structure, bounds, counts and a summary per element, without pixels.
  • add_elementsAdds boxes, arrows, text and generated shapes such as polygon, star, arc, capsule and path.
  • update_elementsChanges the fields of one element by id, with the read-modify-write done server-side.
  • import_svgWrites an SVG and returns hand-drawn editable elements grouped as one piece.
  • render_sceneRenders the whole scene or a region as a PNG so the agent can inspect its own drawing.
  • check_sceneFinds layout problems such as hidden text, overlapping labels, dangling arrows and strays.
  • snapshot_sceneSaves a snapshot of a scene's current state.
  • list_historyLists the snapshots taken before agent writes.
  • restore_snapshotRestores a scene to an earlier snapshot.
  • sketchdex_docsReturns the manual by topic so the agent can answer setup questions and fix errors.

What you need

  • Node.js 20 or newer
  • A Chromium-based browser (Chrome, Chromium, Edge or Brave) for render_scene
  • macOS, Linux or Windows
SettingNeededWhat it is
SKETCHDEX_VAULTEnvironment variableOptionalFolder where scenes are stored. Default: ~/Documents/sketchdex
SKETCHDEX_BROWSEREnvironment variableOptionalPath to a Chromium-based browser binary used for render_scene. Default: the first of Chrome, Chromium, Edge or Brave found on the machine

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Draw me how the event loop works using sketchdex
  • Use sketchdex to diagram our login flow with labeled arrows
  • Render the sketchdex scene and fix any overlapping labels

Good to know

  • render_scene needs a Chromium-based browser; the other tools work without one.
  • The first render on a fresh install takes a few seconds while the browser starts.
  • Snapshots are capped at 20 per scene.
  • The server binds a plain local port, so anything running as the same user on that machine can reach it.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Sketchdex

All alternatives →

Compare with Appllama, codesign or Pascal 3D Editor

Sketchdex: common questions

Where are sketchdex scenes saved?

Scenes are saved as .excalidraw files in ~/Documents/sketchdex by default. You can change the folder with --vault or the SKETCHDEX_VAULT environment variable.

Can I undo changes an agent made to a scene?

Yes. Every agent write snapshots the previous state first, and the app's History sidebar lets you preview, keep or revert each one.

Does sketchdex send my diagrams to the cloud?

The source says it is local only, with no account, no upload and no telemetry, and the server binds 127.0.0.1.

How do I install Sketchdex?

In Claude Code run claude mcp add sketchdex -- npx -y sketchdex. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Sketchdex the official server?

Sketchdex is a community project by lucasr1b, not verified by a company domain.

Is Sketchdex free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Sketchdex safe to use?

It scores 59 of 100. Grades: maintenance C, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Sketchdex?

Similar MCP servers: Appllama, codesign, Pascal 3D Editor, Agent-Native Design.

Does Sketchdex work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Sketchdex Install

Add to stack

Loading.