MCP Server Chart logo

MCP Server Chart

by antv

Generates 26+ AntV chart types and pivot-style tables through MCP tools for visualization and data analysis.

Install MCP Server Chart

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "antv-mcp-server-chart": {
      "command": "npx",
      "args": [
        "-y",
        "@antv/mcp-server-chart"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 27 tools correctly (1mo ago).

Overview

antv/mcp-server-chart MCP server exposes AntV chart generation through Model Context Protocol tools. It supports more than 26 visualizations, including common statistical, relational, geographic, hierarchical, and diagram formats, plus spreadsheets or pivot tables. Run it locally over stdio with npm, or use SSE and Streamable HTTP transports for network access. Reach for it when an AI client needs to turn supplied data into charts or structured visualizations rather than query a data source.

Use cases

  • Generate charts from agent-provided datasets
  • Compare categories with bar or column charts
  • Inspect distributions with histograms or boxplots
  • Render geographic data within China
  • Create pivot tables from tabular data

Key features

  • Supports 26+ chart and diagram types
  • Generates spreadsheets and pivot tables
  • Provides stdio, SSE, and Streamable transports
  • Uses AntV for chart rendering
  • Includes China-focused geographic visualizations

Tools27

What MCP Server Chart lets your agent do. Expand a tool for its parameters.

Verified live~14.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

28/28 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 1

Scanned 9h ago via OSV.dev · @antv/mcp-server-chart (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4.4kStargazers on the source repository.
npm downloads29kPackage downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed27Callable tools this server registers over MCP.
Directory activity11 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Server Chart works

What antv/mcp-server-chart MCP server does

antv/mcp-server-chart MCP server lets MCP-compatible AI applications request charts and other visual representations from supplied data. It is implemented in TypeScript and uses AntV for rendering. The repository describes chart generation and data analysis as its primary use cases, so it fits workflows where an agent must select or produce a visualization from a dataset or a visualization request.

The package also includes a spreadsheet generator. Depending on the supplied fields, that tool can render a regular table or a pivot-style cross-tabulation. Geographic tools are included for administrative regions, points of interest, and routes, but their geographic coverage is currently limited to China.

How it works

The server exposes separate MCP tools for individual visualization types. A client can call tools such as generate_bar_chart, generate_line_chart, or generate_scatter_chart, depending on the required representation. The available tools cover comparison, trends, distributions, proportions, relationships, flows, hierarchies, and process diagrams.

It can run with MCP stdio transport for local desktop clients. It also supports SSE and Streamable transports for an HTTP-accessible deployment. The documented local SSE endpoint is /sse on port 1122, while the Streamable endpoint is /mcp on the same port when launched directly with the corresponding transport option.

Setup and configuration

For a local stdio configuration, run the npm package with npx -y @antv/mcp-server-chart. Windows configurations use cmd /c before the same npx invocation.

For an HTTP-style deployment, install the package globally with npm and start the CLI using --transport sse or --transport streamable. SSE is documented at http://localhost:1122/sse; Streamable transport is documented at http://localhost:1122/mcp. A Docker Compose deployment is also described in the repository's docker directory, with its own documented local endpoints.

Tools and capabilities

The listed capabilities include:

  • Area, bar, column, dual-axis, line, pie, radar, and funnel charts
  • Boxplot, histogram, violin, scatter, liquid, and word-cloud visualizations
  • Treemaps, Sankey diagrams, Venn diagrams, network graphs, and mind maps
  • Organization, flow, and fishbone diagrams
  • District maps, path maps, and pin maps
  • Regular spreadsheets and pivot-style tables

The geographic chart tools use the AMap service and are intended for data within China. An optional chart-visualization skill is documented separately for AI IDEs that support skills; it can help select among the chart types, but it is not the MCP server itself.

Limitations and notes

The repository does not describe this server as a database connector or data-ingestion system. Data must therefore come from the MCP client or another part of the agent workflow. The documented client examples cover Claude, VSCode, Cline, Cherry Studio, and Cursor, while other clients may require their own MCP configuration format.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Server Chart

Run it through npx with `npx -y @antv/mcp-server-chart`, or install it globally with `npm install -g @antv/mcp-server-chart` for direct CLI use.

Yes. The README provides a desktop MCP configuration example and lists Claude among the supported desktop applications.

It lists more than 26 tools covering charts such as bar, line, pie, scatter, histogram, radar, Sankey, treemap, network, and geographic maps, along with diagrams and spreadsheets.

Yes. The CLI supports `--transport sse` and `--transport streamable`. Direct local endpoints are documented as `/sse` and `/mcp` on port 1122.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Server Chart AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/antv-mcp-server-chart?style=directory)](https://allmcps.com/mcp/antv-mcp-server-chart)
HTML Embed
<a href="https://allmcps.com/mcp/antv-mcp-server-chart"><img src="https://allmcps.com/api/badge/antv-mcp-server-chart?style=directory" alt="MCP Server Chart on AllMCPs" /></a>