AntV Visualization Libraries▌

by antvis
Discover AntV Visualization Libraries for smart documentation, code examples, and best practices in g2, g6, l7, x6, f2,
Integrates with AntV's visualization ecosystem to provide intelligent documentation retrieval, code examples, and best practices for g2, g6, l7, x6, f2, and s2 libraries through query preprocessing and context-aware assistance.
best for
- / Frontend developers building data visualizations
- / Teams working with AntV chart libraries
- / Learning AntV APIs and implementation patterns
capabilities
- / Extract intent from AntV-related queries
- / Retrieve documentation for G2, G6, L7, X6, F2, S2 libraries
- / Fetch code examples and best practices
- / Process visualization library queries intelligently
what it does
Provides intelligent documentation retrieval and code examples for AntV's visualization libraries including G2, G6, L7, X6, F2, and S2. Helps developers quickly find relevant docs and best practices through context-aware assistance.
about
AntV Visualization Libraries is an official MCP server published by antvis that provides AI assistants with tools and capabilities via the Model Context Protocol. Discover AntV Visualization Libraries for smart documentation, code examples, and best practices in g2, g6, l7, x6, f2, It is categorized under ai ml, developer tools. This server exposes 2 tools that AI clients can invoke during conversations and coding sessions.
how to install
You can install AntV Visualization Libraries in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
AntV Visualization Libraries is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
MCP Server AntV

<img width="768" alt="mcp-server-antv Technical Architecture" src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*WHSOR7L8U0YAAAAATjAAAAgAemJ7AQ/fmt.webp" />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
{
"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:
<video src="https://github.com/user-attachments/assets/242471c6-33f5-4588-95f5-96a3f26aab21" ></video>
🧰 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
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.
FAQ
- What is the AntV Visualization Libraries MCP server?
- AntV Visualization Libraries is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for AntV Visualization Libraries?
- This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
Ratings
4.5★★★★★10 reviews- ★★★★★Shikha Mishra· Oct 10, 2024
AntV Visualization Libraries is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Piyush G· Sep 9, 2024
We evaluated AntV Visualization Libraries against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Chaitanya Patil· Aug 8, 2024
Useful MCP listing: AntV Visualization Libraries is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Sakshi Patil· Jul 7, 2024
AntV Visualization Libraries reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Ganesh Mohane· Jun 6, 2024
I recommend AntV Visualization Libraries for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Oshnikdeep· May 5, 2024
Strong directory entry: AntV Visualization Libraries surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Dhruvi Jain· Apr 4, 2024
AntV Visualization Libraries has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Rahul Santra· Mar 3, 2024
According to our notes, AntV Visualization Libraries benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Pratham Ware· Feb 2, 2024
We wired AntV Visualization Libraries into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Yash Thakker· Jan 1, 2024
AntV Visualization Libraries is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.