The MCP Server Chart is a TypeScript-based tool for generating various types of charts using AntV. With this server, you can:
- Generate 15+ chart types including line, column, pie, area, bar, dual-axes, fishbone diagram, flow diagram, histogram, mind map, network graph, radar, scatter, treemap, and word cloud charts
- Generate chart images and receive an image URL for the created visualization
- Use it with MCP-compatible Desktop Applications via
npx
command configuration - Access it on cloud platforms like Aliyun, ModelScope, glama.ai, and smithery.ai via HTTP or SSE protocols
- Run it locally using SSE transport
- Deploy privately by configuring a custom visualization request server
Provides chart generation capabilities using AntV visualization libraries, supporting line, column, pie, and area chart creation with returned URLs to the generated charts.
MCP Server Chart
A Model Context Protocol server for generating charts using AntV.
This is a TypeScript-based MCP server that provides chart generation capabilities. It allows you to create various types of charts through MCP tools.
✨ Features
Now 15+ charts supported.
generate_area_chart
- Generate aarea
chart, and return an image URL.generate_bar_chart
- Generate abar
chart, and return an image URL.generate_column_chart
- Generate acolumn
chart, and return an image URL.generate_dual_axes_chart
- Generate adual-axes
chart, and return an image URL.generate_fishbone_diagram
- Generate afishbone-diagram
chart, and return an image URL.generate_flow_diagram
- Generate aflow-diagram
chart, and return an image URL.generate_histogram_chart
- Generate ahistogram
chart, and return an image URL.generate_line_chart
- Generate aline
chart, and return an image URL.generate_mind_map
- Generate amind-map
chart, and return an image URL.generate_network_graph
- Generate anetwork-graph
chart, and return an image URL.generate_pie_chart
- Generate apie
chart, and return an image URL.generate_radar_chart
- Generate aradar
chart, and return an image URL.generate_scatter_chart
- Generate ascatter
chart, and return an image URL.generate_treemap_chart
- Generate atreemap
chart, and return an image URL.generate_word_cloud_chart
- Generate aword-cloud
chart, and return an image URL.
🤖 Usage
To use with Desktop APP
, such as Claude, VSCode, Cline, Cherry Studio, and so on, add the MCP server config below. On Mac system:
On Window system:
Also, you can use it on aliyun, modelscope, glama.ai, smithery.ai or others with HTTP, SSE Protocol.
🚰 Run with SSE or Streamable transport
Install the package globally.
Run the server with your preferred transport option:
Then you can access the server at:
- SSE transport:
http://localhost:1122/sse
- Streamable transport:
http://localhost:1122/mcp
🎮 CLI Options
You can also use the following CLI options when running the MCP server. Command options by run cli with -h
.
📠 Private Deployment
MCP Server Chart
provides a free chart generation service by default. For users with a need for private deployment, they can try using VIS_REQUEST_SERVER
to customize their own chart generation service.
You can use AntV's project GPT-Vis-SSR to deploy an HTTP service in a private environment, and then pass the URL address through env VIS_REQUEST_SERVER
.
🔨 Development
Install dependencies:
Build the server:
Start the MCP server:
📄 License
MIT@AntV.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
🤖 A Model Context Protocol server for generating 15+ visual charts using AntV.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server for generating customizable data visualizations using QuickChart.io, supporting multiple chart types and Chart.js configuration.Last updated -2419129JavaScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that generates TradingView chart visualizations with real-time updates, enabling AI assistants to create and display financial charts through an integration with Chart-IMG API.Last updated -526TypeScript
- -securityFlicense-qualityThis Model Context Protocol (MCP) server provides powerful visualization tools using QuickChart.io APIs. With this MCP, AI assistants can create charts, diagrams, barcodes, QR codes, word clouds, tables, and more.Last updated -23TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server that generates lightweight ASCII charts directly in terminal environments, supporting line charts, bar charts, scatter plots, histograms, and sparklines without GUI dependencies.Last updated -54TypeScriptMIT License