Skip to main content
Glama

MCP Server Chart

Official
Integrations
  • 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 a area chart, and return an image URL.
  • generate_bar_chart - Generate a bar chart, and return an image URL.
  • generate_column_chart - Generate a column chart, and return an image URL.
  • generate_dual_axes_chart - Generate a dual-axes chart, and return an image URL.
  • generate_fishbone_diagram - Generate a fishbone-diagram chart, and return an image URL.
  • generate_flow_diagram - Generate a flow-diagram chart, and return an image URL.
  • generate_histogram_chart - Generate a histogram chart, and return an image URL.
  • generate_line_chart - Generate a line chart, and return an image URL.
  • generate_mind_map - Generate a mind-map chart, and return an image URL.
  • generate_network_graph - Generate a network-graph chart, and return an image URL.
  • generate_pie_chart - Generate a pie chart, and return an image URL.
  • generate_radar_chart - Generate a radar chart, and return an image URL.
  • generate_scatter_chart - Generate a scatter chart, and return an image URL.
  • generate_treemap_chart - Generate a treemap chart, and return an image URL.
  • generate_word_cloud_chart - Generate a word-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:

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

On Window system:

{ "mcpServers": { "mcp-server-chart": { "command": "cmd", "args": [ "/c", "npx", "-y", "@antv/mcp-server-chart" ] } } }

Also, you can use it on aliyun, modelscope, glama.ai, smithery.ai or others with HTTP, SSE Protocol.

Run with SSE transport

Install the package globally.

npm install -g @antv/mcp-server-chart

Run the server with sse transport.

mcp-server-chart --transport sse

Then you can use the http://localhost:1122/sse with SSE transport.

CLI Options

You can also use the following CLI options when running the MCP server. Command options by run cli with -h.

MCP Server Chart CLI Options: --transport, -t Specify the transport protocol: "stdio" or "sse" (default: "stdio") --port, -p Specify the port for SSE transport (default: 1122) --endpoint, -e Specify the endpoint for SSE transport (default: "/sse") --help, -h Show this help message

📠 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.

{ "mcpServers": { "mcp-server-chart": { "command": "npx", "args": [ "-y", "@antv/mcp-server-chart" ], "env": { "VIS_REQUEST_SERVER": "<YOUR_VIS_REQUEST_SERVER>" } } } }

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:

npm install

Build the server:

npm run build

Start the MCP server:

npm run start

📄 License

MIT@AntV.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

🤖 A Model Context Protocol server for generating 15+ visual charts using AntV.

  1. ✨ Features
    1. 🤖 Usage
      1. Run with SSE transport
        1. CLI Options
          1. 📠 Private Deployment
            1. 🔨 Development
              1. 📄 License

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  MCP for working with GraphQL servers.
                  Last updated -
                  2
                  263
                  160
                  TypeScript
                  MIT License
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  An MCP server for generating customizable data visualizations using QuickChart.io, supporting multiple chart types and Chart.js configuration.
                  Last updated -
                  2
                  1,574
                  80
                  JavaScript
                  MIT License
                  • Apple

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/antvis/mcp-server-chart'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server