MCP Server AntV is a Model Context Protocol (MCP) server that provides AI-driven support for AntV visualization libraries, delivering contextual documentation and code examples for development and QA workflows.
Key Capabilities:
- Multi-Library Support: Supports G2 (2D charts), G6 (graph/networks), and F2 (mobile charts), with upcoming support for S2, X6, L7, AVA, ADC, and G
- AntV 5.x Compatibility: Leverages the latest AntV APIs for enhanced performance and modularity
- Smart Intent Extraction: Detects library usage and task complexity via
extract_antv_topic
tool - Contextual Documentation: Fetches relevant docs, code examples, and best practices using
query_antv_document
tool - Complex Task Handling: Decomposes complex tasks into subtasks and supports iterative queries
- IDE Integration: Connects seamlessly with Cursor, VSCode, and other MCP clients
- Comprehensive Development Support: Assists with implementing features, modifying styles, refactoring code, optimizing performance, debugging errors, and exploring documentation
Provides documentation context and code examples for AntV data visualization libraries, supporting G2 (2D charts), G6 (graph/networks), and F2 (mobile charts) with tools to extract visualization intents and fetch relevant documentation for creating visualizations.
Requires Node.js >= v18.0.0 to run the MCP server environment.
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, with S2, X6, L7, and more (including AVA, ADC, and G) coming soon.
✨ 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
On Window system:
Connect to VSCode
Pasting the following configuration into your VSCode ~/.vscode/mcp.json
file is the recommended approach.
or command-line configuration
🧪 Example Workflow
An example workflow.
🧰 Tools Overview
Tool | Functionality |
---|---|
extract_antv_topic | Extract user intent, detects library (G2/G6/F2), and infers task complexity. |
query_antv_document | fetch latest documentation and code examples with context7 |
🔨 Contributing
Clone the repo
Install dependencies:
Build the server:
Start the MCP server:
📄 License
MIT@AntV.
local-only server
The server can only run on the client's local machine because it depends on local resources.
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.
Related MCP Servers
- AsecurityAlicenseAqualityA 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 -18641TypeScriptMIT License
- -securityFlicense-qualityA 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 -31TypeScript
- AsecurityFlicenseAqualityA 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 -284Python
- TypeScriptMIT License