# Mermaid Validator

> Use this tool when you need to validate and visualize Mermaid diagrams, solving issues with syntax errors and providing rendered SVG output for valid diagrams. It accepts a diagram string as input and returns either a success message with the rendered SVG image or detailed validation errors. Ideal for applications requiring diagram syntax verification within a conversation interface.

Canonical page: https://skillsregistry.net/skills/rtuin-mermaid-validator  
JSON: https://api.skillsregistry.net/v1/skills/rtuin-mermaid-validator

## Description

An MCP server that validates Mermaid diagrams and returns rendered SVG output if valid. It uses the mermaid-cli package to process diagram syntax, providing detailed error messages for invalid diagrams. The server exposes a single tool called 'validateMermaid' that accepts a diagram string as input and returns either a success message with the rendered SVG image or specific validation errors, making it useful for applications that need to verify and visualize diagram syntax without leaving the conversation interface.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** media
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/rtuin-mermaid-validator)
- **Repository:** <https://github.com/rtuin/mcp-mermaid-validator>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "rtuin-mermaid-validator"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/rtuin-mermaid-validator` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/rtuin-mermaid-validator/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
