Mermaid Render MCP server
io.github.tci-nebula/mermaid-render-mcp·v1.3.0Renders Mermaid diagram syntax to PNG or SVG images for LLM clients
0 stars83 downloads/wk
Reviews
Write oneNobody has reviewed Mermaid Render yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Mermaid Render tools (1)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
render_diagramRender Mermaid diagram syntax into a PNG, SVG, or PDF — or convert it to an
Public scan report
scanner v0.1.10 · 2026-11-03 · same rubric, same numbers if you re-run it
- Code scan3 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 75 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Mermaid Render compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 4,460 AI and agents servers
- Tools
- 1
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 83
- more than 60% of 1,538 AI and agents servers with a package
What its tools let an agent do: 1 read
Install Mermaid Render in Claude Code, Cursor or VS Code
Runs npx -y mermaid-render-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mermaid-render-mcp -- npx -y mermaid-render-mcp
What the publisher says
From the Mermaid Render repository's README, as published. We do not edit it. Read it on GitHub
mermaid-mcp
An MCP server that renders Mermaid diagrams to PNG, SVG, or PDF — or converts them to editable draw.io files. Give your LLM the ability to turn diagram syntax into actual images and documents.
Quick start
Claude Code
claude mcp add mermaid -- npx -y mermaid-render-mcpClaude Desktop
Add to claudedesktopconfig.json:
{
"mcpServers": {
"mermaid": {
"command": "npx",
"args": ["-y", "mermaid-render-mcp"]
}
}
}Note: the first run downloads headless Chromium (~150 MB), so the initial startup takes a few minutes. If you only need flowcharts and can work with editable files, the drawio fast path skips Chromium entirely.
Docker
No Node.js or Chromium download needed — the image ships with everything (including CJK fonts for Japanese/Chinese/Korean labels):
claude mcp add mermaid -- docker run -i --rm tcinebula/mermaid-render-mcpTo use output_path, mount a host directory and write into it:
{
"mcpServers": {
"mermaid": {
"command": "docker",
"args": ["run", "-i", "--rm", "-v", "C:\\diagrams:/out", "tcinebula/mermaid-render-mcp"]
}
}
}Then pass output_path: "/out/figure.pdf" and the file appears in C:\diagrams.
Remote / self-hosted (HTTP)
The same server speaks Streamable HTTP when PORT is set (or MCP_TRANSPORT=http), so it can be deployed to any container host — Railway, Fly.io, etc. — straight from the Dockerfile:
- Endpoint: POST /mcp (health check at /healthz)
- Set AUTH_TOKEN to require Authorization: Bearer
- output_path is disabled in HTTP mode; base64/XML responses only
From source
git clone https://github.com/tci-nebula/mermaid-mcp.git
cd mermaid-mcp
npm install
claude mcp add mermaid -- node /path/to/mermaid-mcp/server.jsTool: render_diagram
Returns the rendered image as base64-encoded data so MCP clients can display it inline — or, with output_path, writes the file to disk (handy for PDFs destined for printing or formal document submission).
Example
Ask your LLM:
"Draw me a flowchart of the OAuth login flow"
It generates the Mermaid syntax, calls render_diagram, and you get back a PNG.
The drawio fast path (no Chromium)
format: "drawio" is the one output that never touches a browser. It's pure JavaScript — parse, lay out with dagre, emit XML — so there's no Chromium download, no ~150 MB install, and no multi-minute first run. Conversion is effectively instant.
Reach for it when:
- you want the diagram editable rather than flat — every shape stays a real draw.io object
- you're on a constrained box (CI, a slim container, a locked-down laptop) where downloading Chromium isn't practical
- you just want the diagram now and don't need a raster image
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Mermaid Render: common questions
- Is Mermaid Render MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Mermaid Render safety report
- How do I install Mermaid Render?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Mermaid Render need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Mermaid Render maintained?
- The last commit was 76 days ago (2026-08-20). The latest release is v1.3.0.
- What can I use instead of Mermaid Render?
- Servers from other publishers that do the same job: VisualTorch MCP server, PaperBanana MCP server and Agent-Native Plan MCP server.
- How does Mermaid Render compare with other AI and agents MCP servers?
- safety score 88/100 (higher than 80% of 4,460 AI and agents servers); tools 1 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Mermaid Render
Same job from other publishers: the closest match first, then the best rated.
VisualTorchRender PyTorch architecture diagrams and animated GIF reveals from trusted model source.not reviewedEstablishedA- PaperBananaGenerate academic diagrams and statistical plots from text using multi-agent AI.not reviewedEstablishedA
- Agent-Native PlanStructured visual plans and PR recaps with diagrams, prototypes, annotations, and sharingnot reviewedEstablishedA
- WaveSpeedRun any model on the live WaveSpeed catalog: image, video, audio, 3D.not reviewedEstablishedA
- ImageAI image generation and editing with prompt optimization and quality presetsnot reviewedEstablishedB