Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Claude Mermaid MCP server

by veelenga/claude-mermaidMIT licenceAudited 6 Oct 2026 · source 47fc9c7b0a9d

npm claude-mermaid 1.6.6stdio★ 215
✓SAFEGrade B · 89/100 · 6 Oct 2026 · 47fc9c7
215GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 2 tools: 1 read, 1 write and 0 destructive. The audit recorded 11 findings (0 critical, 0 high, 0 medium, 10 low). Maintainer's description: MCP Server to previewing mermaid diagrams with live reload

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Claude Mermaid MCP server (veelenga/claude-mermaid)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/veelenga/claude-mermaid

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium10 low1 info

11 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 3 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 8 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner veelengaUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmclaude-mermaid at version 1.6.6
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push1 day agoActivity of the repository when we read it.
  • Source commit read47fc9c7b0a9dThe audit covers exactly this commit, read on 6 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory2 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (11)

Sorted by severity

LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · docs/.nojekyll
F-13 Inventory / provenanceCWE-1104Layer L0
.nojekyll
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.system_paths · test/file-utils.test.ts:88
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
expect(() => getPreviewDir("/etc/passwd")).toThrow("Invalid preview ID format");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.system_paths · test/file-utils.test.ts:269
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
expect(() => validateSavePath("/etc/diagram.svg")).toThrow(
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/file-utils.test.ts:309
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
expect(() => validateSavePath("../../diagram.svg")).not.toThrow();
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/file-utils.test.ts:310
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
expect(() => validateSavePath("./../../output/test.svg")).not.toThrow();
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/helpers/env-helpers.ts:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getPreviewDir } from "../../src/file-utils.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/live-server/basic.test.ts:12
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from "../../src/live-server.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/live-server/export.test.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { ensureLiveServer, closeLiveServer } from "../../src/live-server.js";
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@mermaid-js/mermaid-cli, @modelcontextprotocol/sdk, pako, ws, @types/node, @types/pako, @types/ws, prettier
Why
10 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · assets/demo.gif
F-13 Inventory / provenanceCWE-1104Layer L0
assets/demo.gif
Why
10494810 bytes not read
Fix
—

Tools it exposes

2 declared in source · 0 destructive

1 read1 write0 destructive
ToolRiskWhat it does
mermaid_savewriteSave the current live Mermaid diagram to a file path.
mermaid_previewreadRender a Mermaid diagram and open it in browser with live reload.

Install

Package version 1.6.6 · audited commit 47fc9c7

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.6.6. The audit covers commit 47fc9c7 only.

claude mcp add claude-mermaid -- npx -y [email protected]

The command pins the package version recorded in the source (1.6.6); the audit covers commit 47fc9c7b0a9d. Transport: stdio. No environment variables required.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 47fc9c7b0a9d

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/veelenga/claude-mermaid/badge.svg)](https://modelsatlas.com/mcp/veelenga/claude-mermaid/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Claude Mermaid MCP server

What is the Claude Mermaid MCP server?
MCP Server to previewing mermaid diagrams with live reload
What tools does Claude Mermaid expose?
2 in total: 1 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Claude Mermaid safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Claude Mermaid need?
No credential environment variables were found in its source, so it appears to need none.
How does Claude Mermaid run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as claude-mermaid at 1.6.6.
How current is this page?
The grade is for one exact copy of the source (47fc9c7b0a9d), read on 2026-10-06. The repository is watched and re-audited when it changes.

Sources

  • veelenga/claude-mermaid on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 47fc9c7b0a9dObserved · 6 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.