
AntV Chart MCP Server: Setup for Claude, Cursor and More
Lets your assistant draw charts, diagrams and maps from your data, such as bar, line, pie, mind map and flow charts.
AntV's chart server lets Claude, Cursor and other assistants turn your data into charts and diagrams. It covers bar, line, pie, scatter, flow, mind map and other types, and returns an image link. It runs on your computer with npx and needs no account.
The chart itself is drawn by an online service, so your data goes to AntV's chart service by default. Teams that cannot allow that can point it at their own service.
Good for
- Analysts who want quick charts from pasted data in chat
- Developers adding chart generation to an AI workflow
- Teams who need to host the chart service themselves
Works in
12 should work
Tap an app to see how to set it up and any known problems.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Client does not support this transport.
Client does not support this transport.
Install AntV Chart MCP
Claude Code
- 1
Copy this prompt.
Add the AntV Chart MCP server to Claude Code. Run this command: claude mcp add antv-chart -- npx -y @antv/mcp-server-chart Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
Built from the package data we hold. Not yet tested by us.
Tools
Draws an area chart of a trend over time or another continuous value.
Draws an area chart of a trend over time or another continuous value. Sends your data to the chart service and returns an image link.
Try: “Draw an area chart of monthly signups for 2025.”
Network ·
generate_area_chartDraws horizontal bars to compare values across categories.
Draws horizontal bars to compare values across categories. Sends your data to the chart service and returns an image link.
Try: “Make a bar chart of revenue by region.”
Network ·
generate_bar_chartShows how data is spread, with median, quartiles and outliers.
Shows how data is spread, with median, quartiles and outliers. Sends your data to the chart service and returns an image link.
Try: “Boxplot of delivery times by courier.”
Network ·
generate_boxplot_chartDraws vertical columns to compare categories.
Draws vertical columns to compare categories. Sends your data to the chart service and returns an image link.
Try: “Column chart of units sold per product.”
Network ·
generate_column_chartShades regions of China by value. Covers China only.
Shades regions of China by value. Covers China only. Sends your data to the chart service and returns an image link.
Try: “Map of GDP by Chinese province.”
Network ·
generate_district_mapPlots two measures with different units on one chart.
Plots two measures with different units on one chart. Sends your data to the chart service and returns an image link.
Try: “Plot revenue and conversion rate by month on two axes.”
Network ·
generate_dual_axes_chartLays out the root causes of a problem as a fishbone diagram.
Lays out the root causes of a problem as a fishbone diagram. Sends your data to the chart service and returns an image link.
Try: “Fishbone diagram for why our checkout fails.”
Network ·
generate_fishbone_diagramDraws the steps of a process as a flowchart.
Draws the steps of a process as a flowchart. Sends your data to the chart service and returns an image link.
Try: “Flowchart of our refund approval process.”
Network ·
generate_flow_diagramShows how many drop off at each stage.
Shows how many drop off at each stage. Sends your data to the chart service and returns an image link.
Try: “Funnel of visits, signups and purchases.”
Network ·
generate_funnel_chartCounts values in ranges to show their distribution.
Counts values in ranges to show their distribution. Sends your data to the chart service and returns an image link.
Try: “Histogram of order values.”
Network ·
generate_histogram_chartDraws a line of values over time.
Draws a line of values over time. Sends your data to the chart service and returns an image link.
Try: “Line chart of daily active users.”
Network ·
generate_line_chartShows one percentage as a water-filled sphere.
Shows one percentage as a water-filled sphere. Sends your data to the chart service and returns an image link.
Try: “Liquid chart for 72 percent goal completion.”
Network ·
generate_liquid_chartDraws a mind map of ideas and sub-ideas.
Draws a mind map of ideas and sub-ideas. Sends your data to the chart service and returns an image link.
Try: “Mind map of our Q3 launch plan.”
Network ·
generate_mind_mapDraws nodes and the links between them.
Draws nodes and the links between them. Sends your data to the chart service and returns an image link.
Try: “Network graph of who reports to whom.”
Network ·
generate_network_graphDraws a company or team structure.
Draws a company or team structure. Sends your data to the chart service and returns an image link.
Try: “Org chart of the engineering team.”
Network ·
generate_organization_chartDraws a route across points on a map. China only.
Draws a route across points on a map. China only. Sends your data to the chart service and returns an image link.
Try: “Path map for a three-day trip in Chengdu.”
Network ·
generate_path_mapSplits a total into slices by share.
Splits a total into slices by share. Sends your data to the chart service and returns an image link.
Try: “Pie chart of traffic by source.”
Network ·
generate_pie_chartPins points of interest on a map. China only.
Pins points of interest on a map. China only. Sends your data to the chart service and returns an image link.
Try: “Pin map of our store locations in Shanghai.”
Network ·
generate_pin_mapCompares several measures on one radar shape.
Compares several measures on one radar shape. Sends your data to the chart service and returns an image link.
Try: “Radar chart comparing three laptops.”
Network ·
generate_radar_chartShows how volume flows between nodes.
Shows how volume flows between nodes. Sends your data to the chart service and returns an image link.
Try: “Sankey of energy from source to use.”
Network ·
generate_sankey_chartPlots two variables as points to show how they relate.
Plots two variables as points to show how they relate. Sends your data to the chart service and returns an image link.
Try: “Scatter plot of ad spend against sales.”
Network ·
generate_scatter_chartShows hierarchical data as nested rectangles sized by value.
Shows hierarchical data as nested rectangles sized by value. Sends your data to the chart service and returns an image link.
Try: “Treemap of disk use by folder.”
Network ·
generate_treemap_chartShows how sets overlap.
Shows how sets overlap. Sends your data to the chart service and returns an image link.
Try: “Venn diagram of customers on plans A and B.”
Network ·
generate_venn_chartShows the shape of a distribution in more detail than a boxplot.
Shows the shape of a distribution in more detail than a boxplot. Sends your data to the chart service and returns an image link.
Try: “Violin plot of response times by server.”
Network ·
generate_violin_chartSizes words by how often they appear.
Sizes words by how often they appear. Sends your data to the chart service and returns an image link.
Try: “Word cloud of these survey comments.”
Network ·
generate_word_cloud_chartShows data as a table, or a pivot table when you give row and value fields.
Shows data as a table, or a pivot table when you give row and value fields. Sends your data to the chart service and returns an image link.
Try: “Pivot table of sales by region and quarter.”
Network ·
generate_spreadsheetShows how a starting value is changed step by step by gains and losses.
Shows how a starting value is changed step by step by gains and losses. Sends your data to the chart service and returns an image link.
Try: “Waterfall chart of our profit and loss.”
Network ·
generate_waterfall_chart
Read from the source code
Permissions
low risk · 3 things to watch · 1 advisory
Low risk
The server only draws charts, and every tool is marked read-only. It sends your chart data to an online service, so keep private numbers out of it or run your own chart service.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only modeHow to turn it on
Watch out for
Your chart data goes to an online service
By default every chart is drawn at antv-studio.alipay.com. Set VIS_REQUEST_SERVER to your own service if the data is private. github.com
Chart links are web addresses
The server returns an image URL from the service. Do not assume the link is private. github.com
Map tools work in China only
The three map tools use the AMap service and cover only China. They are not available in a private deployment. github.com
Security advisories
Technical details
| Turning on read-only | All tools are marked read-only. DISABLED_TOOLS can remove individual chart tools. |
|---|---|
| Talks to | antv-studio.alipay.com (default chart service). AMap, for the three China map tools |
| Sign-in and keys | No account or API key. An optional SERVICE_ID can be set to keep records of charts you generate. |
Questions
Is the AntV chart MCP server official?
Yes. It is published by the AntV project, the maker of the chart libraries it uses, under the antvis organization.
Does it need an API key?
No. It needs only Node.js so npx can run it. An optional SERVICE_ID lets you view a history of generated charts.
Where does my data go?
To a chart service at antv-studio.alipay.com by default. You can host your own and set VIS_REQUEST_SERVER to its address.
Can I turn off some chart types?
Yes. Set DISABLED_TOOLS to a comma-separated list of tool names to hide them from your assistant.
Do the map tools work outside China?
No. The district, path and pin map tools only support maps within China.
Can it run over HTTP instead of local mode?
Yes. The server can run over SSE or streamable HTTP on port 1122 by default, bound to localhost. The default and recommended mode is local stdio.
How do I add it to Claude or Cursor?
Use the install box above. The README lists Claude, VS Code, Cline, Cherry Studio and Cursor as supported desktop apps.
Information
updated Nov 2, 2026
- Publisher
- Official
- Package
@antv/mcp-server-chart- Registry
- npm
- Transport
- stdio, SSE, Streamable HTTP
- Auth
- None
- Version
- 1.0.0
- License
- MIT
- Last commit
- Aug 27, 2026
- Open issues
- 6
- Listed in
- Official MCP registry
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.
Show all 5Hide
- mcp-server-chart README · github.com
- mcp-server-chart charts index · github.com
- mcp-server-chart generate.ts · github.com
- mcp-server-chart env.ts · github.com
- @antv/mcp-server-chart on npm · registry.npmjs.org