Skip to content
↑↓navigate↵openescclose
Claude+372Whisper+228LangChain+168Codex+223NotebookLM+276DALL-E 3+192DeepL+249n8n+208Topaz Video AI+153LlamaIndex+161
MCP Mermaid logo
#95 · of 445 · by weekly downloadsMCP server

MCP Mermaid

Renders Mermaid diagrams and validates the syntax first, so a broken definition comes back as an error, not a blank image.

0
SaveVisit website ↗
Rank
#95
of 445 · by weekly downloads
Weekly downloads
4.4K
npm + PyPI, last 7 days
GitHub stars
626
Repository on GitHub

Add it to your client

Community
Install
npx -y mcp-mermaid
mcpServers
{
  "mcpServers": {
    "mermaid-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mermaid"
      ]
    }
  }
}
Transport
both
Runtime
Node
Auth
Not required
License
MIT
Stars
626

Mermaid is the natural diagram format for a model because it is text, but the failure mode is silent: one malformed edge and the renderer produces nothing useful. This server validates the definition before rendering and reports the problem, which turns diagramming into a correction loop the model can finish on its own across a couple of turns. Output format is chosen per call — base64, raw SVG, the Mermaid source itself, a file written to disk for coding agents, or a shareable mermaid.ink URL — and background colour and theme are parameters, so styling does not require post-processing. It runs over stdio or as an SSE or streamable HTTP service, with a Docker image for the server mode.

Comments(0)

Sign in to comment

No comments yet — be the first.

Similar MCP servers

Report this comment

Why are you reporting this?