About hustcc/mcp-echarts
hustcc/mcp-echarts is an MCP server published by hustcc in the Developer Tools category: 🧬 Generate visual charts using ECharts with AI MCP dynamically, used for chart generation and data analysis. Conduid read 18 tools from its source: generate_area_chart, generate_bar_chart, generate_boxplot_chart, generate_candlestick_chart, generate_echarts, generate_funnel_chart and 12 more. It is published to npm as mcp-echarts and starts with npx.
The repository has 270 stars and 43 forks, is licensed MIT, and its last commit was on 27 Aug 2026. The latest release is 0.7.1 (30 Jan 2026). It follows 0.7.0 (8 Jan 2026), and the 5 most recent releases go back to 0.5.0 (3 Aug 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include echarts, charts, svg, png, canvas and visualization.
Install
claude mcp add echarts -- npx -y mcp-echartsnpx -y mcp-echartsgit clone https://github.com/hustcc/mcp-echartsTools (18)
generate_area_chartGenerate an 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.generate_bar_chartGenerate a bar chart to show data for numerical comparisons among different categories, such as, comparing categorical data and for horizontal comparisons.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for bar chart, such as, [{ category: 'Category A', value: 10 }, { category: 'Category B', value: 20 }] or [{ category: 'Category A', value: 10, group: 'Group A' }]. |
| group | boolean | Whether grouping is enabled. When enabled, bar charts require a 'group' field in the data. When `group` is true, `stack` should be false. |
| stack | boolean | Whether stacking is enabled. When enabled, bar charts require a 'group' field in the data. When `stack` is true, `group` should be false. |
generate_boxplot_chartGenerate a boxplot chart to show data for statistical summaries among different categories, such as, comparing the distribution of data points across categories.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for boxplot chart, such as, [{ category: 'Category A', value: 10 }, { category: 'Category B', value: 20, group: 'Group A' }]. |
generate_candlestick_chartGenerate a candlestick chart for financial data visualization, such as, stock prices, cryptocurrency prices, or other OHLC (Open-High-Low-Close) data.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for candlestick chart, such as, [{ date: '2023-01-01', open: 100, high: 110, low: 95, close: 105, volume: 10000 }]. |
| showVolume | boolean | Whether to show volume chart below candlestick. Default is false. |
generate_echartsGenerate visual charts using Apache ECharts with echarts option and configuration dynamically. Apache ECharts is an Open Source JavaScript Visualization Library, which is used to create interactive charts and visualizations in web applications. It supports a wide range of chart types, including line charts, bar charts, pie charts, scatter plots, and more. ECharts is highly customizable and can be integrated with various data sources to create dynamic visualizations.| Parameter | Type | Description |
|---|---|---|
| echartsOption * | string | ECharts option and configuration used to generate charts. For example: { "title": { "text": "ECharts Entry Example", "left": "center", "top": "2%" }, "tooltip": {}, "xAxis": { "data": ["shirt", "cardigan", "chiffon", "pants", "heels", "socks"] }, "yAxis": {}, "series": [{ "name": "Sales", "type": "bar", "data": [5, 20, 36, 10, 10, 20] }] } ATTENTION: A valid ECharts option must be a valid JSON string, and cannot be empty. |
| height | number | The height of the ECharts in pixels. Default is 600. |
| theme | string | ECharts theme, optional. Default is 'default'. |
| width | number | The width of the ECharts in pixels. Default is 800. |
generate_funnel_chartGenerate 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.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for funnel chart, such as, [{ category: 'Browse Website', value: 50000 }, { category: 'Add to Cart', value: 35000 }, { category: 'Generate Order', value: 25000 }]. |
generate_gauge_chartGenerate a gauge chart to display single indicator's current status, such as, CPU usage rate, completion progress, or performance scores.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for gauge chart, such as, [{ name: 'CPU Usage', value: 75 }]. Multiple gauges can be displayed. |
| max | number | Maximum value of the gauge, default is 100. |
| min | number | Minimum value of the gauge, default is 0. |
generate_graph_chartGenerate a network graph chart to show relationships (edges) between entities (nodes), such as, relationships between people in social networks.| Parameter | Type | Description |
|---|---|---|
| data | object | Array of nodes in the network. |
| layout | string | Layout algorithm for the graph. Default is 'force'. |
generate_heatmap_chartGenerate a heatmap chart to display data density or intensity distribution, such as, user activity patterns by time and day, or correlation matrix.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for heatmap chart, such as, [{ x: 'Mon', y: '12AM', value: 5 }, { x: 'Tue', y: '1AM', value: 3 }]. |
generate_line_chartGenerate 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.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for line chart, such as, [{ time: '2015', value: 23 }, { time: '2016', value: 32 }]. For multiple series: [{ group: 'Series A', time: '2015', value: 23 }, { group: 'Series B', time: '2015', value: 18 }]. |
| showArea | boolean | Whether to fill the area under the line. Default is false. |
| showSymbol | boolean | Whether to show symbols on data points. Default is true. |
| smooth | boolean | Whether to use a smooth curve. Default is false. |
| stack | boolean | Whether stacking is enabled. When enabled, line charts require a 'group' field in the data. |
generate_parallel_chartGenerate a parallel coordinates chart to display multi-dimensional data, such as, comparing different products across multiple attributes.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for parallel chart, such as, [{ name: 'Product A', values: [4.2, 3.4, 2.3, 1.8] }]. |
| dimensions * | array | Names of the dimensions/axes, such as, ['Price', 'Quality', 'Service', 'Value']. |
generate_pie_chartGenerate a pie chart to show the proportion of parts, such as, market share and budget allocation.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for pie chart, such as, [{ category: 'Category A', value: 27 }, { category: 'Category B', value: 25 }]. |
| innerRadius | number | Set the innerRadius of pie chart, the value between 0 and 1. Set the pie chart as a donut chart. Set the value to 0.6 or number in [0 ,1] to enable it. |
generate_radar_chartGenerate 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.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for radar chart, such as, [{ name: 'Design', value: 70 }, { name: 'Performance', value: 85 }] or [{ name: 'Design', value: 70, group: 'iPhone' }]. |
generate_sankey_chartGenerate 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.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for sankey chart, such as, [{ source: 'Landing Page', target: 'Product Page', value: 50000 }, { source: 'Product Page', target: 'Add to Cart', value: 35000 }]. |
| nodeAlign | string | Alignment of nodes in the sankey chart, such as, 'left', 'right', or 'justify'. |
generate_scatter_chartGenerate 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.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for scatter chart, such as, [{ x: 10, y: 15 }, { x: 20, y: 25 }]. |
generate_sunburst_chartGenerate a sunburst chart to display multi-level hierarchical data, such as, organizational structure, file system hierarchy, or category breakdown.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for sunburst chart, such as, [{ name: 'Technology', value: 100, children: [{ name: 'Frontend', value: 60, children: [{ name: 'React', value: 30 }] }] }]. |
generate_tree_chartGenerate a tree chart to display hierarchical data structure, such as, organizational chart, family tree, or file directory structure.| Parameter | Type | Description |
|---|---|---|
| layout | string | Tree layout type. Default is 'orthogonal'. |
| orient | string | Tree orientation. LR=left-to-right, RL=right-to-left, TB=top-to-bottom, BT=bottom-to-top. Default is 'LR'. |
generate_treemap_chartGenerate 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.| Parameter | Type | Description |
|---|---|---|
| data * | array | Data for treemap chart, such as, [{ name: 'Design', value: 70, children: [{ name: 'Tech', value: 20 }] }]. |
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 666 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 25 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEsrc/index.ts:7, src/index.ts:8, src/index.ts:6
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 3 callssrc/utils/minio.ts:63, src/utils/minio.ts:78, src/utils/minio.ts:98
- Lockfile
- None in the repository
Pattern matches on the source text of 25 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 666 words, fetched yesterday. The original in the repository is authoritative.
Read full README