Skip to main content
Glama

mcp-diagram-maker

mcp-diagram-maker は、Plotly、PlantUML、Mermaid、Vega-Lite を使用して様々な種類のグラフや図を作成するためのModel Context Protocol (MCP) サーバーです。

事例

チャート作成の事例:

Plotly グラフ

PlantUML 図

Mermaid チャート

その他

Related MCP server: DiagramMCP

機能

  • Plotlyグラフ作成: PythonコードからPlotlyグラフを生成し、PNG、SVG、HTML形式で出力します。

  • PlantUML図作成: PlantUMLのソースコードからフロー図などを生成し、PNG、SVG形式で出力します。

  • Mermaidチャート作成: Mermaidのソースコードからチャートを生成し、HTML形式で出力します。

  • Vega-Liteチャート作成: Vega-LiteのJSON仕様からチャートを生成し、PNG、SVG形式で出力します。

インストール

  1. cloneして、uvで仮想環境を再現します。

    git clone repositry
    cd mcp-diagram-maker
    uv sync

使い方

mcp_setting.json に記述します。

{
  "mcpServers": {
    "mcp-diagram-maker": {
      "autoApprove": [],
      "disabled": false,
      "timeout": 240,
      "type": "stdio",
      "command": "uv",
      "args": [
        "--directory",
        "path_to/mcp-diagram-maker",
        "run",
        "mcp-diagram-maker"
      ]
    }
  }
}

Available Tools

4 tools
create_mermaid_chartA

Mermaidを使ってチャートを作成し、HTML形式で出力します。Mermaidソースまたは中間ファイルパスを受け取ります。ファイルの受け渡しは絶対パスを使用する。

Inputs: output_path (required), output_format (required), source, input_filepath.

create_plantuml_diagramB

PlantUMLを使ってフロー図などを作成し、指定された形式で出力します。PlantUMLソースまたは中間ファイルパスを受け取ります。ファイルの受け渡しは絶対パスを使用する。

重要なコーディングルール(必読):

  • rectangle 内の説明はすべてラベル文字列内に改行で入れる形式とすること。 例: rectangle "タイトル\n- 説明行1\n- 説明行2" as ID #FFF2CC

  • '識別子 : テキスト' のような形式(例: ID : 説明)は避けること。 PlantUML の一部の図タイプや古いバージョンで構文エラーを引き起こす可能性があります。

  • 必要に応じて color 指定は各要素の末尾に '#RRGGBB' で付与すること。

Inputs: output_path (required), output_format (required), source, input_filepath.

create_plotly_graphC

Plotlyを使ってグラフを作成し、指定された形式で出力します。Pythonコードまたは中間ファイルパスを受け取ります。ファイルの受け渡しは絶対パスを使用する。

Inputs: output_path (required), output_format (required), python_code, input_filepath.

create_vega_lite_chartB

Vega-Liteを使ってチャートを作成し、指定された形式で出力します。Vega-Lite JSON仕様または中間ファイルパスを受け取ります。ファイルの受け渡しは絶対パスを使用する。

Inputs: output_path (required), output_format (required), vl_spec, input_filepath.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool maps to a clearly distinct rendering library and output type: Plotly graphs, Mermaid charts, PlantUML diagrams, and Vega-Lite charts. An agent can select the correct tool based on the source format or desired output without overlap.

    Naming Consistency4/5

    All tools follow a consistent create_<library>_<artifact> pattern, which is predictable and readable. The only minor inconsistency is the varying artifact noun (graph, chart, diagram, chart) rather than a single term.

    Tool Count5/5

    Four tools is well-scoped for a diagram-making server focused on multiple rendering backends. Each tool covers a distinct library, so none feels redundant or missing at this scale.

    Completeness4/5

    The surface covers four major diagram/chart generation formats, which is strong for a creation-focused server. Minor gaps exist around managing outputs, such as listing generated files, converting between formats, or deleting artifacts.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to generate UML diagrams through natural language by rendering PlantUML code into PNG or SVG images. Supports sequence diagrams, class diagrams, use case diagrams, and other UML chart types with Base64-encoded output.
      7
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables the dynamic generation of various software development diagrams, such as flowcharts, sequence diagrams, and architecture diagrams, using Mermaid syntax. It includes tools for diagram validation and provides instructions for exporting results to multiple formats including SVG and PNG.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Converts Markdown files into professional diagrams such as flowcharts, mind maps, and architecture diagrams using Mermaid.js and custom SVG renderers. It enables users to list, render, and export visualizations in multiple formats including SVG, PNG, and PDF.
      3
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables generating cloud architecture diagrams, flowcharts, sequence diagrams, and more using three rendering engines: mingrammer/diagrams, Mermaid, and PlantUML.
      48 PyPI
      3
      MIT