Data as of

MCP Server Chart for Claude Code: Setup & Config

Claude Code: Generate charts, diagrams, maps, and tabular views from an AI assistant using AntV.

What you can do with MCP Server Chart in Claude Code

Choose a broad AntV visualization toolkit with tables, diagrams, and configurable rendering.

  • Create flow diagrams, organization charts, and relationship graphs.
  • Render tables or pivot tables for summaries.
  • Generate supported China-focused geographic visualizations.

Before you start: MCP Server Chart in Claude Code

  • Node.js with npx for local execution
  • An MCP-compatible client

The README gives this desktop stdio configuration. Windows uses a cmd /c wrapper. Optional environment settings support private rendering, generation records, and disabled tools.

MCP Server Chart Claude Code configuration

  1. Choose Claude Code configuration scope

    For MCP Server Chart, open Project scope: .mcp.json at the repository root. Project JSON: merge into mcpServers; user scope: use the CLI.

  2. Add MCP Server Chart to Claude Code

    Use the mcp-server-chart entry below in mcpServers. Keep MCP Server Chart's documented stdio connection fields and your other Claude Code entries.

  3. Check MCP Server Chart in Claude Code

    MCP Server Chart: Inspect claude mcp list and /mcp status.

Config file · Project scope: .mcp.json at the repository root

JSON
{
  "mcpServers": {
    "mcp-server-chart": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@antv/mcp-server-chart"
      ],
      "env": {}
    }
  }
}

CLI (POSIX shell)
claude mcp add-json --scope project 'mcp-server-chart' '{"type":"stdio","command":"npx","args":["-y","@antv/mcp-server-chart"],"env":{}}'

MCP Server Chart tools available to Claude Code

MCP Server Chart's stored tool list documents 27 tools; compare it with Claude Code's connected tool list, because the stored list is not a live check.

generate_area_chart

For MCP Server Chart's generate_area_chart, review the permission request and arguments in Claude Code before approval.

generate_bar_chart

For MCP Server Chart's generate_bar_chart, review the permission request and arguments in Claude Code before approval.

generate_boxplot_chart

For MCP Server Chart's generate_boxplot_chart, review the permission request and arguments in Claude Code before approval.

Summarize distributions using medians, quartiles, and outliers.

generate_column_chart

For MCP Server Chart's generate_column_chart, review the permission request and arguments in Claude Code before approval.

Compare category values with vertical columns.

generate_district_map

For MCP Server Chart's generate_district_map, review the permission request and arguments in Claude Code before approval.

Visualize values across administrative regions within supported map coverage.

generate_dual_axes_chart

For MCP Server Chart's generate_dual_axes_chart, review the permission request and arguments in Claude Code before approval.

Combine series with different units or scales in one chart.

generate_fishbone_diagram

For MCP Server Chart's generate_fishbone_diagram, review the permission request and arguments in Claude Code before approval.

Organize possible causes around a central problem.

generate_flow_diagram

For MCP Server Chart's generate_flow_diagram, review the permission request and arguments in Claude Code before approval.

Show process steps and decision paths.

generate_funnel_chart

For MCP Server Chart's generate_funnel_chart, review the permission request and arguments in Claude Code before approval.

Illustrate how values decrease across successive stages.

generate_histogram_chart

For MCP Server Chart's generate_histogram_chart, review the permission request and arguments in Claude Code before approval.

generate_line_chart

For MCP Server Chart's generate_line_chart, review the permission request and arguments in Claude Code before approval.

generate_liquid_chart

For MCP Server Chart's generate_liquid_chart, review the permission request and arguments in Claude Code before approval.

generate_mind_map

For MCP Server Chart's generate_mind_map, review the permission request and arguments in Claude Code before approval.

generate_network_graph

For MCP Server Chart's generate_network_graph, review the permission request and arguments in Claude Code before approval.

generate_organization_chart

For MCP Server Chart's generate_organization_chart, review the permission request and arguments in Claude Code before approval.

Represent an organization's reporting hierarchy.

generate_path_map

For MCP Server Chart's generate_path_map, review the permission request and arguments in Claude Code before approval.

generate_pie_chart

For MCP Server Chart's generate_pie_chart, review the permission request and arguments in Claude Code before approval.

generate_pin_map

For MCP Server Chart's generate_pin_map, review the permission request and arguments in Claude Code before approval.

generate_radar_chart

For MCP Server Chart's generate_radar_chart, review the permission request and arguments in Claude Code before approval.

generate_sankey_chart

For MCP Server Chart's generate_sankey_chart, review the permission request and arguments in Claude Code before approval.

generate_scatter_chart

For MCP Server Chart's generate_scatter_chart, review the permission request and arguments in Claude Code before approval.

generate_treemap_chart

For MCP Server Chart's generate_treemap_chart, review the permission request and arguments in Claude Code before approval.

Represent hierarchical values using nested rectangles.

generate_venn_chart

For MCP Server Chart's generate_venn_chart, review the permission request and arguments in Claude Code before approval.

Show overlaps and distinctions between sets.

generate_violin_chart

For MCP Server Chart's generate_violin_chart, review the permission request and arguments in Claude Code before approval.

Compare category distributions with density-shaped statistical plots.

generate_waterfall_chart

For MCP Server Chart's generate_waterfall_chart, review the permission request and arguments in Claude Code before approval.

Show how sequential positive and negative changes produce a final value.

generate_word_cloud_chart

For MCP Server Chart's generate_word_cloud_chart, review the permission request and arguments in Claude Code before approval.

Size words according to their frequency or weight.

generate_spreadsheet

For MCP Server Chart's generate_spreadsheet, review the permission request and arguments in Claude Code before approval.

Render a regular table, or a pivot table when grouping or value fields are supplied.

MCP Server Chart: full stored tool descriptions

Troubleshooting MCP Server Chart in Claude Code

  • If MCP Server Chart fails to start, check npx @antv/mcp-server-chart (Node.js/npm), the working directory, and Claude Code's selected scope; inspect claude mcp list and /mcp.
  • MCP Server Chart uses stdio here: Claude Code must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
  • Known limitation: Geographic generation is limited to China.
  • Known limitation: The private rendering option does not support geographic tools.
  • Known limitation: Generation history requires optional service-identifier setup; otherwise results must be saved manually.
  • General Claude Code troubleshooting lives in the /clients/claude-code guide.

MCP Server Chart — details. Claude Code guide

Frequently asked questions

Register MCP Server Chart with the displayed claude mcp add-json --scope project command, or merge the JSON into .mcp.json at the repository root.

Claude Code's mcp-server-chart example uses stdio.

MCP Server Chart's Claude Code configuration invokes npx @antv/mcp-server-chart (Node.js/npm).

MCP Server Chart's stored list contains 27 tools, including generate_area_chart, generate_bar_chart, generate_boxplot_chart. Compare those names with Claude Code's connected tool list; the stored list is not a live check.

Yes. The catalog includes process diagrams, mind maps, organization charts, network graphs, geographic views, and spreadsheets.

Yes. DISABLED_TOOLS accepts comma-separated tool names to remove selected generators from the interface.