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.
Install Sketchdex
Built from the published package, never by AI.
claude mcp add sketchdex -- npx -y sketchdexRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"sketchdex": {
"args": [
"-y",
"sketchdex"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"sketchdex": {
"args": [
"-y",
"sketchdex"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"sketchdex": {
"args": [
"-y",
"sketchdex"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add sketchdex -- npx -y sketchdex{
"mcpServers": {
"sketchdex": {
"args": [
"-y",
"sketchdex"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add sketchdex npx -y sketchdexGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
| Setting | Needed | What it is |
|---|---|---|
SKETCHDEX_Environment variable | Optional | Folder where scenes are stored. Default: ~/Documents/sketchdex |
SKETCHDEX_Environment variable | Optional | Path 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
ANo 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 →Appllama gives AI assistants research on top-grossing mobile apps, plus a build bar for native-feeling Expo and React Native screens. It suits developers building mobile apps with AI assistants.
Creates, edits and exports editable designs for AI assistants through the CoDesign MCP server, built on IMG.LY's CE.SDK design engine. It suits social teams, agencies and designers who need posters, social posts, videos and print layouts.
Pascal 3D Editor lets AI agents inspect, edit, validate, and save editable 3D building scenes through an MCP server. It is aimed at architecture, engineering, construction, and operations teams. Local use needs no Pascal account.
Agent-Native Design is the Design agent in Agent-Native, an open-source TypeScript framework. It generates and refines interactive designs with agent help. The same actions serve both the agent and the UI.
Draws and edits draw.io diagrams on a live browser canvas for AI agents such as Claude Code, Cursor and VS Code. It suits people who want to draw diagrams with AI and keep editing them by hand.
Framelink MCP for Figma gives coding assistants access to your Figma files. It supplies design data so the assistant can implement designs in any framework, mainly for use with Cursor.
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.
