Skip to content
MCP server

MCP Server Chart

A Model Context Protocol server for generating charts using AntV.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.0
Listing updated
4 days ago

About MCP Server Chart

MCP Server Chart is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-server-chart --env SERVICE_ID='<SERVICE_ID>' -- npx -y @antv/mcp-server-chart

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-server-chart": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@antv/mcp-server-chart"
      ],
      "env": {
        "SERVICE_ID": "<SERVICE_ID>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Configuration

  • VIS_REQUEST_SERVERCustom chart generation service URL for private deployment
  • SERVICE_IDService identifier for chart generation records
  • DISABLED_TOOLSComma-separated list of tool names to disable

Pricing

Open source

MCP Server Chart FAQ

Is MCP Server Chart free?

Yes. MCP Server Chart is open source, so you can use and self-host it for free.

How do I add MCP Server Chart to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-chart --env SERVICE_ID='<SERVICE_ID>' -- npx -y @antv/mcp-server-chart