PlugWiki
AntV Chart MCP Server logo

AntV Chart MCP Server: Setup for Claude, Cursor and More

OfficialLocal
Getnpm@antv/mcp-server-chartantvis/mcp-server-chart

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.

Install AntV Chart MCP

Claude Code

  1. 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. 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_chart

  • Draws 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_chart

  • Shows 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_chart

  • Draws 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_chart

  • Shades 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_map

  • Plots 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_chart

  • Lays 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_diagram

  • Draws 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_diagram

  • Shows 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_chart

  • Counts 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_chart

  • Draws 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_chart

  • Shows 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_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

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-onlyAll tools are marked read-only. DISABLED_TOOLS can remove individual chart tools.
Talks toantv-studio.alipay.com (default chart service). AMap, for the three China map tools
Sign-in and keysNo 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

GitHubnpmOfficial MCP RegistryChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 5
  1. mcp-server-chart README · github.com
  2. mcp-server-chart charts index · github.com
  3. mcp-server-chart generate.ts · github.com
  4. mcp-server-chart env.ts · github.com
  5. @antv/mcp-server-chart on npm · registry.npmjs.org

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.