by BrockReece
Generate Whimsical diagrams from Mermaid markup via a Model Context Protocol server, returning both the diagram URL and a base64‑encoded image for iterative client workflows.
Creates Whimsical diagrams programmatically by accepting Mermaid markup produced by an MCP client (e.g., Claude). The server calls Whimsical's API, uploads the diagram, and returns a shareable URL together with a base64 image.
npx -y @smithery/cli install BrockReece/whimsical-mcp-server --client claude
git clone https://github.com/BrockReece/whimsical-mcp-server.git
cd whimsical-mcp-server
yarn install
yarn build
dist/index.js file, e.g.:
{
"mcpServers": {
"whimsical": {
"command": "node",
"args": ["/path/to/whimsical-mcp-server/dist/index.js"]
}
}
}
Q: Do I need a Whimsical account or API key? A: Yes, the server uses Whimsical’s public API, so an authenticated account is required. Set the appropriate credentials in your environment before running the server.
Q: Which markup languages are supported? A: Currently only Mermaid syntax is accepted.
Q: Can I customize the diagram’s style? A: Styling can be controlled within the Mermaid markup (themes, colors, etc.) before it is sent to the server.
Q: What runtime is needed? A: Node.js (LTS) with Yarn for building; the built server runs on any standard Node environment.
Q: How do I handle rate limits? A: Respect Whimsical’s API usage limits; consider adding back‑off logic in the MCP client if you anticipate high request volumes.
Whimsical now has an official MCP server available here
A third-party Model Context Protocol (MCP) server that enables the creation of Whimsical diagrams agentically. This server integrates with Whimsical's API to generate diagrams from Mermaid markup.
Here's an example of a complex system architecture diagram created using this MCP server and Claude - it shows the Model Context Protocol (MCP) architecture itself:

To install Whimsical MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install BrockReece/whimsical-mcp-server --client claude
# Clone the repository
git clone https://github.com/BrockReece/whimsical-mcp-server.git
# Install dependencies
yarn install
# Build the project
yarn build
Update the MCP Client's config to point to this repository's dist folder eg:
{
"mcpServers": {
"whimsical": {
"command": "node",
"args": [
"/path/to/this/repo/whimsical-mcp-server/dist/index.js"
]
}
}
}
This project is licensed under the MIT License.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.