Darwin-owned AntV Charts
Darwin-hosted AntV bar, column and line charts. Free rendering with bounded PNG outputs.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"owned-antv-chart": {
"url": "https://creora.darwin.so/providers/antv/mcp"
}
}
}リモートエンドポイント
https://creora.darwin.so/providers/antv/mcpstreamable-httpできること
ツール一覧
ツール(3)
🟢generate_bar_chart(data, group, stack, style, theme, ...)
Generate a horizontal bar chart to show data for numerical comparisons among different categories, such as, comparing categorical data and for horizontal comparisons. Hosted by Darwin using AntV's public free renderer. Returns a PNG image. Accepts at most 50 rows with bounded image sizes. No API key is required; payments are not supported.
入力スキーマ
{
"type": "object",
"properties": {
"data": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"value": {
"type": "number",
"minimum": -1000000000000,
"maximum": 1000000000000
},
"group": {
"type": "string",
"maxLength": 128
}
},
"required": [
"category",
"value"
],
"additionalProperties": false
}
},
"group": {
"default": false,
"description": "Whether grouping is enabled. When enabled, bar charts require a 'group' field in the data. When `group` is true, `stack` should be false.",
"type": "boolean"
},
"stack": {
"default": true,
"description": "Whether stacking is enabled. When enabled, bar charts require a 'group' field in the data. When `stack` is true, `group` should be false.",
"type": "boolean"
},
"style": {
"type": "object",
"properties": {
"backgroundColor": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?$"
},
"palette": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?$"
}
},
"texture": {
"type": "string",
"enum": [
"default",
"rough"
]
}
},
"additionalProperties": false
},
"theme": {
"default": "default",
"description": "Set the theme for the chart, optional, default is 'default'.",
"type": "string",
"enum": [
"default",
"academy",
"dark"
]
},
"width": {
"default": 600,
"type": "integer",
"minimum": 256,
"maximum": 1600
},
"height": {
"default": 400,
"type": "integer",
"minimum": 256,
"maximum": 1200
},
"title": {
"default": "",
"type": "string",
"maxLength": 160
},
"axisXTitle": {
"default": "",
"type": "string",
"maxLength": 128
},
"axisYTitle": {
"default": "",
"type": "string",
"maxLength": 128
}
},
"required": [
"data"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"artifact": {
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"mimeType",
"bytes",
"sha256",
"width",
"height"
],
"properties": {
"kind": {
"const": "image"
},
"mimeType": {
"const": "image/png"
},
"bytes": {
"type": "integer",
"minimum": 45,
"maximum": 2097152
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"width": {
"type": "integer",
"minimum": 256,
"maximum": 3200
},
"height": {
"type": "integer",
"minimum": 256,
"maximum": 2400
}
}
},
"provenance": {
"type": "object",
"additionalProperties": false,
"required": [
"hostingOwner",
"software",
"softwareVersion",
"renderer",
"issuedURLSha256"
],
"properties": {
"hostingOwner": {
"const": "Darwin"
},
"software": {
"const": "@antv/mcp-server-chart"
},
"softwareVersion": {
"const": "0.9.10"
},
"renderer": {
"const": "https://antv-studio.alipay.com/api/gpt-vis"
},
"issuedURLSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
},
"requestMetadata": {
"type": "object",
"additionalProperties": false,
"required": [
"metadataOnly",
"tool",
"sourceRows",
"specSha256"
],
"properties": {
"metadataOnly": {
"const": true
},
"tool": {
"enum": [
"generate_bar_chart",
"generate_column_chart",
"generate_line_chart"
]
},
"sourceRows": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"specSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
}
},
"required": [
"artifact",
"provenance",
"requestMetadata"
],
"additionalProperties": false
}🟢generate_column_chart(data, group, stack, style, theme, ...)
Generate a column chart, which are best for comparing categorical data, such as, when values are close, column charts are preferable because our eyes are better at judging height than other visual elements like area or angles. Hosted by Darwin using AntV's public free renderer. Returns a PNG image. Accepts at most 50 rows with bounded image sizes. No API key is required; payments are not supported.
入力スキーマ
{
"type": "object",
"properties": {
"data": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"value": {
"type": "number",
"minimum": -1000000000000,
"maximum": 1000000000000
},
"group": {
"type": "string",
"maxLength": 128
}
},
"required": [
"category",
"value"
],
"additionalProperties": false
}
},
"group": {
"default": true,
"description": "Whether grouping is enabled. When enabled, column charts require a 'group' field in the data. When `group` is true, `stack` should be false.",
"type": "boolean"
},
"stack": {
"default": false,
"description": "Whether stacking is enabled. When enabled, column charts require a 'group' field in the data. When `stack` is true, `group` should be false.",
"type": "boolean"
},
"style": {
"type": "object",
"properties": {
"backgroundColor": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?$"
},
"palette": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?$"
}
},
"texture": {
"type": "string",
"enum": [
"default",
"rough"
]
}
},
"additionalProperties": false
},
"theme": {
"default": "default",
"description": "Set the theme for the chart, optional, default is 'default'.",
"type": "string",
"enum": [
"default",
"academy",
"dark"
]
},
"width": {
"default": 600,
"type": "integer",
"minimum": 256,
"maximum": 1600
},
"height": {
"default": 400,
"type": "integer",
"minimum": 256,
"maximum": 1200
},
"title": {
"default": "",
"type": "string",
"maxLength": 160
},
"axisXTitle": {
"default": "",
"type": "string",
"maxLength": 128
},
"axisYTitle": {
"default": "",
"type": "string",
"maxLength": 128
}
},
"required": [
"data"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"artifact": {
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"mimeType",
"bytes",
"sha256",
"width",
"height"
],
"properties": {
"kind": {
"const": "image"
},
"mimeType": {
"const": "image/png"
},
"bytes": {
"type": "integer",
"minimum": 45,
"maximum": 2097152
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"width": {
"type": "integer",
"minimum": 256,
"maximum": 3200
},
"height": {
"type": "integer",
"minimum": 256,
"maximum": 2400
}
}
},
"provenance": {
"type": "object",
"additionalProperties": false,
"required": [
"hostingOwner",
"software",
"softwareVersion",
"renderer",
"issuedURLSha256"
],
"properties": {
"hostingOwner": {
"const": "Darwin"
},
"software": {
"const": "@antv/mcp-server-chart"
},
"softwareVersion": {
"const": "0.9.10"
},
"renderer": {
"const": "https://antv-studio.alipay.com/api/gpt-vis"
},
"issuedURLSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
},
"requestMetadata": {
"type": "object",
"additionalProperties": false,
"required": [
"metadataOnly",
"tool",
"sourceRows",
"specSha256"
],
"properties": {
"metadataOnly": {
"const": true
},
"tool": {
"enum": [
"generate_bar_chart",
"generate_column_chart",
"generate_line_chart"
]
},
"sourceRows": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"specSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
}
},
"required": [
"artifact",
"provenance",
"requestMetadata"
],
"additionalProperties": false
}🟢generate_line_chart(data, style, theme, width, height, ...)
Generate a line chart to show trends over time, such as, the ratio of Apple computer sales to Apple's profits changed from 2000 to 2016. Hosted by Darwin using AntV's public free renderer. Returns a PNG image. Accepts at most 50 rows with bounded image sizes. No API key is required; payments are not supported.
入力スキーマ
{
"type": "object",
"properties": {
"data": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"time": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"value": {
"type": "number",
"minimum": -1000000000000,
"maximum": 1000000000000
},
"group": {
"type": "string",
"maxLength": 128
}
},
"required": [
"time",
"value"
],
"additionalProperties": false
}
},
"style": {
"type": "object",
"properties": {
"backgroundColor": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?$"
},
"palette": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?$"
}
},
"texture": {
"type": "string",
"enum": [
"default",
"rough"
]
}
},
"additionalProperties": false
},
"theme": {
"default": "default",
"description": "Set the theme for the chart, optional, default is 'default'.",
"type": "string",
"enum": [
"default",
"academy",
"dark"
]
},
"width": {
"default": 600,
"type": "integer",
"minimum": 256,
"maximum": 1600
},
"height": {
"default": 400,
"type": "integer",
"minimum": 256,
"maximum": 1200
},
"title": {
"default": "",
"type": "string",
"maxLength": 160
},
"axisXTitle": {
"default": "",
"type": "string",
"maxLength": 128
},
"axisYTitle": {
"default": "",
"type": "string",
"maxLength": 128
}
},
"required": [
"data"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"artifact": {
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"mimeType",
"bytes",
"sha256",
"width",
"height"
],
"properties": {
"kind": {
"const": "image"
},
"mimeType": {
"const": "image/png"
},
"bytes": {
"type": "integer",
"minimum": 45,
"maximum": 2097152
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"width": {
"type": "integer",
"minimum": 256,
"maximum": 3200
},
"height": {
"type": "integer",
"minimum": 256,
"maximum": 2400
}
}
},
"provenance": {
"type": "object",
"additionalProperties": false,
"required": [
"hostingOwner",
"software",
"softwareVersion",
"renderer",
"issuedURLSha256"
],
"properties": {
"hostingOwner": {
"const": "Darwin"
},
"software": {
"const": "@antv/mcp-server-chart"
},
"softwareVersion": {
"const": "0.9.10"
},
"renderer": {
"const": "https://antv-studio.alipay.com/api/gpt-vis"
},
"issuedURLSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
},
"requestMetadata": {
"type": "object",
"additionalProperties": false,
"required": [
"metadataOnly",
"tool",
"sourceRows",
"specSha256"
],
"properties": {
"metadataOnly": {
"const": true
},
"tool": {
"enum": [
"generate_bar_chart",
"generate_column_chart",
"generate_line_chart"
]
},
"sourceRows": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"specSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
}
},
"required": [
"artifact",
"provenance",
"requestMetadata"
],
"additionalProperties": false
}コミュニティ
エビデンス