Skip to content
PluginStats

@drawio/mcp weekly downloads statistics

By drawio (2 listings) · npm · MCP servers

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

View on npm Fresh · Dec 6, 2026

@drawio/mcp has 27,268 recorded weekly downloads on npm, a decrease of 36.9% over the past 30 days, ranking #947 of 3,247 tracked listings.

Weekly downloads
27,268
Official API · Dec 5, 2026
7-day growth
-36.2%
-15.4K weekly downloads
30-day growth
-36.9%
-16K weekly downloads
90-day growth
+228%
+18.9K weekly downloads
Rank
#947
▼ 148 in 7 days

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
  • Save diagram files: Write a diagram as a new local .drawio file, and read or change one page of a file
  • Customizable display: Lightbox mode, dark mode, and more

Installation

Using npx (recommended)
npx @drawio/mcp
Global installation
npm install -g @drawio/mcp
drawio-mcp
From source
git clone https://github.com/jgraph/drawio-mcp.git
cd drawio-mcp/mcp-tool-server
npm install
npm start

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

{
  "mcpServers": {
    "drawio": {
      "command": "npx",
      "args": ["@drawio/mcp"]
    }
  }
}
Claude Code
claude mcp add drawio -- npx -y @drawio/mcp

Or manually in .claude/settings.json:

{
  "mcpServers": {
    "drawio": {
      "command": "npx",
      "args": ["-y", "@drawio/mcp"]
    }
  }
}
VS Code (GitHub Copilot)

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

{
  "servers": {
    "drawio": {
      "command": "npx",
      "args": ["-y", "@drawio/mcp"]
    }
  }
}

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

Install MCP Server

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:

{
  "mcpServers": {
    "drawio": {
      "command": "npx",
      "args": ["-y", "@drawio/mcp"]
    }
  }
}

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):

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "drawio": {
      "type": "local",
      "command": ["npx", "-y", "@drawio/mcp"],
      "enabled": true
    }
  }
}

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.

Gemini CLI

The repository is a Gemini CLI extension (gemini-extension.json at its root), which runs this server through npx:

gemini extensions install https://github.com/jgraph/drawio-mcp

gemini mcp list shows the server as drawio; ask for a diagram and it opens in the draw.io editor in your browser. gemini extensions update drawio picks up a changed manifest; the server itself is always the latest @drawio/mcp.

Other MCP Clients

Configure your MCP client to run the server via stdio:

npx @drawio/mcp
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/):

{
  "mcpServers": {
    "drawio": {
      "command": "npx",
      "args": ["-y", "@drawio/mcp"],
      "env": {
        "DRAWIO_BASE_URL": "https://drawio.example.com/"
      }
    }
  }
}
Return the link without opening a browser…

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: 27,268 weekly downloads as of Dec 5, 2026, +228% over 90 days.@drawio/mcpWeekly downloads on npm · Last 90 days27,268downloads / week+228% over 90 days010K20K30K40K50K60K70KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@drawio/mcp weekly downloads on npm, last 90 days: 27,268 weekly downloads as of Dec 5, 2026, +228% over 90 days.

7/30/90-day growth

@drawio/mcp weekly downloads growth on npm: -36.2% over 7 days, -36.9% over 30 days, +228% over 90 days.@drawio/mcpWeekly downloads growth on npm27,268downloads / week now7-day growth-15,449 weekly downloads-36.2%30-day growth-15,952 weekly downloads-36.9%90-day growth+18,944 weekly downloads+228%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@drawio/mcp weekly downloads growth on npm: -36.2% over 7 days, -36.9% over 30 days, +228% over 90 days.

Ranking history

@drawio/mcp npm ranking history: currently #947 (by weekly downloads).@drawio/mcpnpm ranking · by weekly downloads · Last 90 days#947current rank#300#400#500#600#700#800#900#1000#1100Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@drawio/mcp npm ranking history: currently #947 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 48, #7 (overall #947)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 8, #17 (overall #157)
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 (592)
Recent weekly downloads observations for @drawio/mcp
Date (UTC)Weekly downloadsChange vs. previous
27,268-1.8K
29,117+9.5K
19,647-1.8K
21,448-4K
25,463-15.4K
40,843-2.1K
42,977+260
42,717+221
42,496+306
42,190-723
42,913-1.4K
44,338-624
44,962+1.8K
43,126—

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 Dec 6, 2026. See the methodology.