---
title: "Best Diagram MCP Servers in 2026: draw.io, Excalidraw, Miro"
description: "Compare the best diagram MCP servers in 2026, from draw.io and Excalidraw to Miro, Lucid, FigJam and Mermaid, with GitHub stars, sign-in, limits and prices."
url: https://productexplained.com/guides/best-diagram-mcp-servers
updated: 2026-12-02
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://productexplained.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Best Diagram MCP Servers in 2026

By ProductExplained Editorial Team. Updated December 2, 2026. Category: [AI canvas and whiteboard tools](https://productexplained.com/category/canvas.md).

**Short answer:** draw.io's official MCP server is the best pick for most people: it is free, needs no sign-in, and turns Mermaid, PlantUML or XML into diagrams you can keep editing in draw.io. Coding agents that keep diagrams in a repository should add the community Excalidraw server by yctimlin, and teams whose diagrams live on shared boards should use Miro's or Lucid's hosted servers.

## Key takeaways

- draw.io's official server is the best default, because it is free, needs no account and turns Mermaid, PlantUML, CSV or XML into native shapes you can edit.
- Diagram MCP servers do three different jobs: render diagrams as code, draw on a shared whiteboard, or produce editable diagram files an agent can revise and commit.
- Hosted servers from Miro, Lucid, Whimsical, Eraser and Figma follow your plan's limits, from 20 read calls a month on a Figma Collab seat to 10,000 Miro calls a day on Enterprise.
- Two well-known community servers need care: Excalidraw's official MCP app and hustcc/mcp-mermaid have not been updated in more than six months.

## Quick comparison

| # | Tool | Best for | Starting price | Free plan |
| --- | --- | --- | --- | --- |
| 1 | [draw.io](https://www.drawio.com/mcp/) | Editable diagrams, free, no sign-in | Free (open source, Apache-2.0) | Yes |
| 2 | [Miro](https://developers.miro.com/docs/miro-mcp) | Diagrams on shared team boards | Free; Starter $8 per member/month (billed yearly) | Yes |
| 3 | [Excalidraw MCP Server (yctimlin)](https://github.com/yctimlin/mcp_excalidraw) | Coding agents that refine and commit diagrams | Free (open source, MIT) | Yes |
| 4 | [Lucidchart](https://help.lucid.co/hc/en-us/articles/42578801807508-Integrate-Lucid-with-AI-tools-using-the-Lucid-MCP-server) | Companies already on Lucid | Free; Individual $9/month billed annually | Yes |
| 5 | [FigJam](https://developers.figma.com/docs/figma-mcp-server/tools-and-prompts/) | Teams whose designs live in Figma | $3 per Collab seat/month (Professional) | Yes |
| 6 | [Whimsical](https://whimsical.com/learn/integrations/remote-mcp) | Tidy flowcharts and mind maps | Free; Pro $10 per editor/month billed annually | Yes |
| 7 | [Eraser](https://docs.eraser.io/mcp) | Architecture diagrams as code | Free; Business $45 per member/month billed annually | Yes |
| 8 | [Mermaid](https://mermaid.ai/docs/ai/mcp-apps-server/v2) | Rendering Mermaid inside a chat | Free; Plus $10 per user/month billed annually | Yes |
| 9 | [Excalidraw](https://github.com/excalidraw/excalidraw-mcp) | Hand-drawn diagrams inside a chat | Free (open source) | Yes |
| 10 | [tldraw](https://tldraw.dev/blog/building-with-the-tldraw-mcp) | Quick sketches with an agent | Free | Yes |

## 1. draw.io

Tags: Official, Open source, Hosted

- **Best for:** Editable diagrams, free, no sign-in
- **Starting price:** Free (open source, Apache-2.0)
- **Free plan:** Yes
- **Website:** https://www.drawio.com/mcp/

draw.io's official server is the best starting point for most people, because it is free, needs no account and produces diagrams you can keep editing. JGraph, the company behind draw.io, ships it four ways: a hosted endpoint at mcp.draw.io, an npm tool server that opens diagrams in the draw.io editor, a Docker image, and plugins for Claude Code, Codex, GitHub Copilot, Cursor and Antigravity. The jgraph/drawio-mcp repository has 5.9k stars on GitHub (2 Dec 2026) and was updated the day we checked.

According to its README, the hosted server has four tools. create_diagram takes draw.io XML, Mermaid, PlantUML or CSV and shows an interactive diagram inside chats that support MCP Apps, such as Claude, ChatGPT, VS Code and Cursor. search_shapes looks through more than 10,000 shapes, including AWS, Azure, GCP, Kubernetes, BPMN and UML libraries. Mermaid flowcharts, ER and sequence diagrams become native shapes with attached connectors, not pictures, and a fast mode lays out quick flowcharts and swimlanes for fewer tokens.

The hosted server receives what your assistant sends; draw.io says it does not store diagrams or use them for training, and points privacy-minded teams to Docker or the npm server. It has no tool to read diagrams already saved in your storage, so revising an old diagram means opening it in draw.io or letting a coding agent edit the .drawio file the plugin wrote.

**What we like**

- Free, open source and needs no account
- Mermaid, PlantUML and CSV become editable native shapes
- More than 10,000 shapes, including cloud and BPMN libraries
- Hosted, npm, Docker and plugin options

**Watch out for**

- No tool to open diagrams already in your storage
- Inline previews need a client that supports MCP Apps
- Fast mode only draws flowcharts and swimlanes in one theme

## 2. Miro

Tags: Official, Hosted

- **Best for:** Diagrams on shared team boards
- **Starting price:** Free; Starter $8 per member/month (billed yearly)
- **Free plan:** Yes
- **Website:** https://developers.miro.com/docs/miro-mcp

Miro's server fits teams whose diagrams belong on a shared board next to sticky notes, docs and workshop output. It is hosted at mcp.miro.com and signs in with OAuth 2.1, and Miro's docs list Claude, ChatGPT, Codex, Claude Code, Cursor, Gemini CLI and VS Code. Agents can summarize and search boards, build new ones, generate diagrams and act on comments, always within the board permissions you already have.

Its diagram tools take a DSL or Mermaid-style description and produce flowcharts, mind maps, UML class and sequence diagrams and ER diagrams, according to Miro's tools reference on GitHub. The same server creates docs, tables, timelines and kanban boards, and fetches images from a board. Plugins for Claude Code, Gemini CLI, Codex and Kiro bundle the server with eight skills, and the miroapp/miro-ai repository has 174 stars on GitHub (2 Dec 2026).

Miro says the server works on every plan, but calls are capped per day: 100 on Free, 500 on Starter ($8 per member a month billed yearly), 2,000 on Business ($20) and 10,000 on Enterprise. A heavy agent session on a free team can hit that cap. Running the plugin and a manual config together creates duplicate connections, which Miro's docs warn against.

**What we like**

- Works on every plan, free teams included
- Builds diagrams, docs, tables and boards
- Hosted with OAuth, so cloud clients connect directly

**Watch out for**

- Daily call cap of 100 on the free plan
- Not built for precise technical notation
- Plugin and manual setup can collide

## 3. Excalidraw MCP Server (yctimlin)

Tags: Community, Open source, Local

- **Best for:** Coding agents that refine and commit diagrams
- **Starting price:** Free (open source, MIT)
- **Free plan:** Yes
- **Website:** https://github.com/yctimlin/mcp_excalidraw

The community server by yctimlin is the pick for coding agents that should draw, look at their work, fix it and commit the diagram. It runs a local Excalidraw canvas at 127.0.0.1:3000 and gives the agent 27 MCP tools, plus a CLI and an agent skill for Claude Code, Codex, Cursor and OpenCode. The yctimlin/mcp_excalidraw repository has 2.7k stars on GitHub (2 Dec 2026), an MIT license, and was updated on 28 November.

Unlike Excalidraw's official app, it works at element level: the agent can query, describe and screenshot the canvas, then align, group or update single shapes. It converts Mermaid, exports .excalidraw files that stay byte-identical when unchanged so git shows no phantom diffs, renders PNGs without a browser tab, and can write into an Obsidian vault. Several agents can work on the same canvas, and drawing needs no account or API key.

The cost is setup and safety. It needs Node 20 or later, and the canvas API has no built-in authentication, so the README warns against exposing it beyond localhost. The optional share command uploads an encrypted scene to excalidraw.com unless you point it at your own instance, and the project is maintained by one developer and contributors rather than by Excalidraw.

**What we like**

- 27 tools with element-level control
- The agent can screenshot and describe its own work
- Exports stable .excalidraw files for git

**Watch out for**

- Local setup with Node 20 or later
- Canvas API has no authentication
- Community project, not run by Excalidraw

## 4. Lucidchart

Tags: Official, Hosted

- **Best for:** Companies already on Lucid
- **Starting price:** Free; Individual $9/month billed annually
- **Free plan:** Yes
- **Website:** https://help.lucid.co/hc/en-us/articles/42578801807508-Integrate-Lucid-with-AI-tools-using-the-Lucid-MCP-server

Lucid's server suits companies that already keep process maps, org charts and technical diagrams in Lucidchart. It is hosted at mcp.lucid.app over Streamable HTTP with OAuth, and has one-click connectors for Claude and ChatGPT plus setup for Cursor, GitHub Copilot, Glean, Microsoft Copilot Studio and Slack. Agents can search and summarize documents, create diagrams from a prompt, build org charts from CSV, edit shapes, share documents and export PNGs.

Lucid lists the server on Free, Individual, Team and Enterprise plans. It offers a read-only endpoint for cautious teams, and API keys for unattended jobs on Team and Enterprise. Lucid's GitHub README adds UML sequence diagrams from PlantUML markup, and its help center says the server passes data through without keeping document content, prompts or queries. The lucidsoftware/lucid-mcp-server repository holds skills and plugins rather than the server code.

Expect admin work and plan limits. On Team and Enterprise an admin must switch MCP on first, FedRAMP accounts are excluded, and diagrams it creates are static rather than linked to live data. On the pricing page, Free allows 3 editable documents with 75 shapes each, and Individual is $9 a month billed annually; the 7-day trial asks for payment details at sign-up.

**What we like**

- Available on every plan, Free included
- Reads, edits, creates and exports documents
- Read-only endpoint for cautious teams

**Watch out for**

- Admins must enable it on Team and Enterprise
- Free plan caps documents at 75 shapes
- Created diagrams aren't linked to live data

## 5. FigJam

Tags: Official, Hosted

- **Best for:** Teams whose designs live in Figma
- **Starting price:** $3 per Collab seat/month (Professional)
- **Free plan:** Yes
- **Website:** https://developers.figma.com/docs/figma-mcp-server/tools-and-prompts/

FigJam is the natural pick for teams whose designs already live in Figma. Figma's MCP server has a generate_diagram tool that turns a plain-language description or Mermaid syntax into a FigJam diagram, in a new file or an existing one. Figma's docs list flowcharts, Gantt charts, state, sequence and architecture diagrams, and entity relationship diagrams, and no existing file is needed to start.

The tool runs only on Figma's remote server, not the desktop one, and sits among 44 tools covering design context, comments, Code Connect, canvas writes and Weave. Agents usually pick it by themselves for diagram requests; Figma suggests naming the tool in your prompt when they don't. The diagram lands next to your design files, where designers and product managers already comment.

The catch is limits. Read calls are capped at 20 a month on Starter plans and on View and Collab seats, while Full and Dev seats on Professional get 200 a day. Figma says tools that write to files don't count toward those limits, but its docs don't say which plans generate_diagram needs. A Collab seat on Professional costs $3 a month with 500 AI credits.

**What we like**

- Diagrams sit beside your Figma designs
- Takes plain language or Mermaid
- Six diagram types, including Gantt and architecture

**Watch out for**

- Remote server only
- Low read limits on free and Collab seats
- Plans for generate_diagram aren't stated

## 6. Whimsical

Tags: Official, Hosted

- **Best for:** Tidy flowcharts and mind maps
- **Starting price:** Free; Pro $10 per editor/month billed annually
- **Free plan:** Yes
- **Website:** https://whimsical.com/learn/integrations/remote-mcp

Whimsical's server is for product teams that want tidy flowcharts, mind maps and sequence diagrams without learning a diagram language. It is hosted at mcp.whimsical.com with OAuth sign-in, is a verified connector in Claude and a plugin in ChatGPT and Cursor, and also works in Grok. Its 19 documented tools search files, create boards and docs, add diagrams, auto-layout and arrange content, edit wireframes, and read or answer comments.

According to its pricing FAQ, connecting an agent is free. Free covers 50 board objects and 50 doc blocks a month with watermarked exports; Pro is $10 per editor a month billed annually ($12 monthly), and Business $20. Each connection allows 300 requests a minute and 3,600 an hour, and a separate desktop server gives local coding agents such as Claude Code and Codex access to files on your machine.

The free object cap runs out quickly once an agent starts drawing, and locked objects, trashed content and library items can't be edited through MCP. Whimsical's pages don't advertise cloud architecture shape libraries, so infrastructure diagrams fit draw.io or Eraser better. The desktop server is set up through Whimsical support rather than self-serve.

**What we like**

- Free to connect, with OAuth and no install
- 19 tools, including auto-layout and comments
- Verified connector in Claude

**Watch out for**

- Free plan caps board objects at 50 a month
- No cloud architecture shape libraries advertised
- Desktop server needs a support request

## 7. Eraser

Tags: Official, Hosted, Diagram as code

- **Best for:** Architecture diagrams as code
- **Starting price:** Free; Business $45 per member/month billed annually
- **Free plan:** Yes
- **Website:** https://docs.eraser.io/mcp

Eraser is the pick for engineers who draw architecture, sequence, ERD and BPMN diagrams as code. Its hosted server at app.eraser.io/api/mcp has 42 tools across diagrams, documents, files, folders, search and export, presets, and templates. It signs in with OAuth or a team API key, and Eraser lists Claude Code, Claude, ChatGPT, Cursor, Codex, VS Code, GitHub Copilot, Kiro and Microsoft Copilot Studio. A local npm package uses API keys.

Tools prefixed manually_ write your own diagram code as-is, without AI, while the others generate with Eraser's AI and spend credits: the user's credits under OAuth, the team's under an API key. Exports cover PNG, JPEG, SVG, PDF, draw.io, Visio, PowerPoint and BPMN, which helps when a diagram has to move to another tool or into a slide deck.

Eraser says the server is free to use within the same limits as the app, and the free plan holds 3 files and 3 AI credits. Business is $45 per member a month billed annually, or $60 monthly, so a team that leans on AI generation pays a lot more than for Miro or Whimsical. The manual tools keep costs down if your agent writes the diagram code itself.

**What we like**

- 42 tools, the widest set here
- Write diagram code without spending AI credits
- Exports to draw.io, Visio, PowerPoint and BPMN

**Watch out for**

- Free plan holds only 3 files and 3 AI credits
- Business is $45 per member a month
- AI generation spends credits on every call

## 8. Mermaid

Tags: Official, Hosted, Diagram as code

- **Best for:** Rendering Mermaid inside a chat
- **Starting price:** Free; Plus $10 per user/month billed annually
- **Free plan:** Yes
- **Website:** https://mermaid.ai/docs/ai/mcp-apps-server/v2

Mermaid's own server, from Mermaid Chart Inc, is the simplest way to see Mermaid code rendered inside a chat. Its display_mermaid tool validates the syntax and shows an interactive SVG preview with no sign-in. Signing in adds tools to save, update and list diagrams in your mermaid.ai account and to fetch a diagram from its URL, and repair_diagram fixes broken syntax with AI. There are seven tools in all.

The connector is marked Anthropic verified in Claude's directory, and mermaid.ai says its server also works with VS Code and Cursor. Because Mermaid is plain text, the same diagram drops into GitHub, Confluence or your docs, and models already write it well, so this server mostly adds a reliable preview, a syntax check and a place to keep diagrams.

The free Basic plan allows 3 diagrams of limited size and 15 AI credits, and repair_diagram spends credits when a repair succeeds. Plus is $10 per user a month billed annually, and mermaid.ai says annual billing is the only option. Mermaid lays diagrams out automatically, so it is weaker than draw.io or Excalidraw when placement matters.

**What we like**

- Renders and validates Mermaid without sign-in
- Saves diagrams to your mermaid.ai account
- Mermaid text works across GitHub and docs

**Watch out for**

- Free plan keeps only 3 diagrams
- Annual billing only on paid plans
- Automatic layout limits fine control

## 9. Excalidraw

Tags: Official, Open source, Hosted

- **Best for:** Hand-drawn diagrams inside a chat
- **Starting price:** Free (open source)
- **Free plan:** Yes
- **Website:** https://github.com/excalidraw/excalidraw-mcp

Excalidraw's official MCP app is the quickest way to get a hand-drawn diagram inside Claude, ChatGPT, VS Code or Goose. You add the remote server at mcp.excalidraw.com, install a desktop extension for Claude, or build it from source, and the diagram streams into the chat with camera movement and a fullscreen editor. The excalidraw/excalidraw-mcp repository has 5.7k stars on GitHub (2 Dec 2026).

According to its source, the server has five tools: a format reference, create_view to draw, export_to_excalidraw to open the result on excalidraw.com, and two tools that save and restore checkpoints. It needs a client that supports MCP Apps to show the diagram, and you can deploy your own copy to Vercel with no environment variables.

Check its maintenance first. The last push was on 24 March 2026, more than eight months before we checked, and GitHub detects no license file although the README says MIT. Excalidraw+, at $6 per user a month, lists its own MCP and REST API as a public beta, which is a separate product from this app.

**What we like**

- Official, free and hosted
- Diagrams stream into the chat with an editor
- Easy to self-host on Vercel

**Watch out for**

- Not updated since March 2026
- Only five tools, no element-level editing
- Needs a client that supports MCP Apps

## 10. tldraw

Tags: Official, Hosted, New

- **Best for:** Quick sketches with an agent
- **Starting price:** Free
- **Free plan:** Yes
- **Website:** https://tldraw.dev/blog/building-with-the-tldraw-mcp

tldraw launched its MCP server on 24 November 2026, and it lets any agent sign in to your tldraw account to create boards, look up files you can access and edit them. Each file the agent works on is saved as a normal tldraw.com file, so you can open the sketch and keep drawing by hand. The launch post suggests quick system diagrams and rough wireframes as the main uses.

The endpoint is mcp.tldraw.com, and sign-in uses your tldraw account, so the agent only reaches files that account can open. tldraw.com describes itself as free, instant collaborative whiteboarding, and its pages list no paid plan for everyday use. A teammate can join the board where the agent drew and keep sketching beside it, which suits early system design talks.

It is very new. The launch post names no tool list, limits or plans, and tldraw does not offer the formal notations or cloud shape libraries that draw.io and Lucid do. Treat it as a sketchpad you share with an agent, not a home for process documentation, and expect details to change in the first months.

**What we like**

- Free whiteboard with a hosted server
- Agent files are normal tldraw files
- Agents create, find and edit files

**Watch out for**

- Launched November 2026, short track record
- No published tool list or limits
- No formal notations or cloud shapes

## The short version

Pick by the job you want the agent to do. Stars are GitHub stars on 2 December 2026; hosted vendor servers have no public server code, so the column says so.

| Job | Our pick | Stars | Runner-up |
| --- | --- | --- | --- |
| Editable diagram files, any client | draw.io (jgraph/drawio-mcp) | 5.9k | Excalidraw MCP Server (yctimlin), 2.7k |
| Hand-drawn diagrams a coding agent refines and commits | Excalidraw MCP Server (yctimlin) | 2.7k | Excalidraw official app, 5.7k (stale) |
| Diagrams on a shared team board | Miro | Hosted (miroapp/miro-ai: 174) | tldraw (hosted, new) |
| Formal process maps and org charts | Lucidchart | Hosted | Whimsical (hosted) |
| Diagrams as code in Mermaid | Mermaid (Mermaid Chart) | Hosted | hustcc/mcp-mermaid, 652 (stale) |
| Cloud architecture diagrams | Eraser | Hosted | draw.io, 5.9k |
| Diagrams next to Figma designs | FigJam (Figma MCP) | Hosted | Miro |

## How we chose

We ranked servers by how well they let an AI agent produce a diagram a person can keep editing, for most readers rather than one niche. We weighed five things: whether the output is an editable diagram or a picture, how much setup it takes, whether it needs an account or a paid seat, how actively the code is maintained, and what each plan caps. GitHub stars counted as a signal of adoption, not as the ranking itself, and we flagged any repository not updated in six months or more.

All facts, prices, tool counts and limits come from each vendor's own documentation, pricing page or GitHub repository, checked on 2 December 2026. Stars, last push dates and licenses come from the GitHub API on the same day. Our picks rest on published features, pricing and documentation rather than hands-on testing, so check the limits against your own plan before you build a workflow on any of them.

## Editable diagram files: draw.io wins

draw.io is the winner for anyone who wants a real diagram file at the end, not a screenshot. Its hosted server converts Mermaid flowcharts, ER and sequence diagrams, PlantUML sequence and activity diagrams, and CSV into native draw.io shapes with connectors that end on the shapes they join. You open the result in draw.io, or the coding-agent plugins save a .drawio file you can export to PNG, SVG or PDF with the diagram embedded, so the export stays editable.

The runner-up, yctimlin's Excalidraw server, wins when the agent should iterate. It can screenshot and describe its own canvas, then fix single shapes, which the hosted draw.io server can't do because it only creates diagrams. Its .excalidraw exports are byte-stable, which keeps git history clean when diagrams live beside code.

lgazo/drawio-mcp-server (1.5k stars, MIT, updated 29 November) sits between the two: about 31 tools that add, edit and connect cells, manage pages and layers, and import Mermaid in a live draw.io editor, through a built-in editor or a browser extension.

## Whiteboards: Miro wins

Miro is the winner for diagrams that belong on a shared board with the rest of a team's thinking. Its hosted server works on every plan, connects with OAuth from Claude, ChatGPT, Cursor and others, and builds flowcharts, mind maps, UML and ER diagrams from a DSL or Mermaid-style description. It also reads boards, so an agent can summarize a workshop before drawing the follow-up flow.

tldraw is the runner-up for sketching. Its server, launched on 24 November 2026, saves everything the agent draws as a normal tldraw.com file in your account, and tldraw.com itself is free. It publishes no tool list or limits yet.

Whimsical and FigJam fit specific teams. Whimsical gives product teams 19 tools for tidy flowcharts, mind maps and wireframes, free to connect, though its free plan stops at 50 board objects a month. FigJam suits teams already in Figma, since generate_diagram drops the diagram next to the designs, but read calls on Starter and Collab seats are capped at 20 a month.

## Diagrams as code: Mermaid wins

Mermaid Chart's official server wins for teams that already write Mermaid, because display_mermaid validates and renders a diagram in the chat without any sign-in, and saved diagrams go to your mermaid.ai account. The text stays portable: the same code renders in GitHub, Confluence and most docs tools.

hustcc/mcp-mermaid is the open-source runner-up. Its one tool, generate_mermaid_diagram, supports Mermaid's full syntax and themes and exports base64, SVG, Mermaid, a file, or SVG and PNG URLs, over stdio or local SSE and Streamable HTTP. It has 652 stars and an MIT license, but the last push was on 15 May 2026, so treat it as stable but quiet.

Eraser is the pick when "as code" means architecture. Its 42 tools create and update diagrams and documents, and the manually_ tools write your diagram code without spending AI credits. For a local preview while Claude Code writes Mermaid, veelenga/claude-mermaid (225 stars, MIT, updated 30 November) opens a browser tab that reloads as the diagram changes, and exports SVG, PNG or PDF.

## Technical details

What each server runs on, how it signs in, and whether the agent can change existing diagrams. Tool counts come from each project's docs or source on 2 December 2026.

| Server | Transport and install | Sign-in | Tools | Writes or reads only |
| --- | --- | --- | --- | --- |
| draw.io | Hosted HTTP at `https://mcp.draw.io/mcp`; `npx @drawio/mcp` (stdio); Docker; plugins | None | 4 hosted | Creates diagrams; no tool reads saved files |
| Excalidraw MCP Server (yctimlin) | stdio via `npx mcp-excalidraw-server`; local canvas on 127.0.0.1:3000; CLI and REST | None | 27 | Reads, edits and exports the canvas |
| Excalidraw (official) | Hosted at `https://mcp.excalidraw.com`; .mcpb extension or stdio from source | Not stated | 5 | Creates views and checkpoints |
| Miro | Hosted at `https://mcp.miro.com/` | OAuth 2.1 | Not listed in docs; grouped by capability | Reads boards; creates diagrams, docs and tables |
| Lucidchart | Streamable HTTP at `https://mcp.lucid.app/mcp`; read-only endpoint at `/mcp/readonly` | OAuth 2.0, or API key (Team, Enterprise) | Not listed; search, edit, create, export | Reads and writes |
| FigJam (Figma) | Figma's remote server only | Figma OAuth | 44 in total; generate_diagram for diagrams | Reads designs; writes FigJam diagrams |
| Whimsical | Hosted at `https://mcp.whimsical.com/mcp`; desktop server via support | OAuth | 19 plus 3 supporting | Reads and writes; 300 requests a minute |
| Eraser | Hosted at `https://app.eraser.io/api/mcp`; npm `@eraserlabs/eraser-mcp` | OAuth or API key | 42 | Reads and writes; AI tools spend credits |
| Mermaid | Hosted at `https://chatgpt.mermaid.ai/anthropic/v2/mcp` | None to render; OAuth to save | 7 | Renders; saves and updates when signed in |
| tldraw | Hosted at mcp.tldraw.com | tldraw account | Not published | Creates, looks up and edits files |
| hustcc/mcp-mermaid | `npx mcp-mermaid` (stdio); local SSE and Streamable HTTP; Docker | None | 1 | Renders only |

## Which one should you pick?

Start from what you already pay for and where the diagram has to live afterward.

| If you need… | Pick | Why |
| --- | --- | --- |
| A free diagram you can edit, from any chat | draw.io | No account, and Mermaid or XML becomes native shapes |
| A coding agent that keeps diagrams in the repo | Excalidraw MCP Server (yctimlin) | Sees its own canvas and exports stable files |
| Diagrams on the board your team uses | Miro | Works on every plan with OAuth |
| Process maps your company already keeps in Lucid | Lucidchart | Searches, edits and creates Lucid documents |
| Diagrams beside your Figma designs | FigJam | generate_diagram writes to FigJam files |
| Quick flowcharts and mind maps for a product team | Whimsical | Free to connect, 19 tools, auto-layout |
| Cloud architecture diagrams as code | Eraser | 42 tools and exports to draw.io, Visio and BPMN |
| A rendered Mermaid preview with no setup | Mermaid | Renders in chat without sign-in |

## Other servers worth knowing

- **[lgazo/drawio-mcp-server](https://github.com/lgazo/drawio-mcp-server)**: a community server with about 31 tools that edit a live draw.io diagram cell by cell, with pages, layers and Mermaid import; 1.5k stars, MIT, updated 29 November 2026. Free.
- **[hustcc/mcp-mermaid](https://github.com/hustcc/mcp-mermaid)**: renders any Mermaid diagram to SVG, PNG or a file with one tool; 652 stars, MIT, last updated 15 May 2026. Free.
- **[veelenga/claude-mermaid](https://github.com/veelenga/claude-mermaid)**: a Claude Code plugin that previews Mermaid with live reload and saves SVG, PNG or PDF; 225 stars, MIT. Free.
- **[antoinebou12/uml-mcp](https://github.com/antoinebou12/uml-mcp)**: generates UML diagrams from plain language or PlantUML, Mermaid and Kroki code, with a hosted endpoint; 112 stars, MIT, updated 2 December 2026. Free.
- **[openflowkit/openflowkit](https://github.com/openflowkit/openflowkit)**: an open-source, local-first diagram canvas that Claude Code can edit live over MCP, and that accepts Mermaid, D2 and Structurizr; 1k stars, MIT. Free.
- **[Excalidraw+](https://plus.excalidraw.com/pricing)**: the paid Excalidraw workspace, which lists MCP and REST API access as a public beta. $6 per user a month.

## What to check before you install

Check four things before you connect any of these servers to an agent.

**Where the code runs.** Local servers such as the yctimlin Excalidraw server, lgazo's draw.io server and hustcc/mcp-mermaid run code on your machine with your permissions. Install from the official npm package named in the README, and prefer servers updated in the last six months. Excalidraw's official app (March 2026) and hustcc/mcp-mermaid (May 2026) are past that line.

**What the canvas exposes.** Local canvases listen on a port. The yctimlin canvas has no authentication, and lgazo's server added host and origin checks after security advisories, so keep both bound to localhost.

**What the account can reach.** Hosted servers act with your account's permissions. Lucid's read-only endpoint and Miro's board permissions limit damage; Eraser and Lucid API keys act for the whole team, so scope and rotate them.

**What the plan allows.** Miro caps calls per day, Whimsical per minute and hour, Figma's read calls per month or day, and Eraser and Mermaid spend AI credits on generation.

## What's missing

No server here keeps a diagram linked to live data. Lucid says diagrams it creates are static, and the others draw from what the agent sends, so a diagram of your infrastructure goes stale the day after it is drawn unless the agent redraws it.

Reading existing diagrams is uneven. Miro, Lucid, Whimsical, Eraser and yctimlin's Excalidraw server can read before they change anything, while draw.io's hosted server and Excalidraw's official app only create. Agents that update a diagram there start from scratch or from a file in your repository.

Tool lists are also thin in places. Miro and Lucid describe capabilities rather than publishing tool names, and tldraw's launch post names none, so test a small diagram first and check what your client lists before you rely on a workflow.

## Frequently asked questions

### What is the best MCP server for diagrams?

draw.io's official server is the best for most people. It is free, needs no account, and turns Mermaid, PlantUML, CSV or draw.io XML into diagrams you can keep editing. Pick the yctimlin Excalidraw server for coding agents that commit diagrams, Miro or Lucid for team boards, and Eraser for architecture diagrams as code.

### Is the draw.io MCP server free?

Yes. draw.io's hosted server at mcp.draw.io needs no account or sign-in, and the code is open source under Apache-2.0. draw.io's page publishes no usage price. It says the hosted server doesn't store diagrams or train on them, and you can run the npm server or Docker image to keep diagram data on your own network.

### Can Claude create diagrams in Excalidraw?

Yes, two ways. Excalidraw's official MCP app at mcp.excalidraw.com draws a diagram inside Claude, ChatGPT or VS Code. The community server by yctimlin gives Claude Code or Claude Desktop 27 tools on a local canvas, so the agent can screenshot its work, fix single shapes and export .excalidraw files to your repository.

### What is the difference between the official Excalidraw MCP and mcp_excalidraw?

The official app shows a diagram in your chat from one prompt and has five tools; it hasn't been updated since March 2026. yctimlin's mcp_excalidraw runs a local canvas with 27 tools, lets the agent see and edit single elements, and exports files for git. It is community-run, MIT licensed and updated in November 2026.

### Can ChatGPT draw on a Miro board?

Yes. Miro's hosted MCP server works with ChatGPT, Claude, Codex, Cursor, Gemini CLI and VS Code, and can generate flowcharts, mind maps, UML and ER diagrams on a board. It works on every Miro plan, but calls are capped at 100 a day on Free, 500 on Starter and 2,000 on Business.

### Can AI agents create Lucidchart diagrams?

Yes. Lucid's MCP server lets Claude, ChatGPT, Cursor, GitHub Copilot and other clients create diagrams from a prompt, build org charts from CSV, edit shapes and export PNGs. It is available on Free, Individual, Team and Enterprise plans, but Team and Enterprise admins must switch it on first, and FedRAMP accounts are excluded.

### Is there a Mermaid MCP server?

Yes, several. Mermaid Chart's official server renders and validates Mermaid in a chat without sign-in, and saves diagrams to mermaid.ai once you log in. The community hustcc/mcp-mermaid server renders Mermaid locally to SVG, PNG or files, but hasn't been updated since May 2026. draw.io's server also turns Mermaid into editable shapes.

### Is it safe to install a diagram MCP server?

Hosted servers from draw.io, Miro, Lucid, Whimsical and Eraser run on the vendor's side and see only what your agent sends or what your account allows. Local community servers run code on your machine, so check the repository's activity and license, keep local canvases bound to localhost, and give API keys the narrowest scope.

## Sources (26)

1. [jgraph/drawio-mcp README](https://github.com/jgraph/drawio-mcp), JGraph (GitHub). Checked December 2, 2026.
2. [draw.io MCP server](https://www.drawio.com/mcp/), draw.io. Checked December 2, 2026.
3. [Miro MCP server overview](https://developers.miro.com/docs/miro-mcp), Miro. Checked December 2, 2026.
4. [miroapp/miro-ai README and MCP tools reference](https://github.com/miroapp/miro-ai), Miro (GitHub). Checked December 2, 2026.
5. [Miro pricing](https://miro.com/pricing/), Miro. Checked December 2, 2026.
6. [yctimlin/mcp_excalidraw README](https://github.com/yctimlin/mcp_excalidraw), GitHub. Checked December 2, 2026.
7. [excalidraw/excalidraw-mcp README and source](https://github.com/excalidraw/excalidraw-mcp), Excalidraw (GitHub). Checked December 2, 2026.
8. [Excalidraw+ pricing](https://plus.excalidraw.com/pricing), Excalidraw. Checked December 2, 2026.
9. [Integrate Lucid with AI tools using the Lucid MCP server](https://help.lucid.co/hc/en-us/articles/42578801807508-Integrate-Lucid-with-AI-tools-using-the-Lucid-MCP-server), Lucid. Checked December 2, 2026.
10. [lucidsoftware/lucid-mcp-server README](https://github.com/lucidsoftware/lucid-mcp-server), Lucid (GitHub). Checked December 2, 2026.
11. [Lucidchart pricing](https://lucid.app/pricing/lucidchart), Lucid. Checked December 2, 2026.
12. [Figma MCP server tools and prompts](https://developers.figma.com/docs/figma-mcp-server/tools-and-prompts/), Figma. Checked December 2, 2026.
13. [Figma MCP server rate limits and access](https://developers.figma.com/docs/figma-mcp-server/rate-limits-access/), Figma. Checked December 2, 2026.
14. [Figma pricing](https://www.figma.com/pricing/), Figma. Checked December 2, 2026.
15. [Whimsical remote MCP](https://whimsical.com/learn/integrations/remote-mcp), Whimsical. Checked December 2, 2026.
16. [Whimsical MCP supported tools](https://whimsical.com/learn/ai/mcp-tools), Whimsical. Checked December 2, 2026.
17. [Whimsical pricing](https://whimsical.com/pricing), Whimsical. Checked December 2, 2026.
18. [Eraser MCP server](https://docs.eraser.io/mcp), Eraser. Checked December 2, 2026.
19. [Eraser pricing](https://www.eraser.io/pricing), Eraser. Checked December 2, 2026.
20. [Mermaid MCP Apps server v2](https://mermaid.ai/docs/ai/mcp-apps-server/v2), Mermaid Chart. Checked December 2, 2026.
21. [Mermaid Chart connector](https://claude.com/connectors/mermaid-chart), Anthropic. Checked December 2, 2026.
22. [Mermaid pricing](https://mermaid.ai/pricing), Mermaid Chart. Checked December 2, 2026.
23. [Building with the tldraw MCP](https://tldraw.dev/blog/building-with-the-tldraw-mcp), tldraw. Checked December 2, 2026.
24. [hustcc/mcp-mermaid README](https://github.com/hustcc/mcp-mermaid), GitHub. Checked December 2, 2026.
25. [lgazo/drawio-mcp-server README and tools](https://github.com/lgazo/drawio-mcp-server), GitHub. Checked December 2, 2026.
26. [veelenga/claude-mermaid README](https://github.com/veelenga/claude-mermaid), GitHub. Checked December 2, 2026.

---

How we review: https://productexplained.com/methodology.md. Vendors can request a listing or a correction at https://productexplained.com/get-listed. Paid placements are always labeled Featured.
