Darwin-owned AntV Charts
Darwin-hosted AntV bar, column and line charts. Free rendering with bounded PNG outputs.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"owned-antv-chart": {
"url": "https://creora.darwin.so/providers/antv/mcp"
}
}
}Puntos de conexión remotos
https://creora.darwin.so/providers/antv/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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
}Esquema de salida
{
"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.
Esquema de entrada
{
"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
}Esquema de salida
{
"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.
Esquema de entrada
{
"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
}Esquema de salida
{
"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
}Comunidad
Evidencia