MCP Server Chart
OfficialДиаграмма MCP-сервера


Сервер Model Context Protocol для создания диаграмм с использованием AntV .
Это MCP-сервер на основе TypeScript, который предоставляет возможности генерации диаграмм. Он позволяет создавать различные типы диаграмм с помощью инструментов 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-адрес изображения.
Related MCP server: Quickchart-MCP-Server
🤖 Использование
Для использования с Desktop APP , например Claude, VSCode, Cline , Cherry Studio и т. д., добавьте конфигурацию сервера 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"
]
}
}
}Также вы можете использовать его на aliyun , modelscope , glama.ai , smithery.ai или других с протоколом HTTP, SSE.
🚰 Запуск с SSE или потоковым транспортом
Установите пакет глобально.
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
Вы также можете использовать следующие параметры CLI при запуске сервера MCP. Параметры команды при запуске cli с -h .
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-службы в частной среде, а затем передать URL-адрес через env VIS_REQUEST_SERVER .
🔨 Развитие
Установить зависимости:
npm installСборка сервера:
npm run buildЗапустите MCP-сервер:
npm run start📄 Лицензия
MIT@ AntV .
Available Tools
26 toolsgenerate_area_chartBRead-only
Generate a area chart to show data trends under continuous independent variables and observe the overall data trend, such as, displacement = velocity (average or instantaneous) × time: s = v × t. If the x-axis is time (t) and the y-axis is velocity (v) at each moment, an area chart allows you to observe the trend of velocity over time and infer the distance traveled by the area's size.
Inputs: data (required), stack, style, theme, +5 more.
generate_bar_chartBRead-only
Generate a horizontal bar chart to show data for numerical comparisons among different categories, such as, comparing categorical data and for horizontal comparisons.
Inputs: data (required), group, stack, style, +6 more.
generate_boxplot_chartBRead-only
Generate a boxplot chart to show data for statistical summaries among different categories, such as, comparing the distribution of data points across categories.
Inputs: data (required), style, theme, width, +4 more.
generate_column_chartCRead-only
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.
Inputs: data (required), group, stack, style, +6 more.
generate_district_mapARead-only
Generates regional distribution maps, which are usually used to show the administrative divisions and coverage of a dataset. It is not suitable for showing the distribution of specific locations, such as urban administrative divisions, GDP distribution maps of provinces and cities across the country, etc. This tool is limited to generating data maps within China.
Inputs: title (required), data (required), width, height.
generate_dual_axes_chartBRead-only
Generate a dual axes chart which is a combination chart that integrates two different chart types, typically combining a bar chart with a line chart to display both the trend and comparison of data, such as, the trend of sales and profit over time.
Inputs: categories (required), series (required), style, theme, +4 more.
generate_fishbone_diagramARead-only
Generate a fishbone diagram chart to uses a fish skeleton, like structure to display the causes or effects of a core problem, with the problem as the fish head and the causes/effects as the fish bones. It suits problems that can be split into multiple related factors.
Inputs: data (required), style, theme, width, +1 more.
generate_flow_diagramBRead-only
Generate a flow diagram chart to show the steps and decision points of a process or system, such as, scenarios requiring linear process presentation.
Inputs: data (required), style, theme, width, +1 more.
generate_funnel_chartARead-only
Generate a funnel chart to visualize the progressive reduction of data as it passes through stages, such as, the conversion rates of users from visiting a website to completing a purchase.
Inputs: data (required), style, theme, width, +2 more.
generate_histogram_chartBRead-only
Generate a histogram chart to show the frequency of data points within a certain range. It can observe data distribution, such as, normal and skewed distributions, and identify data concentration areas and extreme points.
Inputs: data (required), binNumber, style, theme, +5 more.
generate_line_chartBRead-only
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.
Inputs: data (required), style, theme, width, +4 more.
generate_liquid_chartARead-only
Generate a liquid chart to visualize a single value as a percentage, such as, the current occupancy rate of a reservoir or the completion percentage of a project.
Inputs: percent (required), shape, style, theme, +3 more.
generate_mind_mapBRead-only
Generate a mind map chart to organizes and presents information in a hierarchical structure with branches radiating from a central topic, such as, a diagram showing the relationship between a main topic and its subtopics.
Inputs: data (required), style, theme, width, +1 more.
generate_network_graphBRead-only
Generate a network graph chart to show relationships (edges) between entities (nodes), such as, relationships between people in social networks.
Inputs: data (required), style, theme, width, +1 more.
generate_organization_chartBRead-only
Generate an organization chart to visualize the hierarchical structure of an organization, such as, a diagram showing the relationship between a CEO and their direct reports.
Inputs: data (required), orient, style, theme, +2 more.
generate_path_mapBRead-only
Generate a route map to display the user's planned route, such as travel guide routes.
Inputs: title (required), data (required), width, height.
generate_pie_chartBRead-only
Generate a pie chart to show the proportion of parts, such as, market share and budget allocation.
Inputs: data (required), innerRadius, style, theme, +3 more.
generate_pin_mapBRead-only
Generate a point map to display the location and distribution of point data on the map, such as the location distribution of attractions, hospitals, supermarkets, etc.
Inputs: title (required), data (required), markerPopup, width, +1 more.
generate_radar_chartBRead-only
Generate a radar chart to display multidimensional data (four dimensions or more), such as, evaluate Huawei and Apple phones in terms of five dimensions: ease of use, functionality, camera, benchmark scores, and battery life.
Inputs: data (required), style, theme, width, +2 more.
generate_sankey_chartBRead-only
Generate a sankey chart to visualize the flow of data between different stages or categories, such as, the user journey from landing on a page to completing a purchase.
Inputs: data (required), nodeAlign, style, theme, +3 more.
generate_scatter_chartBRead-only
Generate a scatter chart to show the relationship between two variables, helps discover their relationship or trends, such as, the strength of correlation, data distribution patterns.
Inputs: data (required), style, theme, width, +4 more.
generate_treemap_chartBRead-only
Generate a treemap chart to display hierarchical data and can intuitively show comparisons between items at the same level, such as, show disk space usage with treemap.
Inputs: data (required), style, theme, width, +2 more.
generate_venn_chartBRead-only
Generate a Venn diagram to visualize the relationships between different sets, showing how they intersect and overlap, such as the commonalities and differences between various groups.
Inputs: data (required), style, theme, width, +2 more.
generate_violin_chartBRead-only
Generate a violin chart to show data for statistical summaries among different categories, such as, comparing the distribution of data points across categories.
Inputs: data (required), style, theme, width, +4 more.
generate_waterfall_chartARead-only
Generate a waterfall chart to visualize the cumulative effect of sequentially introduced positive or negative values, such as showing how an initial value is affected by a series of intermediate positive or negative values leading to a final result. Waterfall charts are ideal for financial analysis, budget tracking, profit and loss statements, and understanding the composition of changes over time or categories.
Inputs: data (required), style, theme, width, +4 more.
generate_word_cloud_chartBRead-only
Generate a word cloud chart to show word frequency or weight through text size variation, such as, analyzing common words in social media, reviews, or feedback.
Inputs: data (required), style, theme, width, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
Every tool has a clearly distinct purpose, each generating a specific type of chart or diagram. The descriptions explicitly differentiate them, such as bar charts for categorical comparisons versus line charts for trends over time. No tools appear to overlap in functionality, making selection straightforward for an agent.
All tool names follow a consistent 'generate_<chart_type>_chart' pattern, with minor exceptions like 'generate_district_map' and 'generate_path_map' that still maintain the 'generate_<type>' structure. This uniformity ensures predictability and readability across the entire set.
With 26 tools, the count is borderline high for a chart-generation server, potentially overwhelming for agents. While it covers a wide range of chart types, some tools like boxplot and violin charts have similar statistical purposes, suggesting possible redundancy. A more streamlined set of 15-20 tools might be more manageable.
The tool set provides comprehensive coverage for data visualization, including all major chart types (e.g., bar, line, scatter, pie) and specialized diagrams (e.g., fishbone, mind map, sankey). It supports various data scenarios from trends and distributions to hierarchies and relationships, leaving no obvious gaps in the domain.
Maintenance
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server implementation that provides the LLM an interface for visualizing data using Vega-Lite syntax.100-
- AlicenseCqualityFmaintenanceAn MCP server for generating customizable data visualizations using QuickChart.io, supporting multiple chart types and Chart.js configuration.2309 npm159MIT

MCP Server AntVofficial
AlicenseAqualityCmaintenanceA Model Context Protocol server that provides AntV visualization library documentation and code examples to AI assistants, supporting G2, G6, and F2 libraries for data visualization workflows.243 npm40MIT
vchart-mcp-serverofficial
AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server for the @visactor/vchart that enables AI assistants to generate interactive charts and visualizations.1018 npm52MIT