Skip to main content
Glama

MCP Server AntV

by antvis
MIT License
9
9

MCP Server AntV

A Model Context Protocol (MCP) server designed for AI development and QA that provides AntV documentation context and code examples using the latest APIs.

Supports G2, G6, and F2 libraries for declarative visualization workflows, and S2, X6, and L7 on the way~

✨ Features

  • AntV 5.x Compatibility: Leverages the latest APIs for performance and modularity.
  • 🧩 Multi-Library Support: G2 (2D charts), G6 (graph/networks), and F2 (mobile charts).
  • 🔍 Smart Intent Extraction: Detects library usage and task complexity via extract_antv_topic.
  • 📚 Contextual Documentation: Fetches relevant AntV docs and code snippets with query_antv_document.

🛠️ Quick Start

Requirements

  • Node.js >= v18.0.0
  • Cursor, VSCode, Cline, Claude Desktop or another MCP Client.

Connect to Cursor

Go to: Settings -> Cursor Settings -> MCP -> Add new global MCP server

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

On Window system:

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

Connect to VSCode

Pasting the following configuration into your VSCode ~/.vscode/mcp.json file is the recommended approach.

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

or command-line configuration

code --add-mcp "{\"name\":\"mcp-server-antv\",\"command\": \"npx\",\"args\": [\"-y\",\"@antv/mcp-server-antv\"]}"

🧪 Example Workflow

An example workflow.

🧰 Tools Overview

ToolFunctionality
extract_antv_topicExtract user intent, detects library (G2/G6/F2), and infers task complexity.
query_antv_documentfetch latest documentation and code examples with context7

🔨 Contributing

Clone the repo

git clone https://github.com/antvis/mcp-server-chart.git cd mcp-server-chart

Install dependencies:

npm install

Build the server:

npm run build

Start the MCP server:

npm run start

📄 License

MIT@AntV.

-
security - not tested
A
license - permissive license
-
quality - not tested

A Model Context Protocol server that provides AntV visualization library documentation and code examples to AI assistants, supporting G2, G6, and F2 libraries for data visualization workflows.

  1. ✨ Features
    1. 🛠️ Quick Start
      1. Requirements
      2. Connect to Cursor
      3. Connect to VSCode
    2. 🧪 Example Workflow
      1. 🧰 Tools Overview
        1. 🔨 Contributing
          1. 📄 License

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that allows AI assistants to interact with the VRChat API, enabling retrieval of user information, friends lists, and other VRChat data through a standardized interface.
              Last updated -
              7
              22
              39
              TypeScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
              Last updated -
              16
              1
              TypeScript
            • A
              security
              F
              license
              A
              quality
              A comprehensive Model Context Protocol server for advanced code analysis that provides tools for syntax analysis, dependency visualization, and AI-assisted development workflow support.
              Last updated -
              28
              4
              Python
            • A
              security
              A
              license
              A
              quality
              mcp-server-chart
              Last updated -
              25
              4,065
              2,128
              TypeScript
              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-antv'

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