excalidraw-mcp
An MCP server that turns Claude Code into an Excalidraw diagram generator.
Ask Claude to draw any architecture and it opens instantly in your browser — fully interactive, editable, and exportable.
"Draw the architecture of a web3 voting system."
↓
Claude calls draw_architecture_diagram
↓
Python computes layout + generates Excalidraw scene
↓
Browser opens with the diagram
Install
pip install claude-excalidraw-mcp
Register with Claude Code
claude mcp add excalidraw excalidraw-mcp
excalidraw-mcphere is the console command installed by the package — not a separate pip package.
Restart Claude Code. That's it.
Usage
Just ask Claude naturally:
Draw the architecture of a food delivery app.
Draw a CI/CD pipeline diagram.
Draw a microservices architecture for an e-commerce platform.
Claude generates the nodes and edges, the server handles layout, shapes, and rendering.
Shapes (auto-detected from label)
| Shape | Fill | Used for |
|---|---|---|
| Rectangle | Solid | Services, apps, APIs |
| Ellipse | Hachure | Databases, storage, infra |
| Diamond | Cross-hatch | Queues, external APIs |
Override with "shape": "ellipse" in the node definition.
How it works
Claude Code (MCP Client)
│ stdio / JSON-RPC 2.0
▼
excalidraw-mcp server
│
├── Sugiyama layout (longest-path layers + barycenter crossing reduction)
├── Smart arrow routing (straight → S-curve only when crossing detected)
└── Excalidraw scene JSON → local HTML → browser
Requirements
- Python 3.11+
- Claude Code CLI
- Internet (first load only — Excalidraw loads via CDN)
License
MIT
Metadata
Release files for claude-excalidraw-mcp 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| claude_excalidraw_mcp-0.1.4.tar.gz | 14.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| claude_excalidraw_mcp-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.4 kB
Release files / claude_excalidraw_mcp-0.1.4.tar.gz
| Download URL | claude_excalidraw_mcp-0.1.4.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
431a8a3e1bfbe1b4da6817f12cca1c109a8b35bdcd757941d57ca0b07716eed4
|
|
BLAKE2b-256 checksum How to use checksums |
bd406f292f904c7c1021fbfdb9cbbfe862be3262613eb15d68d54aa78605f2da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Release files / claude_excalidraw_mcp-0.1.4-py3-none-any.whl
| Download URL | claude_excalidraw_mcp-0.1.4-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9bf08b54b49779775fafcbd63f83ce0cfa48bb48b6922721c780ac5fa612384
|
|
BLAKE2b-256 checksum How to use checksums |
5c93bf8740a53bf1f34d88eabfabe10bf4c1b5ddba8bdbf4000c92aa4d8322af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Security for claude-excalidraw-mcp 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.