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, 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
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.
This server cannot be installed
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 -72239TypeScriptMIT 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 -161TypeScript
- 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