# AI Diagram Maker (npm · ai-diagram-maker-mcp)

Generate software diagrams from natural language, code, ASCII, images, Mermaid.

- Trust score: 63/100 (medium)
- Change this week: −8
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `ai-diagram-maker-mcp`: 63/100 (this document), [markdown](https://verifymcp.io/servers/erajasekar-ai-diagram-maker-mcp/ai-diagram-maker-mcp.md), [page](https://verifymcp.io/servers/erajasekar-ai-diagram-maker-mcp/ai-diagram-maker-mcp)

## Channel facts

- Registry: `npm`
- Package: `ai-diagram-maker-mcp`
- Version: `3.0.6`
- 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-08-03.

- **Supply Chain Security**: 88/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (180 of 184), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (180 of 184), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 114 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 41/100
  - 0% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 1217 tokens (~202/item across 6 items; 5 tools + 1 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 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.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.
  - Supports UI / widget rendering.

## Install

### Claude

```bash
claude mcp add erajasekar-ai-diagram-maker-mcp -- npx -y ai-diagram-maker-mcp
```

### Codex

```bash
codex mcp add erajasekar-ai-diagram-maker-mcp -- npx -y ai-diagram-maker-mcp
```

### opencode

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

### OpenClaw

```bash
openclaw mcp add erajasekar-ai-diagram-maker-mcp --command npx --arg -y --arg ai-diagram-maker-mcp
```

### Hermes

```yaml
mcp_servers:
  erajasekar-ai-diagram-maker-mcp:
    command: "npx"
    args: ["-y", "ai-diagram-maker-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "erajasekar-ai-diagram-maker-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ai-diagram-maker-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-08-03 (score 63, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-08-02 (score 59, +31)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Schema quality: 0 → unverified
- [functional regression] Capabilities: pass → unverified
- [functional regression] Security disclosure: fail → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] License: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 28, +23)

- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → 0
- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Capabilities: pass

### 2026-07-31 (score 5, −26)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 31, −40)

- [security regression] Known CVEs: partial → unverified
- [security regression] Malware scan: pass → unverified
- [security regression] Provenance: fail → unverified
- [security regression] Install scripts: pass → unverified
- [functional regression] License: pass → unverified
- [functional regression] Dependency health: partial → unverified
- [functional regression] Maintenance: pass → unverified
- [functional] Licence: MIT

### 2026-07-27 (score 71, +46)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [functional regression] Security disclosure: unverified → fail
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Schema quality: unverified → 0
- [functional improvement] License: unverified → pass
- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Tool coverage: 100
- [functional] First check of Schema quality: fail
- [functional] First check of Schema quality: excellent
- [functional] First check of Schema quality: fail
- [functional] Licence: MIT

### 2026-07-26 (score 25)

First indexed and scored.

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

## MCP tools (5)

### `generate_diagram_from_text` (~238 tokens)

Generate a software engineering diagram from a natural language description. Use this tool when: the user asks to 'create a diagram', 'show me a flowchart', 'visualise the architecture', uses the keyword 'adm' or 'ai diagram maker', or asks for any visual representation of code, systems, processes or data flows. Supported diagram types: flowchart, sequence, ERD, system architecture, network architecture, UML, mindmap, workflow. Returns a link to view and edit the generated diagram in the browser.

Input parameters:

- `content` (string, required): Natural language description of the diagram to generate. Be descriptive — include components, relationships, data flows, etc. Example: "Create a microservices architecture with API gateway, auth serv…
- `diagramType` (string): Preferred diagram type. Leave blank to let the AI infer the best type from your description.
- `isIconEnabled` (boolean): Set to true when the user asks to include icons in the diagram.
- `prompt` (string): Additional styling or layout instruction. Example: "Use left-to-right layout with pastel colors"

### `generate_diagram_from_json` (~215 tokens)

Generate a diagram from a JSON structure. Use this tool when the user wants to visualise JSON data such as API responses, database schemas, dependency trees, configuration files, or any structured data. Pass the raw JSON string as `content`. Returns a link to view and edit the generated diagram in the browser.

Input parameters:

- `content` (string, required): A JSON string representing the structure to visualise. This can be API response data, a database schema, a config file, dependency tree, or any other structured JSON. Example: '{"users": [{"id": 1, "…
- `diagramType` (string): Preferred diagram type. Defaults to 'erd' for schemas and 'flowchart' for other JSON.
- `isIconEnabled` (boolean): Set to true when the user asks to include icons in the diagram.
- `prompt` (string): Instruction for how to interpret or render the JSON. Example: "Show as an entity relationship diagram with cardinality labels"

### `generate_diagram_from_ascii` (~215 tokens)

Convert an ASCII art diagram into a polished visual diagram. Use this tool when the user has an existing ASCII art representation of a system, flow, or architecture and wants it rendered as a proper diagram. Accepts box-drawing characters, arrow representations (-->, ==>), and plain text layouts. Returns a link to view and edit the generated diagram in the browser.

Input parameters:

- `content` (string, required): Raw ASCII art diagram to convert into a polished visual diagram. Include the full ASCII art as-is, with box-drawing characters, arrows, or plain text layout. Example:   +--------+     +--------+   |…
- `diagramType` (string): Preferred diagram type. Leave blank to let the AI infer from the ASCII layout.
- `isIconEnabled` (boolean): Set to true when the user asks to include icons in the diagram.
- `prompt` (string): Additional instruction for rendering. Example: "Use a dark theme and add icons"

### `generate_diagram_from_image` (~240 tokens)

Convert an image (whiteboard photo, screenshot, hand-drawn sketch) into a clean diagram. Use this tool when the user provides an image URL or base64-encoded image and wants it converted to a proper software engineering diagram. Accepts public image URLs or base64 data URIs (data:image/...;base64,...). Returns a link to view and edit the generated diagram in the browser.

Input parameters:

- `content` (string, required): Either a public image URL or a base64 data URI of the image to convert. Supported formats: JPEG, PNG, GIF, WebP. For a URL: 'https://example.com/whiteboard.png'. For a data URI: 'data:image/png;base6…
- `diagramType` (string): Preferred output diagram type. Leave blank to let the AI decide based on the image content.
- `isIconEnabled` (boolean): Set to true when the user asks to include icons in the diagram.
- `prompt` (string): Instruction describing what to extract or how to render the diagram. Example: "Convert this whiteboard photo into a clean sequence diagram"

### `generate_diagram_from_mermaid` (~188 tokens)

Convert a Mermaid diagram definition into a D2 diagram and return a PNG image. Use this tool when the user has existing Mermaid code (flowchart, sequenceDiagram, erDiagram, etc.) and wants it converted to D2 or rendered as an image. Pass the Mermaid source as content. Returns a link to view and edit the generated diagram in the browser.

Input parameters:

- `content` (string, required): A Mermaid diagram definition to convert to D2. Pass the raw Mermaid source (e.g. flowchart, sequenceDiagram, erDiagram). Example: "flowchart LR   A --> B --> C"
- `diagramType` (string): Preferred diagram type for the converted D2 output.
- `isIconEnabled` (boolean): Set to true when the user asks to include icons in the diagram.
- `prompt` (string): Optional instruction for layout or styling of the converted diagram.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/erajasekar-ai-diagram-maker-mcp/ai-diagram-maker-mcp#diagnostics

## Score history

- 2026-08-03: 63
- 2026-08-02: 59
- 2026-08-01: 28
- 2026-07-31: 5
- 2026-07-30: 31
- 2026-07-28: 71
- 2026-07-27: 71
- 2026-07-26: 25

## Links

- npm package: https://www.npmjs.com/package/ai-diagram-maker-mcp
- Socket report: https://socket.dev/npm/package/ai-diagram-maker-mcp
- Repository: https://github.com/erajasekar/ai-diagram-maker-mcp
- Changelog RSS feed: https://verifymcp.io/servers/erajasekar-ai-diagram-maker-mcp/ai-diagram-maker-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/erajasekar-ai-diagram-maker-mcp/ai-diagram-maker-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/erajasekar-ai-diagram-maker-mcp/ai-diagram-maker-mcp
