Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ekusiadadusv2.0.0MITIn 2 marketplaces
Generates draw.io diagrams as editable XML, with fonts, arrow placement and Japanese labels checked by a validator. Runs offline; PNG export needs the optional draw.io CLI.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
2 marketplaces, most starred first
draw-io, diagrams, flowchart, architecture-diagram, xml, japanese-text, diagram-validation, visualization ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Generate and validate production-quality draw.io XML with Claude Code.
draw-mcp combines a Claude Code skill with a CLI validator: 31 rules across 10 modules, four validation modes, reusable presets, and CI-ready output. It focuses on the structural and visual defects that syntax-only checks miss.
Quick start · Validation rules · Examples · Specifications
AI can generate valid draw.io XML that is still difficult to edit or review: disconnected edges, invalid hierarchy, unsafe HTML, missing fonts, broken containers, and unreadable Japanese labels. draw-mcp turns those quality requirements into executable checks.
| Capability | draw-mcp | draw.io MCP Server | Mermaid.js |
|---|---|---|---|
| Output | Native draw.io XML | Image/JSON | Text DSL |
| Layout control | Explicit and editable | Auto-layout | Auto-layout |
| Validation | 31 structural and visual rules | None | Syntax only |
| CJK text checks | Yes | Limited | No layout control |
| Offline validation | Yes | Optional | Yes |
| Best fit | Production diagrams and CI | Fast previews | Simple diagrams |
The official draw.io MCP server remains complementary for previews, Mermaid, and CSV workflows. draw-mcp is the quality gate for diagrams that must remain editable and consistent.
/plugin marketplace add ekusiadadus/draw-mcp
/plugin add https://github.com/ekusiadadus/draw-mcp
Then ask Claude Code to create a diagram:
Create an architecture diagram with application and infrastructure layers.
Validate it in strict mode before finishing.
python -m pip install "git+https://github.com/ekusiadadus/[email protected]"
draw-mcp-validate diagram.drawio --mode strict
For local development:
git clone https://github.com/ekusiadadus/draw-mcp.git
cd draw-mcp
python -m pip install -e ".[dev]"
pytest
The validator can also emit JSON for CI and automation:
draw-mcp-validate diagram.drawio --mode production --format json
Features backed by validator rules, tests, and real examples:
claims.yaml)draw-mcp-validate with text/JSON output, severity filtering, and mode selection--preset)fontFamily on all text elementsFeatures documented but not deeply validated:
Features explicitly out of scope:
jgraph/drawio-mcp)Once installed, Claude Code uses this skill automatically for draw.io diagrams.
Create a simple flowchart showing: Start -> Process -> End
Draw an architecture diagram with swimlane containers
Create a layered diagram with infrastructure and application layers
| Mode | Purpose | Rule Count |
|---|---|---|
loose | Minimal parseability check | 5 |
standard | Default development mode | 22 |
strict | PR and CI review | 31 |
production | Team-shared artifacts + preset compliance | 31 |
Rule counts are defined in claims.yaml and verified by CI.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub ekusiadadus/draw-mcp --plugin draw-ioPlugins from other owners that cover similar ground