Skip to content
Skillpedia
βœ“ Official Β· AntV● Free and open sourceπŸ’» LocalπŸ”“ No API keyData and databases

MCP Server Chart

Lets your AI agent generate more than 25 kinds of charts, maps and diagrams from your data using AntV.

4.4k stars on GitHubby AntVLicense MITUpdated 3 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add chart -- npx -y @antv/mcp-server-chart

What to fill in

NameWhat it isRequired
VIS_REQUEST_SERVERCustom chart generation service URL for private deploymentNo
SERVICE_IDService identifier for chart generation recordsNo
DISABLED_TOOLSComma-separated list of tool names to disableNo

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Make a line chart of my monthly sales from this table.
Draw a flowchart of our customer sign-up process.

What it is

This server connects your agent to AntV chart generation. You give it data or describe what you want, and it creates a chart such as a line, bar, pie, funnel, mind map or flowchart. By default it uses a free chart service run by AntV, and you can point it at your own service.

What it can do

  • generate_line_chart: show a trend over time
  • generate_bar_chart and generate_column_chart: compare categories
  • generate_pie_chart: show proportions
  • generate_flow_diagram: draw the steps of a process
  • generate_mind_map: show hierarchical ideas
  • generate_sankey_chart: show how volume flows between nodes
  • generate_word_cloud_chart: show word frequency
  • generate_spreadsheet: show a table or pivot table

When to use

  • β€ΊWhen you have a table of numbers and want a quick chart for a report.
  • β€ΊWhen you need a flowchart, org chart or mind map made from a short description.
  • β€ΊWhen you want your AI agent to analyze data and show the result as a picture.

What you need

Nothing besides Node.js, since it runs with npx. An optional service ID and a private chart server URL are only needed for records or private deployment.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

The readme says it provides a free chart generation service by default. The server itself is open source.

Do I need an API key?

No. A service ID is optional and only used to view chart generation records.

How many chart types are there?

The readme says it supports 26+ charts, including area, bar, boxplot, funnel, histogram, radar, treemap, venn and violin charts.

Can I run it privately?

Yes. Set the VIS_REQUEST_SERVER variable to your own chart service, for example one deployed with AntV's GPT-Vis-SSR.

Do the map charts work everywhere?

No. The map tools use the AMap service and only support maps within China. They are not supported in private deployment.

Can I turn some charts off?

Yes. Use the DISABLED_TOOLS variable with a comma-separated list of tool names.

If it does not work

  • β€ΊOn Windows, use the cmd /c npx configuration shown in the readme.
  • β€ΊAfter changing the config, restart your AI client fully and check that the server connected.
  • β€ΊIf chart generation fails in a private setup, check that VIS_REQUEST_SERVER points to a working service.

5 new skills a week. 1 minute to read.