Excalidraw Architect
Lets your AI agent generate hand-drawn Excalidraw diagrams of 25 types with automatic layout.
163 stars on GitHubby BV-VenkyLicense MITUpdated 3 months ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add excalidraw-architect -- uvx excalidraw-architect-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Draw the checkout flow as a sequence diagram with the web app and the payment provider.
Make an architecture diagram of a service with Kafka, PostgreSQL and Redis.
What it is
This server lets your agent describe a diagram and get a real .excalidraw file back, laid out automatically so boxes and arrows do not overlap. It covers architecture, flowcharts, sequence diagrams, state machines, ER models, Gantt charts, charts and more. It runs offline and the files stay editable.
What it can do
create_diagram: build a diagram of a chosen type from a specmodify_diagram: change an existing diagram, for example update its titlelist_diagram_types: when to use each of the 25 typesget_diagram_schema: exact spec shape for a type- Export to SVG and PNG
When to use
- βΊWhen you document a new codebase and want an architecture diagram
- βΊWhen a design doc needs a sequence diagram, state machine or Gantt chart in one style
- βΊWhen you want diagrams you can keep editing and commit next to your code
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
excalidrawCreates hand-drawn style diagrams such as flowcharts, architecture maps, and sequence diagrams as Excalidraw files you can open and edit.excalidraw-diagram-generatorHas your agent create visual diagrams from descriptions. It can generate flowcharts, mind maps, and system architectures in a format that can be opened in drawing software.mermaid-diagramHelps your agent create Mermaid diagrams such as flowcharts, sequence diagrams, and Gantt charts, saving the code to files and checking the syntax.Frequently asked questions
Is it free?
Yes. It is open source and runs offline with no API keys.
Which types of diagram exist?
25, including architecture, flowchart, sequence, timeline, Gantt, quadrant, ER, swimlane, org chart and bar, line and scatter charts.
Can I edit the result?
Yes. It writes a real .excalidraw file, and the spec is stored in the file so it can be patched later.
Can I export images?
SVG works out of the box. PNG needs the png extra.
Which tools does it work with?
Cursor, Claude Code and Windsurf, over stdio.
Does it style technologies?
Yes. Over 50 technologies such as Kafka, PostgreSQL and Redis get automatic styling.
If it does not work
- βΊInstall uv or pip first, and check that the excalidraw-architect-mcp command is on your PATH.
- βΊFor PNG export, install with pip install excalidraw-architect-mcp[png].
- βΊRestart your editor after adding the MCP config.
5 new skills a week. 1 minute to read.