Skip to content
PluginStats

@drawio/mcp weekly downloads statistics

By drawio · npm · MCP servers

Official draw.io MCP server for LLMs - Open diagrams in draw.io editor

View on npm Stale · Oct 17, 2026

@drawio/mcp has 6,718 recorded weekly downloads on npm, a decrease of 62.8% over the past 30 days, ranking #1018 of 2,256 tracked listings.

Weekly downloads
6,718
Official API · Oct 17, 2026
7-day growth
-57.7%
-9.2K weekly downloads
30-day growth
-62.8%
-11.3K weekly downloads
90-day growth
-78.4%
-24.3K weekly downloads
Rank
#1018
Among tracked npm listings

About @drawio/mcp

Draw.io MCP Tool Server

The official draw.io MCP server that opens diagrams directly in the draw.io editor. Supports XML, CSV, and Mermaid.js formats with lightbox and dark mode options.

This package is part of the drawio-mcp repository, which also includes:

• MCP App Server — Renders diagrams inline in AI chat interfaces. Hosted at https://mcp.draw.io/mcp — no install required. • Claude Code Plugin — Claude Code plugin that generates native .drawio files with optional PNG/SVG/PDF export. • Project Instructions — Zero-install approach using Claude Project instructions.

Features

• Open XML diagrams: Load native draw.io/mxGraph XML format • Import CSV data: Convert tabular data to diagrams (org charts, flowcharts, etc.) • Render Mermaid.js: Transform Mermaid syntax into editable draw.io diagrams • Customizable display: Lightbox mode, dark mode, and more

Installation

Using npx (recommended)

Global installation

From source

Configuration

Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

Claude Code

Or manually in .claude/settings.json:

VS Code (GitHub Copilot)

Add to .vscode/mcp.json in your workspace (or run MCP: Open User Configuration for a global config):

Then click Start above the server entry, trust the server when prompted, switch Copilot Chat to Agent mode, and make sure the drawio tools are enabled under Configure Tools (🔧) in the chat input.

Other clients that use stdio (Windsurf, etc.) use the same config shape as above.

Tip: VS Code 1.109 and later also supports the MCP Apps extension, so the hosted MCP App Server at https://mcp.draw.io/mcp works in Copilot Chat too, rendering diagrams inline in chat instead of opening a browser tab. To use it, replace command and args above with "type": "http" and "url": "https://mcp.draw.io/mcp". Use this stdio server if you prefer diagrams to open in the full draw.io editor.

Cursor

Click the button above for one-click install, or add the server manually to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project:

Enable the server when prompted (or under Cursor Settings → MCP), then ask the Agent to create a diagram — it opens in the draw.io editor in your browser.

Tip: Cursor also supports the MCP Apps extension, so the hosted MCP App Server at https://mcp.draw.io/mcp works in Cursor too, rendering diagrams inline in chat instead of opening a browser tab. Use this stdio server if you prefer diagrams to open in the full draw.io editor.

OpenCode

Add the server under the mcp key of opencode.json in your project root (or ~/.config/opencode/opencode.json for every project):

The tools are available on the next start; ask the agent to create a diagram and it opens in the draw.io editor in your browser.

Tip: OpenCode also loads the drawio skill (native .drawio files, PNG/SVG/PDF export) without any plugin wrapper — see the plugins README.

Other MCP Clients

Configure your MCP client to run the server via stdio:

Self-hosted draw.io

To open diagrams in a self-hosted draw.io instance, set the DRAWIO_BASE_URL environment variable to your instance URL (default: https://app.diagrams.net/):

Tools

open_drawio_xml

Opens the draw.io editor with XML content.

| Parameter | Type | Required | Description |

| content | string | Yes | Draw.io XML content | | lightbox | boolean | No | Read-only view mode (default: false) | | dark | string | No | "auto", "true", or "false" (default: "auto") | | postLayout | string | No | "elk" re-lays out the diagram (ELK layered flow) before opening: vertices are placed, edges routed | | direction | string | No | Flow direction for postLayout: "vertical" (default) or "horizontal" | | routing | string | No | "libavoid" reroutes connectors around shapes (obstacle-avoiding orthogonal routing) before opening, leaving positions untouched |

Every diagram is repaired first: text around it is dropped (a leaked tool-call tag, a code fence), element); all other pages stay untouched |

Example Prompts

• "Use open_drawio_mermaid to create a sequence diagram showing OAuth2 authentication flow" • "Use open_drawio_csv to create an org chart: CEO → CTO, CFO; CTO → 3 Engineers" • "Use open_drawio_xml to create a detailed AWS architecture diagram with VPC, subnets, and security groups"

Tip: Claude Desktop may have multiple ways to create diagrams. To ensure it uses the draw.io MCP, mention the tool name explicitly or add a system instruction: "Always use the draw.io MCP tools to create diagrams."

How It Works

  1. The MCP server receives diagram content (XML, CSV, or Mermaid) 2. Content is compressed using pako deflateRaw and encoded as base64 3. A draw.io URL is generated with the diagram in its hash: #R for XML, #create= for Mermaid and CSV, which draw.io converts in the browser 4. The URL is returned to the LLM, which can present it to the user 5. Opening the URL loads draw.io with the diagram ready to view/edit

The open_drawio_xml description carries the condensed XML rules from shared/xml-essentials.md (~1.5k characters). The full XML generation reference (edge routing, containers, layers, tags, metadata, dark mode, etc.) in shared/xml-reference.md, the single source of truth for all draw.io MCP prompts, and the Mermaid reference in shared/mermaid-reference.md are fetched with get_drawio_reference. That keeps every tool description short: clients like VS Code Copilot index tool descriptions, and a description carrying a whole reference is too long for them. A prepack script bundles the three files into the npm package so they work after npm install.

Related Resources

• draw.io - Free online diagram editor • draw.io Desktop - Desktop application • drawio-mcp on GitHub - Full repository with all four approaches • MCP Specification

Description from the npm listing.

  • mcp
  • drawio
  • draw.io
  • diagrams
  • mermaid
  • csv
  • xml
  • llm
  • claude
  • anthropic

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@drawio/mcp weekly downloads on npm, last 90 days: 6,718 weekly downloads as of Oct 17, 2026, -78.4% over 90 days.@drawio/mcpWeekly downloads on npm · Last 90 days6,718downloads / week-78.4% over 90 days010K20K30K40K50KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
@drawio/mcp weekly downloads on npm, last 90 days: 6,718 weekly downloads as of Oct 17, 2026, -78.4% over 90 days.

7/30/90-day growth

@drawio/mcp weekly downloads growth on npm: -57.7% over 7 days, -62.8% over 30 days, -78.4% over 90 days.@drawio/mcpWeekly downloads growth on npm6,718downloads / week now7-day growth-9,170 weekly downloads-57.7%30-day growth-11,344 weekly downloads-62.8%90-day growth-24,320 weekly downloads-78.4%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@drawio/mcp weekly downloads growth on npm: -57.7% over 7 days, -62.8% over 30 days, -78.4% over 90 days.

Ranking history

@drawio/mcp npm ranking history: currently #1018 (by weekly downloads).@drawio/mcpnpm ranking · by weekly downloads · Last 90 days#1018current rank#300#400#500#600#700#800#900#1000#1100Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 17, 2026 – Oct 19, 2026 · 3 observations · Updated Oct 17, 2026pluginstats.com
@drawio/mcp npm ranking history: currently #1018 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 51, #18 (overall #1,018)
All npm: every listing in weekly downloads order

Listing placement

MCP servers255 listings · 13 pages · page 10, #6 (overall #186)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (543)
Recent weekly downloads observations for @drawio/mcp
Date (UTC)Weekly downloadsChange vs. previous
6,718-1.3K
8,061+789
7,272-3.9K
11,166-2.7K
13,8710
13,871-1.5K
15,376-512
15,888-364
16,252-1.6K
17,872-6.7K
24,563-10.8K
35,373-2.8K
38,173+445
37,728—

Similar npm MCP servers plugins

All 20 @drawio/mcp alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@drawio/mcp. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.