agentleFS
veelengaveelenga/claude-mermaid/docs/llms.txt

claude-mermaid

llms.txt214 starsChanged 6 months agoMITView on GitHub

claude-mermaid is an MCP (Model Context Protocol) server that renders Mermaid diagrams in the browser with live reload as Claude edits the code. It exposes two tools — mermaid_preview and mermaid_save — supports SVG, PNG, and PDF export, and ships as a Claude Code plugin with a built-in diagram skill. Free and MIT-licensed.

  • Installs packages

The file

Files
llms.txt
# Claude Mermaid

> claude-mermaid is an MCP (Model Context Protocol) server that renders Mermaid diagrams in the browser with live reload as Claude edits the code. It exposes two tools — mermaid_preview and mermaid_save — supports SVG, PNG, and PDF export, and ships as a Claude Code plugin with a built-in diagram skill. Free and MIT-licensed.

Key facts:

- Install as a Claude Code plugin: `/plugin marketplace add veelenga/claude-mermaid` then `/plugin install claude-mermaid@claude-mermaid`
- Or from npm: `npm install -g claude-mermaid` then `claude mcp add --scope user mermaid claude-mermaid`
- Works with any MCP client (Cursor, Codex, Windsurf, Cline, Gemini CLI) via the `claude-mermaid` command
- Runs locally: renders with @mermaid-js/mermaid-cli, serves previews at http://localhost:3737 (ports 3737–3747), reloads over WebSocket
- Working files persist under ~/.config/claude-mermaid/live; `claude-mermaid --serve` opens a standalone gallery

## Documentation

- [Website (markdown version)](https://veelenga.github.io/claude-mermaid/index.md): Full product page as clean markdown — features, installation for each client, tools reference, and FAQ
- [README](https://raw.githubusercontent.com/veelenga/claude-mermaid/main/README.md): Source-of-truth documentation with quick start, architecture diagrams, and configuration details
- [Changelog](https://raw.githubusercontent.com/veelenga/claude-mermaid/main/CHANGELOG.md): Release history

## Source code

- [GitHub repository](https://github.com/veelenga/claude-mermaid): TypeScript source, issues, and releases (MIT license)
- [npm package](https://www.npmjs.com/package/claude-mermaid): Published package `claude-mermaid`

## Related

- [Mermaid documentation](https://mermaid.js.org/): Syntax reference for the diagrams this server renders
- [Claude Code documentation](https://docs.anthropic.com/en/docs/claude-code): The primary client this server is built for

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.