
context tax
~7,754 tok/turn30 tools
security
100/100
cold start
904 ms
freshness
Active32d ago
Our reading of Drawio, from the data
Drawio is an MCP server from lgazo.
Its 30 tools add about 7,754 tokens to every model turn (measured 2026-10-23).
Maintenance is active: the last public signal was 32 days ago (2026-10-13).
It runs locally on your machine over stdio.
Install Drawio MCP server
Install in Claude Code
claude mcp add drawio-lgazo -- npx -y drawio-mcp-serverInstall in Cursor
{
"mcpServers": {
"drawio-lgazo": {
"command": "npx",
"args": [
"-y",
"drawio-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"drawio-lgazo": {
"command": "npx",
"args": [
"-y",
"drawio-mcp-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"drawio-lgazo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"drawio-mcp-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"drawio-lgazo": {
"command": "npx",
"args": [
"-y",
"drawio-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test drawio-mcp-server
Context tax
Connecting this server adds ~7,754 tokens of tool definitions to every model turn (heavy, 30 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $31.02 | $1.55 |
| Claude Sonnet 5.5 | $15.51 | $1.55 |
| Claude Haiku 5.5 | $0.775 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (30)
add-edge596 tokThis tool creates an edge, sometimes called also a relation, between two vertexes (cells). When source and target are the same shape (self-connector), a loop edge style is automatically applied if no custom style is provided.
list-paged-model585 tokRetrieves a paginated view of all cells (vertices and edges) on the target page. This tool provides access to the complete model data with essential fields only, sanitized to remove circular dependencies and excessive data.
export-diagram543 tokExport the target page or current diagram as SVG, PNG, or XML. Returns the diagram data as base64 (PNG) or text (SVG/XML). Optionally saves to a file.
add-cell-of-shape441 tokThis tool allows you to add a new vertex cell on the target page of the current Draw.io document by its shape name.
add-rectangle431 tokThis tool allows you to add a new Rectangle vertex cell on the target page of the current Draw.io document.
import-mermaid411 tokInsert a Mermaid diagram into the target Draw.io page. Conversion runs inside the Draw.io editor via its bundled Mermaid pipeline (EditorUi.parseMermaidDiagram). mode='native' converts supported Mermaid types into native mxGraph cells; unsupported types fall back to an embedded image cell. mode='embed' always emits a single image cell that preserves the Mermaid source for re-editing inside Draw.io. `target_page` is required for `replace` and `add`, and optional for `new-page`.
edit-edge407 tokUpdate properties of an existing edge by its ID. Only provided fields are modified; unspecified properties remain unchanged. Supports setting waypoints for edge geometry control.
import-diagram353 tokImport a diagram from XML, SVG with embedded XML, or PNG with embedded XML into the current Draw.io instance. `target_page` is required for `replace` and `add`, and optional for `new-page`.
edit-cell342 tokUpdate properties of an existing vertex/shape cell by its ID. Only provided fields are modified; unspecified properties remain unchanged.
set-cell-data270 tokSets or updates a custom attribute on an existing cell.
set-cell-shape243 tokUpdates the visual style of an existing vertex cell to match a library shape by name.
set-cell-parent242 tokSets the parent of a cell, making it a child of the specified parent cell. This allows creating hierarchical relationships where moving the parent also moves its children.
set-active-layer236 tokSets the active layer for creating new elements. All subsequent element creation will happen in this layer. If the target page is not currently visible, Draw.io may switch the visible page first because active-layer state is UI-bound.
copy-page232 tokCreates a copy of an existing page in the target/current Draw.io document, appends the copy to the end of the page list, and returns the copied page metadata. When possible, the previously visible page is restored after the copy is created.
move-cell-to-layer230 tokMoves a cell from its current layer to a target layer.
delete-cell-by-id227 tokDeletes a cell from the target page, whether it is a vertex or edge.
get-selected-cell210 tokThis tool retrieves the selected cell on the target page of the current Draw.io document. If the target page is not currently visible, Draw.io may switch the visible page first because selection is UI-bound.
get-active-layer206 tokGets the currently active layer information for the target page. If the target page is not currently visible, Draw.io may switch the visible page first because active-layer state is UI-bound.
create-layer195 tokCreates a new layer on the target page.
rename-page192 tokRenames the selected page without changing the visible page.
list-layers184 tokLists all available layers on the target page with their IDs and names.
get-shapes-in-category144 tokRetrieve all shapes in the provided category from the diagram's library. A shape primarily contains `style` based on which you can create new vertex cells.
get-shape-by-name139 tokRetrieve a specific shape by its name from all available shapes in the diagram's library. It returns the shape and also the category it belongs.
set-document-title130 tokRenames the current Draw.io document through its active storage provider while preserving the existing file extension when one is present.
create-page122 tokAppends a new blank page to the current Draw.io document without changing the visible page when the runtime supports background page insertion.
save-document111 tokTriggers Draw.io's existing File > Save action for the current document. The active storage provider may display an authentication, conflict, or Save As prompt that requires user interaction.
list-pages99 tokLists all pages in the current Draw.io document with their index, id, name, and current-page flag.
get-shape-categories98 tokRetrieves available shape categories from the diagram's library. Library is split into multiple categories.
get-current-page98 tokGets the currently visible page metadata, including index, id, name, and whether it is active.
list-documents37 tokLists all connected Draw.io document instances with their stable instance IDs and basic metadata.
Security signals
100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 32d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-13 · 32d ago · GitHub
Latest release
2026-09-15 · 2mo ago · GitHub · v2.3.0
Package published
no data · npm/PyPI
Registry entry updated
no data · official registry
FAQ
›How do I install the Drawio MCP server in Claude Code?
Run: claude mcp add drawio-lgazo -- npx -y drawio-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Drawio require an API key?
No required environment variables are declared in its published metadata.
›Can I use Drawio as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Drawio in the official MCP registry?
No. It was indexed from npm.
›How many tokens does Drawio add to my context?
Its tool definitions total about 7,754 tokens, resent on every turn.
Sources and method
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.