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 ejklockv0.4.0MITIn 1 marketplace
Renders the Mermaid diagrams Claude Code writes or reads as elegant cards in the transcript: colored Unicode art in any terminal, real pictures in kitty-graphics terminals such as Ghostty and herdr, native SVG on desktop.
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
SVG themetheme
Colors of the SVG drawn on desktop and in image mode.
One of tokyo-night, tokyo-night-storm, catppuccin-mocha, dracula, nord, one-dark, github-dark, zinc-dark, solarized-dark, github-light, catppuccin-latte
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it runs programs; writes files; reads files; reads environment variables (TMPDIR).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
mermaid, diagram, flowchart, sequence-diagram, terminal, svg, visualization, markdown ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
zinc-lightstringdefault tokyo-night
Languagelanguage
Language of the card titles, tool row counts and notices.
One of en, pt-BR
stringdefault en
Terminal renderterminalRender
unicode: colored box-drawing card, any terminal. image: the real SVG as a picture (kitty graphics: Ghostty, kitty, WezTerm, herdr; needs rsvg-convert).
One of unicode, image
stringdefault unicode
mermaid-render is a Claude Code plugin that turns every Mermaid diagram Claude writes in a reply, reads, writes, edits or prints in a file or a command's output, into a rendered diagram right in the transcript: a colored Unicode card in any terminal, a real SVG in the Claude Code desktop app and VS Code.
No more reading raw flowchart LR source. Flowcharts, sequence diagrams,
state diagrams, class diagrams and ER diagrams show up as pictures.


In Claude Code, run:
/plugin marketplace add ejklock/claude-mermaid-render
/plugin install mermaid-render@mermaid-render
Or in one line:
/plugin install mermaid-render --marketplace ejklock/claude-mermaid-render
Answer y to add the marketplace and pick a scope (user scope is the
default). The plugin is active at once, with no restart.
Requirements: Claude Code 2.1.292 or newer (function-hook plugins).
Node.js 20+ for the SVG renderer (desktop, VS Code, and the terminal image
mode). rsvg-convert only for the image mode
(brew install librsvg / apt install librsvg2-bin).
| Where | When | How it looks |
|---|---|---|
| Claude's replies | A closed ```mermaid fence in the answer | Prose stays Markdown; each diagram becomes a titled card |
| Tool rows | Read or Write of a .mmd / .mermaid file, or a .md file with mermaid fences | The diagrams appear under the tool row |
| Tool rows | A finished Bash run whose output holds a closed mermaid fence, or that prints a whole .mmd / .mermaid file (cat, sed -n) | The command's own row and output stay; each diagram appears as a card under it |
| Tool rows | A finished Edit of a .md file, for each mermaid fence the edit touched; of a .mmd / .mermaid file, the whole updated diagram | The edit's own diff stays; the updated diagrams appear as cards under it |
| Any terminal | Default unicode mode | Box-drawing art: bold labels, soft lines, accent-colored arrows |
| Ghostty, kitty, WezTerm | image mode | The real SVG, drawn as a picture (kitty graphics protocol); also inside a multiplexer that passes kitty graphics through, such as herdr |
| Desktop app, VS Code | Always | Native SVG |
Details that keep it pleasant:
image mode the picture fills the card width and is shrunk so the whole card fits on screen above Claude Code's prompt.image mode sends the picture as data, not as a file name, so it draws inside a multiplexer that passes kitty graphics through, such as herdr.The desktop SVG and the terminal image mode use the diagram themes of
beautiful-mermaid:
Flowchart, tokyo-night | Sequence, tokyo-night | State, catppuccin-mocha |
|---|---|---|
![]() | ![]() | ![]() |
Open /plugin, select mermaid-render, then Configure:
| Option | Values | Default |
|---|---|---|
terminalRender | unicode (any terminal), image (kitty graphics terminals) | unicode |
theme | tokyo-night, tokyo-night-storm, catppuccin-mocha, dracula, nord, one-dark, github-dark, zinc-dark, solarized-dark, github-light, catppuccin-latte, zinc-light | tokyo-night |
language | en, pt-BR (card titles, tool row counts and notices; any other value gives English) | en |
image mode sends the picture as data, so it also draws inside a multiplexer
that passes kitty graphics through, such as herdr. In tmux or a multiplexer that
does not, keep unicode. A picture over 2 MiB falls back to Unicode art.
npx claudepluginhub ejklock/claude-mermaid-render --plugin mermaid-renderBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground