
Mermaid Mcp App
io.github.finfinPublished by GitHub account finfinv0.3.2Updated Oct 24, 2026
MCP App that renders Mermaid diagrams as interactive UI in Claude, VS Code and other MCP clients
Overview
Renders Mermaid diagrams in an interactive viewer with pan, zoom, and a source editor inside MCP-compatible hosts.
- What you can do
- This MCP app turns Mermaid source into an interactive diagram view inside the host client. It supports 13 diagram types, including flowcharts, sequence, class, state, ER, Gantt, pie, git graph, mindmap, timeline, journey, requirement, and quadrant charts. The viewer offers pan and zoom, fit-to-container, copy SVG, and a split-view source editor with live re-render. Edited source can be sent back to the LLM, and context syncs automatically as you type.
- When to use it
- Use it when you want an assistant to draw or revise diagrams and you want to inspect, edit, and iterate on them visually without leaving the chat. It suits architecture sketches, flowcharts, sequence diagrams, and other Mermaid-supported visualizations.
- Requirements
- Runs as a local process via npx (Node.js required) or as a Claude Desktop extension (.mcpb). Desktop only; no web executable. No authentication, environment variables, or headers are declared.
Installation
In SourceWeft
- Open Mermaid Mcp App in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Mermaid MCP App
English | 繁體中文
An MCP App that renders Mermaid diagrams in an interactive viewer with pan, zoom, and a built-in source editor. Edit diagrams directly in the split-view editor and send the updated source back to the LLM to continue the conversation with your changes. Works in Claude Desktop, VS Code, and any MCP-App-compatible host.
Usage
Once configured, ask the LLM to draw a diagram:
You can also specify a theme explicitly:
"Draw a class diagram with light theme"
Features
Interaction with AI
Edit the diagram source directly in the split-view editor, then send it back to the LLM to continue the conversation with your changes.
- Send to AI — sends the edited diagram source back to the LLM, triggering a response
- Auto context sync — LLM context is automatically updated as you type (debounced); the LLM always sees your latest source on the next message
Diagram Types (13 supported)
Flowchart
flowchart — General-purpose directed graphs. Supports top-down and left-right layouts, subgraphs, and various node shapes.
Sequence Diagram
sequenceDiagram — Interaction between participants over time. Shows messages, loops, and alternative flows.
Class Diagram
classDiagram — Object-oriented class structure with attributes, methods, and relationships (inheritance, composition, etc.).
State Diagram
stateDiagram-v2 — Finite state machines with transitions, composite states, and concurrency.
ER Diagram
erDiagram — Entity-relationship diagrams for data modeling with cardinality annotations.
Gantt Chart
gantt — Project timelines with tasks, milestones, dependencies, and critical paths.
Pie Chart
pie — Proportional data as pie slices with percentage labels.
Git Graph
gitGraph — Git branch and commit history visualization with merge and cherry-pick flows.
Mindmap
mindmap — Hierarchical tree of ideas radiating from a central root node.
Timeline
timeline — Chronological events grouped by time period.
User Journey
journey — User experience flows scored by satisfaction level across sections and actors.
Requirement Diagram
requirementDiagram — System requirements with type, risk, and verification method, linked to design elements.
Quadrant Chart
quadrantChart — Four-quadrant scatter plot for prioritization and positioning analysis.
UI
- Pan & zoom — mouse drag to pan, scroll wheel to zoom, pinch-to-zoom on touch
- Fit to container — auto-fits diagram on render; reset button restores fit
- Copy SVG — copies the rendered SVG to clipboard
- Split-view source editor — always-visible editor panel with live re-render (400ms debounce)
- Minimizable editor — collapse to a compact bottom bar; expand with one click
- Vertical / horizontal layout toggle — source below (vertical) or to the right (horizontal); minimized state always snaps to the bottom
- Theme support —
dark(auto-detected from system preference) andlight
Installation
Claude Desktop — Extension (recommended)
Download the latest .mcpb from GitHub Releases and double-click to install. No terminal or configuration needed.
Claude Desktop — Manual
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
VS Code
Add to .vscode/mcp.json or user settings:
Development
Source: README.md at commit 47319d0
Tools
0Version history
1- v0.3.2LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.