# diagonaldiagrams (pypi · diagonaldiagrams)

Diagrams and charts for agents: Mermaid or a spec in, an audited SVG out.

- Trust score: 80/100 (high trust)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- pypi · `diagonaldiagrams`: 80/100 (this document), [markdown](https://verifymcp.io/servers/lucas19919-diagonaldiagrams/diagonaldiagrams.md), [page](https://verifymcp.io/servers/lucas19919-diagonaldiagrams/diagonaldiagrams)

## Channel facts

- Registry: `pypi`
- Package: `diagonaldiagrams`
- Version: `0.9.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-05.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it.
  - No production dependencies, so there is no dependency health to assess.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to lucas19919/diagonaldiagrams).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 3 days ago).
  - Security-disclosure policy not yet verified: we couldn't inspect the source repository.
- **Schema Quality & AI Usability**: 67/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 1651 tokens (~183/item across 9 items; 9 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 13/100
  - Stability observed for 4 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 9 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 9 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 60/100
  - Spec-recency check failed: implements MCP spec 2025-06-18; the latest is 2026-07-28.

## Install

### How do I install the diagonaldiagrams MCP server?

diagonaldiagrams runs locally as a PyPI package, launched with uvx diagonaldiagrams mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add lucas19919-diagonaldiagrams -- uvx diagonaldiagrams mcp
```

### Cursor

```json
{
  "mcpServers": {
    "lucas19919-diagonaldiagrams": {
      "command": "uvx",
      "args": [
        "diagonaldiagrams",
        "mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "lucas19919-diagonaldiagrams": {
      "command": "uvx",
      "args": [
        "diagonaldiagrams",
        "mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add lucas19919-diagonaldiagrams -- uvx diagonaldiagrams mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "lucas19919-diagonaldiagrams": {
      "type": "local",
      "command": [
        "uvx",
        "diagonaldiagrams",
        "mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add lucas19919-diagonaldiagrams --command uvx --arg diagonaldiagrams --arg mcp
```

### Hermes

```yaml
mcp_servers:
  lucas19919-diagonaldiagrams:
    command: "uvx"
    args: ["diagonaldiagrams", "mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "lucas19919-diagonaldiagrams": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "diagonaldiagrams",
        "mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add lucas19919-diagonaldiagrams -t stdio -c uvx -a diagonaldiagrams mcp
```

### Other

```json
{
  "mcpServers": {
    "lucas19919-diagonaldiagrams": {
      "command": "uvx",
      "args": [
        "diagonaldiagrams",
        "mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-05 (score 80, +16)

- [security improvement] Malware scan: unverified → pass
- [functional regression] Security disclosure: fail → unverified

### 2026-11-03 (score 64, −14)

- [security regression] Malware scan: pass → unverified

### 2026-11-01 (score 78)

First indexed and scored.

## MCP tools (9)

### `describe` (~100 tokens)

Describe a figure type

Look up how to write a spec. With a figure type it returns that type's spec shape, rules, size budgets and an example; with no type it lists every type. Also takes style and story. Read-only, writes nothing. Call it before render when you are unsure of the shape.

Input parameters:

- `type` (string): Figure type to describe, e.g. flow, arch, iso, bar, style or story. Omit to list all types.

### `render` (~446 tokens)

Draw and audit a figure

Draw one figure and audit it in a single call. Validates the input, lays it out, writes OUT.svg, OUT.html and a receipt (OUT.graph.json) side by side, then checks the drawing. Returns one JSON line: ok, the file paths, a layout outline and any warnings. When ok is false, each error has a fix: change the spec or options and call render again. Overwrites files at the same out path. Use validate to check an input without drawing, and audit for an SVG this tool did not just draw.

Input parameters:

- `data` (string): CSV, GeoJSON or Mermaid text, inline. Give exactly one of spec, scene, data or path.
- `options` (object): CLI flags without dashes, e.g. {"x": "month", "y": "signups", "group": "product", "title": "...", "highlight": ["Atlas"]}. describe lists them. Diagrams also take "style": a stylesheet object (or a l…
- `out` (string): Output path ending .html (default diagonaldiagrams-out.html). The .svg and the receipt are written beside it.
- `path` (string): A spec, scene, CSV or Mermaid file on disk, instead of inline input.
- `scene` (object): A v2 scene, inline: {"preset": "flow", "nodes": [...], "edges": [...], "groups": [...]}; type names its preset. Give exactly one of spec, scene, data or path.
- `spec` (object): The figure as a JSON object, inline, in the shape `describe <type>` prints. Give exactly one of spec, scene, data or path.
- `type` (string, required): Figure type: mermaid (data is Mermaid text), flow, arch, seq, schema, iso (3D layer stack), bar, line, scatter, geo, or any chart type that describe lists.

### `validate` (~356 tokens)

Validate a spec

Check an input without drawing anything: a spec, scene or CSV. Returns JSON with ok and, on failure, errors that each carry a fix. Read-only, and cheaper than render while you are still shaping the spec. For a finished drawing use audit.

Input parameters:

- `data` (string): CSV, GeoJSON or Mermaid text, inline. Give exactly one of spec, scene, data or path.
- `options` (object): CLI flags without dashes, e.g. {"x": "month", "y": "signups", "group": "product", "title": "...", "highlight": ["Atlas"]}. describe lists them. Diagrams also take "style": a stylesheet object (or a l…
- `path` (string): A spec, scene, CSV or Mermaid file on disk, instead of inline input.
- `scene` (object): A v2 scene, inline: {"preset": "flow", "nodes": [...], "edges": [...], "groups": [...]}; type names its preset. Give exactly one of spec, scene, data or path.
- `spec` (object): The figure as a JSON object, inline, in the shape `describe <type>` prints. Give exactly one of spec, scene, data or path.
- `type` (string, required): Figure type: mermaid (data is Mermaid text), flow, arch, seq, schema, iso (3D layer stack), bar, line, scatter, geo, or any chart type that describe lists.

### `audit` (~127 tokens)

Audit an SVG

Check a finished SVG or HTML figure for what you cannot see in your own output: text over text, arrows through boxes, text that spills out of its shape, low contrast, tiny text, and in 3D figures text hidden behind a nearer face. Works on any SVG on disk, not only ones this tool drew. Returns JSON: ok, errors with a fix, and warnings. Read-only. render already audits its own output, so use this after hand edits or on a figure from elsewhere.

Input parameters:

- `path` (string, required): Path of the .svg or .html figure to check.

### `export` (~194 tokens)

Export a figure to another format

Redraw a rendered figure as png, pdf, svg, drawio or excalidraw. It reads the receipt (OUT.graph.json) that render wrote beside the figure, so the figure must have been drawn by this tool. Writes the new file next to it, or at out, and returns the path as a line of text. png and pdf need cairosvg or headless Edge or Chrome. Overwrites an existing file at the same path.

Input parameters:

- `layout` (string): Page preset for png and pdf: figure (760 px wide, default), wide (1120), slide (1280) or social (1080).
- `out` (string): Where to write the file. Default: beside the figure.
- `path` (string, required): The figure's base path, or its .html or .svg. OUT.graph.json must sit beside it.
- `to` (string): Output format. Default png.

### `infer` (~92 tokens)

Suggest a scatter spec from a CSV

Propose a starting spec for a scatter chart from a CSV. Returns the spec as JSON to edit and pass to render. Read-only: it suggests and draws nothing. Only for scatter charts; for other charts, describe the type and write the spec yourself.

Input parameters:

- `data` (string): CSV text, inline. Give this or path.
- `path` (string): A CSV file on disk. Give this or data.

### `apply` (~138 tokens)

Patch a spec file

Edit a spec file with a patch instead of rewriting it: move or reorder items, rename text, change colors, add or remove things, or move them into a group, so a regenerated spec keeps the change. Changes the spec file in place and writes the patch beside it (SPEC.patch.json). Render the spec to the same out path again; changed in the result says what moved.

Input parameters:

- `patch` (required): A list of operations (place, order, style, text, add, remove, move-to-group), or the path of a patch file.
- `spec` (string, required): Path of the spec file to change. It is edited in place.

### `story` (~106 tokens)

Build an animated story page

Present one figure as a story: a story file lists views that focus, dim, highlight and reveal parts of it, and one HTML page animates between them. Writes OUT.html and returns JSON with ok, the path and the views; overwrites an existing page. describe story shows the story file's shape. For a plain figure use render.

Input parameters:

- `out` (string, required): The page to write, ending .html.
- `story` (string, required): Path of the story file (JSON).

### `diff` (~92 tokens)

Compare two drawings

Say what changed between two drawings of the same figure (.svg or .html): items added, removed, renamed, moved, reordered or recolored, as JSON and plain sentences. Read-only. Use it after apply or an edit to confirm the change did what you meant.

Input parameters:

- `new` (string, required): The later drawing (.svg or .html).
- `old` (string, required): The earlier drawing (.svg or .html).

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/lucas19919-diagonaldiagrams/diagonaldiagrams#diagnostics

## Score history

- 2026-11-05: 80
- 2026-11-04: 64
- 2026-11-03: 64
- 2026-11-02: 78
- 2026-11-01: 78

## Common questions

### What is the diagonaldiagrams MCP server?

diagonaldiagrams is an MCP server listed in the public MCP registry as io.github.lucas19919/diagonaldiagrams. Diagrams and charts for agents: Mermaid or a spec in, an audited SVG out. This page covers its PyPI package (diagonaldiagrams).

### Is the diagonaldiagrams MCP server safe to use?

diagonaldiagrams scores 80 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the diagonaldiagrams MCP server expose?

diagonaldiagrams exposes 9 tools: describe, render, validate, audit, export, and 4 more. Their descriptions and schemas cost roughly 1,651 tokens of context every time the server is loaded.

### Is the diagonaldiagrams MCP server still maintained?

diagonaldiagrams is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the diagonaldiagrams MCP server under?

diagonaldiagrams declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the diagonaldiagrams MCP server?

VerifyMCP ran 15 checks on diagonaldiagrams, covering Malware scan, Known CVEs, Install scripts, Dependency health and 11 more. One item could not be completed, a gap on our side rather than a finding about diagonaldiagrams: Security disclosure. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- PyPI project: https://pypi.org/project/diagonaldiagrams/
- Socket report: https://socket.dev/pypi/package/diagonaldiagrams
- Repository: https://github.com/lucas19919/diagonaldiagrams
- Website: https://lucas19919.github.io/diagonaldiagrams/
- Changelog RSS feed: https://verifymcp.io/servers/lucas19919-diagonaldiagrams/diagonaldiagrams.xml
- Changelog JSON feed: https://verifymcp.io/servers/lucas19919-diagonaldiagrams/diagonaldiagrams/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/lucas19919-diagonaldiagrams/diagonaldiagrams.json
- HTML version of this page: https://verifymcp.io/servers/lucas19919-diagonaldiagrams/diagonaldiagrams
