Darwin-owned AntV Charts

Darwin-hosted AntV bar, column and line charts. Free rendering with bounded PNG outputs.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
85%
命名质量
100%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~2,571token 数(工具定义)
~8.4 KB典型响应大小
对注意力有显著影响(占 128k 上下文窗口的 2.01%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `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
}

社区

评价此服务器

证据

最近观测

已验证未记录版本3 个工具