MCP Server Chart

by @antvis

Chart MCP Server

Generate charts, diagrams, maps, and tabular views from an AI assistant using AntV. The TypeScript MCP server supports desktop clients, network transports, and an optional private rendering service.

Data & Analytics4,401nodeMIT

Server facts

MCP Server Chart

GitHub stars

4,401

Last commit

Aug 27, 2026

Runtime

node

License

MIT

Tech

Runtime
nodeTypeScript
Transports
stdio
Remote access
No

Activity

GitHub stars
4,401
Last commit
Data as of

Tags

  • Antv
  • Charts
  • Data Visualization
  • Diagrams
  • Pivot Tables

Overview

MCP Server Chart brings AntV visualization generation into assistant workflows. Its tool catalog covers familiar line, bar, column, area, pie, and scatter charts alongside statistical distributions, funnels, Sankey flows, treemaps, and radar views. Diagram tools represent processes, organizational structures, causes, and relationships. A spreadsheet tool renders ordinary tables or pivot tables depending on the supplied fields. Geographic tools add district distributions, point locations, and routes, although the README limits their map coverage to China through AMap.

The server is implemented in TypeScript and can be launched with npx for a local desktop client. Stdio is the default, while SSE and Streamable HTTP support network connections; Docker deployment is also documented. Rendering uses a free chart service by default. Users needing private processing can point the server to a separate rendering service through VIS_REQUEST_SERVER, with GPT-Vis-SSR offered as a deployment option. That private rendering path does not currently support the three geographic visualization tools. Tool filtering lets users disable selected chart generators, which can reduce the exposed surface or work around client compatibility problems. Generation history is another optional service configured with a service identifier. Without that setup, the README says users need to save their own results. These choices distinguish rendering configuration from the assistant-facing tool interface.

Install & configure

Requirements

  • Node.js with npx for local execution
  • An MCP-compatible client
Documented launch / install command
npx -y @antv/mcp-server-chart

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

Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Desktop configuration
{
  "mcpServers": {
    "mcp-server-chart": {
      "command": "npx",
      "args": [
        "-y",
        "@antv/mcp-server-chart"
      ],
      "env": {}
    }
  }
}

Read the Claude Desktop setup guide

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.

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

Read the Cursor setup guide

Config file · Workspace: .vscode/mcp.json

For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.

VS Code configuration
{
  "servers": {
    "mcp-server-chart": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@antv/mcp-server-chart"
      ],
      "env": {}
    }
  }
}

Read the VS Code setup guide

Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json

Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.

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

Read the Windsurf setup guide

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

The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.

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

Read the Claude Code setup guide

Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.

Tools

Source: repository tool metadata. Tool descriptions are a documented snapshot, not a live capability check.

ToolWhat it does
generate_area_chartRender a filled trend chart for values over a continuous axis.
generate_bar_chartCompare category values with horizontal bars.
generate_boxplot_chartSummarize distributions using medians, quartiles, and outliers.
generate_column_chartCompare category values with vertical columns.
generate_district_mapVisualize values across administrative regions within supported map coverage.
generate_dual_axes_chartCombine series with different units or scales in one chart.
generate_fishbone_diagramOrganize possible causes around a central problem.
generate_flow_diagramShow process steps and decision paths.
generate_funnel_chartIllustrate how values decrease across successive stages.
generate_histogram_chartDisplay the frequency of observations grouped into intervals.
generate_line_chartPlot changing values across time or another continuous dimension.
generate_liquid_chartShow a percentage as a liquid-style fill indicator.
generate_mind_mapArrange a central topic and its subtopics in branching form.
generate_network_graphVisualize entities and the connections between them.
generate_organization_chartRepresent an organization's reporting hierarchy.
generate_path_mapPlot a planned route across supported map locations.
generate_pie_chartShow how categories contribute to a whole.
generate_pin_mapMark the positions and distribution of locations on a map.
generate_radar_chartCompare multiple dimensions using a radial layout.
generate_sankey_chartShow flows and their magnitudes between stages or categories.
generate_scatter_chartPlot paired variables to inspect association and data patterns.
generate_treemap_chartRepresent hierarchical values using nested rectangles.
generate_venn_chartShow overlaps and distinctions between sets.
generate_violin_chartCompare category distributions with density-shaped statistical plots.
generate_waterfall_chartShow how sequential positive and negative changes produce a final value.
generate_word_cloud_chartSize words according to their frequency or weight.
generate_spreadsheetRender a regular table, or a pivot table when grouping or value fields are supplied.

Use cases

  • Generate comparison and trend charts from structured data.
  • Visualize distributions with histograms, boxplots, or violin plots.
  • Create flow diagrams, organization charts, and relationship graphs.
  • Render tables or pivot tables for summaries.
  • Generate supported China-focused geographic visualizations.

Strengths

  • Provides a wide range of chart, diagram, and table tools.
  • Supports stdio, SSE, and Streamable HTTP.
  • Allows private rendering service configuration and selective tool disabling.

Limitations

  • Geographic generation is limited to China.
  • The private rendering option does not support geographic tools.
  • Generation history requires optional service-identifier setup; otherwise results must be saved manually.

MCP Server Chart setup notes

  • MCP Server Chart's stdio example needs a client that launches local processes.

Frequently asked questions

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

Related MCP servers