What these servers have in common
All of them are MCP servers: tools your assistant can call while it talks to you. You ask for a diagram, the assistant sends the shapes or diagram text to the server, and you get back something you can look at and change. If MCP is new to you, start with MCP servers for diagrams.
Where they differ is how you set them up, what you get back, and where your diagram goes.
The options at a glance
| Server | Setup | What you get | Diagram from text | Runs locally |
|---|---|---|---|---|
| Excalidraw (remote, from the Excalidraw organization on GitHub) | Add a remote address | An Excalidraw drawing shown in the chat, where the client supports it | The assistant places shapes | Yes, by building it yourself |
| Community Excalidraw server (canvas based) | Node 20 and an npx command | A live Excalidraw canvas on your computer that the assistant draws on | Mermaid conversion, plus shape by shape drawing | Yes |
| draw.io | A remote address, or npx | An inline viewer or the draw.io editor in a new tab | XML, CSV or Mermaid | Yes |
| Chalkline | A remote address, or npx | Edit and view links, an SVG and a description | Mermaid style flowcharts, sequence, ER, state, class, Gantt, timeline, mind map, SQL, D2, PlantUML, code | Yes, and it works offline |
These projects change quickly, so check each one's README on GitHub for the latest setup steps.
The Excalidraw servers
Why people like them: the famous hand drawn look, and the diagram can appear right inside the chat in clients that support interactive MCP apps.
Things to know: with shape by shape drawing, the model decides where every box goes, so larger diagrams can need a few rounds of "move that arrow". The canvas based community server runs a small local web server that the assistant draws on, which is powerful for agents that work in a loop: draw, look at a screenshot, fix, repeat.
Pick one when you already live in Excalidraw and mostly want quick sketches.
The draw.io server
Why people like it: draw.io's huge shape libraries and its strength with large formal diagrams. It can render inline in clients that support it, or open diagrams in the draw.io editor.
Things to know: the result is a formal diagram, not a sketch. With the hosted option, your diagram is sent to draw.io's server; the local options keep it on your computer.
Pick it when your team already keeps diagrams in draw.io files.
Chalkline
Why people pick it: the assistant writes short diagram text, and Chalkline does the layout, so boxes line up and arrows do not cross by accident. You get a link that opens the diagram in a full whiteboard, where you can switch between a hand drawn and a clean look in one click.
Things to know:
- It knows many diagram kinds from text: flowcharts, sequence, class, ER, state, Gantt, timeline, mind map, network, SQL, D2 and PlantUML, plus line, bar, scatter, pie, donut and radar charts.
- It can turn code in seven languages into a flowchart.
- It converts to SVG, TikZ, draw.io, Excalidraw and Mermaid, so you can still move a diagram into Excalidraw if you want.
- The online server stores nothing: the diagram travels inside the link. The local server runs on Node 18 or newer and works offline.
- Free, no account and no API key.
Connect it in claude.ai or the Claude desktop app with Settings, then Connectors, then Add custom connector, and the address https://chalkline.in/mcp. For Claude Code:
claude mcp add --transport http chalkline https://chalkline.in/mcp
For a local server in Cursor, Claude Desktop or Windsurf:
{ "mcpServers": { "chalkline": { "command": "npx", "args": ["-y", "https://chalkline.in/chalkline-mcp.tgz"] } } }
How to choose
| If you want | Choose |
|---|---|
| The Excalidraw look inside the chat | An Excalidraw server |
| An agent that draws, checks a screenshot and fixes in a loop | The canvas based Excalidraw server |
| Diagrams that live in draw.io files | The draw.io server |
| Clean layouts from text, many diagram kinds, nothing stored, offline use | Chalkline |
You do not have to pick just one. Many people connect two: a sketch tool for brainstorming and a text based one for diagrams that need to be right.
For a comparison of the whiteboard apps themselves, see Excalidraw alternatives and draw.io vs Excalidraw.