Skip to main content
Glama

MCP Server Chart

Official

MCP 服务器图表

使用AntV生成图表的模型上下文协议服务器。

这是一个基于 TypeScript 的 MCP 服务器,提供图表生成功能。您可以通过 MCP 工具创建各种类型的图表。

✨ 特点

现在支持 15+ 个图表。

  • generate_area_chart - 生成area图,并返回图像 URL。
  • generate_bar_chart - 生成bar ,并返回图像 URL。
  • generate_column_chart - 生成column ,并返回图像 URL。
  • generate_dual_axes_chart - 生成dual-axes图,并返回图像 URL。
  • generate_fishbone_diagram - 生成fishbone-diagram图,并返回图像 URL。
  • generate_flow_diagram - 生成flow-diagram ,并返回图像 URL。
  • generate_histogram_chart - 生成histogram ,并返回图像 URL。
  • generate_line_chart - 生成line图,并返回图像 URL。
  • generate_mind_map - 生成mind-map图,并返回图像 URL。
  • generate_network_graph - 生成network-graph图表,并返回图像 URL。
  • generate_pie_chart - 生成pie ,并返回图像 URL。
  • generate_radar_chart - 生成radar图,并返回图像 URL。
  • generate_scatter_chart - 生成scatter ,并返回图像 URL。
  • generate_treemap_chart - 生成treemap图,并返回图像 URL。
  • generate_word_cloud_chart - 生成word-cloud云图,并返回图像 URL。

🤖 使用方法

如需与 Claude、VSCode、 Cline 、Cherry Studio 等Desktop APP一起使用,请添加以下 MCP 服务器配置。在 Mac 系统上:

{ "mcpServers": { "mcp-server-chart": { "command": "npx", "args": [ "-y", "@antv/mcp-server-chart" ] } } }

在 Windows 系统上:

{ "mcpServers": { "mcp-server-chart": { "command": "cmd", "args": [ "/c", "npx", "-y", "@antv/mcp-server-chart" ] } } }

另外,您还可以在aliyunmodelscopeglama.aismithery.ai或其他具有 HTTP、SSE 协议的平台上使用它。

🚰 使用 SSE 或 Streamable 传输运行

全局安装该包。

npm install -g @antv/mcp-server-chart

使用您首选的传输选项运行服务器:

# For SSE transport (default endpoint: /sse) mcp-server-chart --transport sse # For Streamable transport with custom endpoint mcp-server-chart --transport streamable

然后您可以通过以下方式访问服务器:

  • SSE 传输: http://localhost:1122/sse
  • 可流式传输: http://localhost:1122/mcp

🎮 CLI 选项

运行 MCP 服务器时,您还可以使用以下 CLI 选项。使用-h运行 cli 命令。

MCP Server Chart CLI Options: --transport, -t Specify the transport protocol: "stdio", "sse", or "streamable" (default: "stdio") --port, -p Specify the port for SSE or streamable transport (default: 1122) --endpoint, -e Specify the endpoint for the transport: - For SSE: default is "/sse" - For streamable: default is "/mcp" --help, -h Show this help message

📠 私有部署

MCP Server Chart默认提供免费的图表生成服务,对于有私有部署需求的用户可以尝试使用VIS_REQUEST_SERVER定制自己的图表生成服务。

{ "mcpServers": { "mcp-server-chart": { "command": "npx", "args": [ "-y", "@antv/mcp-server-chart" ], "env": { "VIS_REQUEST_SERVER": "<YOUR_VIS_REQUEST_SERVER>" } } } }

您可以使用 AntV 的项目GPT-Vis-SSR在私有环境中部署一个 HTTP 服务,然后通过 env VIS_REQUEST_SERVER传递 URL 地址。

🔨开发

安装依赖项:

npm install

构建服务器:

npm run build

启动 MCP 服务器:

npm run start

📄 许可证

麻省理工学院@ AntV

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

🤖 使用 AntV 生成 15 多个可视化图表的模型上下文协议服务器。

  1. ✨ 特点
    1. 🤖 使用方法
      1. 🚰 使用 SSE 或 Streamable 传输运行
        1. 🎮 CLI 选项
          1. 📠 私有部署
            1. 🔨开发
              1. 📄 许可证

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  An MCP server for generating customizable data visualizations using QuickChart.io, supporting multiple chart types and Chart.js configuration.
                  Last updated -
                  2
                  1,574
                  80
                  JavaScript
                  MIT License
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  An MCP server that allows AI models to create data visualizations using Vega-Lite syntax by providing tools to save data tables and generate visualizations from them.
                  Last updated -
                  Python
                • -
                  security
                  F
                  license
                  -
                  quality
                  A Model Context Protocol server that enables AI models to create and manipulate PowerPoint presentations with advanced features like financial charts, formatting, and template management.
                  Last updated -
                  1
                  Python
                • A
                  security
                  F
                  license
                  A
                  quality
                  A comprehensive Model Context Protocol server for advanced code analysis that provides tools for syntax analysis, dependency visualization, and AI-assisted development workflow support.
                  Last updated -
                  28
                  3
                  Python

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/antvis/mcp-server-chart'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server