Mermaid MCP Server converts Mermaid diagram code into PNG images or SVG files using Puppeteer-based headless browser rendering, with support for multiple themes and customizable styling. The server integrates with AI assistants and applications through the Model Context Protocol, enabling them to generate visual diagrams from textual Mermaid syntax descriptions. It solves the problem of allowing language models to create and output visual diagram representations without direct access to rendering tools, with flexible output options to return files directly or save them to disk.
claude mcp add --transport stdio peng-shawn-mermaid-mcp-server uvx mermaid-mcp-server