AI sees structure, not just pixels
An image only has pixels, but Mermaid code exposes all branches and logical relationships. This allows AI to accurately understand, rewrite, complete, and extend your flowchart.

OpenMMD started as a visual Mermaid editor: people draw visually, AI receives structured Mermaid. It now also supports Book projects, where every Markdown file is a chapter, and a local MCP bridge lets AI agents write chapters into your browser and publish the whole book.
Draw intuitively without learning complex code syntax
Export PNG images to easily share with your team or add to docs
Export Mermaid code so AI can accurately understand and modify it
Export Markdown containing both a diagram preview and source code
Create Book projects from Markdown chapters and publish them as readable share pages
Use the MCP bridge so AI agents can create chapters, update books, and share them from your local browser
flowchart LR
A[Idea] --> B{Ready to scope?}
B -->|Yes| C[Build diagram]
B -->|No| D[Collect context]
C --> E[Review with team]
E --> F[Ship in docs]
D --> BWhy we need Mermaid
Humans can understand an image flowchart at a glance. But if you give AI a screenshot, it has to "guess" the structure through image recognition, often misunderstanding the relationships. Mermaid, however, is structured text code. AI reads this code like its native language, knowing exactly what every node and line means.
An image only has pixels, but Mermaid code exposes all branches and logical relationships. This allows AI to accurately understand, rewrite, complete, and extend your flowchart.
Even though the underlying format is code, you don't need to know any code. You can drag and connect nodes just like any modern diagram tool, leaving the tedious code generation to OpenMMD.
Diagram data is saved locally in your browser first for speed and peace of mind. When you need cloud sync, you can also store it in your own GitHub repository.
What you can export
OpenMMD is designed around a simple principle: you create the flowchart once, and we provide the right format for whoever needs to read it.
Share a polished visual with teammates, drop it into docs, or use it in slides when people simply need to see the diagram.
Give AI the exact structured text it needs to understand your logic, generate code, or help you brainstorm edge cases.
Generate a Markdown file that contains both a human-friendly visual preview and the AI-friendly Mermaid source code.
Who it is for
Draft flows visually, export Markdown, and hand the Mermaid code to AI for improved user journeys, edge cases, and acceptance criteria.
Use Mermaid as a source file for architecture, API sequence flows, and system behavior, then iterate with AI in a format it can actually manipulate.
Move from rough thinking to diagrams, docs, prompts, and shipping decisions in one compact workflow without introducing a heavyweight diagram stack.
Keep a repo that stores Markdown knowledge and Mermaid artifacts together, so the same repository can power your editor workflow and your Obsidian vault sync.
Book projects
A Book project is a local-first writing workspace. Each Markdown file is a chapter, OpenMMD keeps the chapter index, and the shared page publishes a readable table of contents instead of a single-file preview.
Create or upload Markdown chapters, keep them ordered, and let OpenMMD maintain the book index for sync and publishing.
Share uploads the book landing page, manifest, and every chapter to R2 under a stable book URL.
The project type and book chapter index are part of the data model, so synced devices can rebuild the same book structure.
Local MCP bridge
Install the OpenMMD browser extension and run the npm MCP server. AI agents can create books, write Markdown chapters, reorder chapters, open chapters, and publish the current book through your local browser session.
The AI talks to your browser through MCP and the extension. OpenMMD still uses its own IndexedDB and project store.
`openmmd_share_book` uploads the full Markdown book and returns a public readable URL.
A copyable Markdown guide tells coding agents how to install the MCP server and connect to the Chrome extension.
Audience fit
Product managers who want diagrams AI can help revise instead of merely describe
Developers who need Mermaid code they can store, diff, reuse, and generate from prompts
Indie hackers and solo founders building faster with AI-assisted specs and documentation
Teams using Obsidian, GitHub, and Markdown as the source of truth for product knowledge
OpenMMD helps you keep diagrams visual for people, books structured for readers, and source text accessible to AI agents. That is the sweet spot for modern product work, development workflows, and one-person companies moving fast.