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 系统上:
在 Windows 系统上:
另外,您还可以在aliyun 、 modelscope 、 glama.ai 、 smithery.ai或其他具有 HTTP、SSE 协议的平台上使用它。
🚰 使用 SSE 或 Streamable 传输运行
全局安装该包。
使用您首选的传输选项运行服务器:
然后您可以通过以下方式访问服务器:
- SSE 传输:
http://localhost:1122/sse
- 可流式传输:
http://localhost:1122/mcp
🎮 CLI 选项
运行 MCP 服务器时,您还可以使用以下 CLI 选项。使用-h
运行 cli 命令。
📠 私有部署
MCP Server Chart
默认提供免费的图表生成服务,对于有私有部署需求的用户可以尝试使用VIS_REQUEST_SERVER
定制自己的图表生成服务。
您可以使用 AntV 的项目GPT-Vis-SSR在私有环境中部署一个 HTTP 服务,然后通过 env VIS_REQUEST_SERVER
传递 URL 地址。
🔨开发
安装依赖项:
构建服务器:
启动 MCP 服务器:
📄 许可证
麻省理工学院@ AntV 。
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.
Tools
🤖 使用 AntV 生成 15 多个可视化图表的模型上下文协议服务器。
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server for generating customizable data visualizations using QuickChart.io, supporting multiple chart types and Chart.js configuration.Last updated -2315134JavaScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that generates TradingView chart visualizations with real-time updates, enabling AI assistants to create and display financial charts through an integration with Chart-IMG API.Last updated -530TypeScript
- AsecurityFlicenseAqualityThis Model Context Protocol (MCP) server provides powerful visualization tools using QuickChart.io APIs. With this MCP, AI assistants can create charts, diagrams, barcodes, QR codes, word clouds, tables, and more.Last updated -1218TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server that generates lightweight ASCII charts directly in terminal environments, supporting line charts, bar charts, scatter plots, histograms, and sparklines without GUI dependencies.Last updated -51TypeScriptMIT License