Repository navigation
0.3.0
New in 0.3.0: open-diagram as an MCP server.
AI apps such as Claude Desktop, Claude Code and Cursor can now draw diagrams as one of their own actions. It runs on your computer and nothing is hosted.
- Tools:
format_guide,check,drawanddescribe.drawreturns the layout problems, the file paths, a plain-words description and the picture itself, so the AI can look at what it made. - Input: JSON and Mermaid only, never Python. Files are written only inside one output folder.
- Install for Claude Code:
claude mcp add open-diagram -- uvx --python 3.12 --from "open-diagram[mcp]" open-diagram-mcp. The README has the Claude Desktop and Cursor settings. - Optional: the MCP toolkit needs Python 3.10 or later. Plain
pip install open-diagramis unchanged and still works on Python 3.9.