Skip to content
appsgit

MCP Mermaid

MCP Mermaid is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. ❤️ Generate mermaid diagram and chart with AI MCP dynamically. It has 642 GitHub stars, is released under the MIT license and runs locally with npx -y mcp-mermaid.

github.com/hustcc/mcp-mermaid (opens in a new tab)

Install MCP Mermaid

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "mcp-mermaid": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mermaid"
      ]
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --transport stdio mcp-mermaid -- npx -y mcp-mermaid

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "mcp-mermaid": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-mermaid"
      ]
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "mcp-mermaid": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-mermaid"
      ]
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

About MCP Mermaid

Generate mermaid diagram and chart with AI MCP dynamically. Also you can use: To use with Desktop APP, such as Claude, VSCode, Cline, Cherry Studio, and so on, add the MCP server config below. On Mac system:

  • mcp
  • mcp-server
  • mermaid
  • mermaidjs

FAQ

MCP Mermaid FAQ

Still curious? Email info@appsgit.com.

What is MCP Mermaid?

MCP Mermaid is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. ❤️ Generate mermaid diagram and chart with AI MCP dynamically. It has 642 GitHub stars, is released under the MIT license and runs locally with npx -y mcp-mermaid. The source code is at github.com/hustcc/mcp-mermaid.

How do I install the MCP Mermaid MCP server?

Add the command npx -y mcp-mermaid to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is MCP Mermaid free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is MCP Mermaid actively maintained?

The most recent commit was on May 15, 2026. The latest release is 0.4.1, published Feb 12, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.