MCP server

excalidrawer MCP: Generate Excalidraw Diagrams by Code

excalidrawer's MCP server lets an AI coding agent render flowcharts, architecture, sequence, timeline, comparison or tree diagrams as editable .excalidraw, SVG and PNG files.

Run
claude mcp add excalidrawer -- npx -y -p excalidrawer@latest -c excalidrawer-mcp
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is excalidrawer?

excalidrawer is a code-first diagram generator, not Excalidraw itself. Its MCP server exposes render_diagram and compute_layout tools, so an agent builds a flowchart, architecture, sequence, timeline, comparison or tree diagram from element data and layout helpers, then gets back a real, still-editable .excalidraw file alongside SVG and PNG exports for docs or CI.

Excalidraw is a drawing tool you arrange by hand on a canvas. excalidrawer is a generation tool: it takes element data and layout instructions and writes a real, hand-drawn-style diagram without anyone opening a canvas.

That distinction matters for pipelines. A generated .excalidraw file can go through version control, regenerate the same way every time, and run inside a CI job that builds documentation, none of which works with a diagram someone dragged into place by hand.

The six diagram types

  • Flowchart, for decision flows with branching logic.
  • Architecture, for layered components and system topology.
  • Sequence, for multi-actor interactions and message flows.
  • Timeline, for milestones, roadmaps and project phases.
  • Comparison, for a side-by-side A versus B layout, and tree, for hierarchies that split left to right or top to bottom.

How the two tools work together

compute_layout takes a layout helper, such as grid, chain, swimlane, hub-and-spoke or tree, and returns coordinates for a set of elements. render_diagram then takes those elements and writes .excalidraw, SVG and PNG output in one call.

Who it is for

Best for

  • Documentation and CI pipelines that need a diagram to regenerate the same way every build, not redrawn by hand each time.
  • Agent workflows that already have structured data about a system and want a diagram built straight from it.
  • Teams who want architecture or sequence diagrams under version control alongside the code they describe.

Not for

  • If the architecture diagram needs real AWS, Azure or GCP vendor icons rather than plain hand-drawn shapes, Excalidraw Icons MCP draws that diagram with those icons.
  • When plain English or Mermaid should turn into one animated flow diagram instead of a static render, Dashmotion Skill builds that animated architecture diagram directly.
  • If what you need is an animated SVG from a JSON config rather than a diagram file, nakkas MCP Server renders that animated SVG locally instead.
  • When the output should be a full HTML page with diagrams and tables rather than a single diagram file, Visual Explainer Skill writes that HTML page instead.

Use it with UiChemy

excalidrawer produces a standalone diagram asset, not a web page layout. Once that diagram is exported as an image, UiChemy Composer can place it inside an editable WordPress page. Click Get Started on uichemy.com.