{"id":"f892c943-9772-417a-baf2-2de30d6a0c17","slug":"mcp-server-antv","kind":"mcp","name":"mcp-server-antv","summary":"🧑🏻‍💻 MCP Server for @antvis visualization development, which provides documentation context and examples for visualization developers.","owner":"antvis","repoUrl":"https://github.com/antvis/mcp-server-antv","license":"MIT","licenseTier":"permissive","trust":"community","stars":40,"match":null,"fewStars":false,"format":"mcp","createdAt":"2025-07-11T01:24:55.000Z","addedAt":"2026-10-14T03:47:04.501Z","logoUrl":"https://avatars.githubusercontent.com/u/19199542?v=4","linkOnly":false,"collection":null,"skillPath":null,"categories":["cloud-infra","data-analytics","memory-knowledge"],"tags":["antv","development","visualization"],"runtime":"node","local":true,"cloudCapable":false,"cloudCapability":"unknown","cloudReadyOnPlatform":false,"needsApiKey":false,"reviewed":false,"syncedAt":"2026-10-15T03:19:34.532Z","sample":false,"url":"https://conduits.dev/tools/mcp-server-antv","language":"TypeScript","transports":["stdio"],"install":{"npm":"@antv/mcp-server-antv"},"requirements":{"env":[],"upstreamMayCharge":false},"tools":null,"readme":"# MCP Server AntV ![](https://badge.mcpx.dev?type=server 'MCP Server') [![npm Version](https://img.shields.io/npm/v/@antv/mcp-server-antv.svg)](https://www.npmjs.com/package/@antv/mcp-server-antv) [![smithery badge](https://smithery.ai/badge/@antvis/mcp-server-antv)](https://smithery.ai/server/@antvis/mcp-server-antv) [![npm License](https://img.shields.io/npm/l/@antv/mcp-server-antv.svg)](https://www.npmjs.com/package/@antv/mcp-server-antv)\n\n> A **Model Context Protocol (MCP)** server designed for AI development and QA that provides **AntV** documentation context and code examples using the latest APIs.\n\n<img width=\"768\" alt=\"mcp-server-antv Technical Architecture\" src=\"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*WHSOR7L8U0YAAAAATjAAAAgAemJ7AQ/fmt.webp\" />\n\nSupports **G2**, **G6**, and **F2** libraries for declarative visualization workflows, with **S2**, **X6**, **L7**, and more (including **AVA**, **ADC**, and **G**) coming soon.\n\n## ✨ Features\n\n- ✅ **AntV 5.x Compatibility**: Leverages the latest APIs for performance and modularity.\n- 🧩 **Multi-Library Support**: G2 (2D charts), G6 (graph/networks), and F2 (mobile charts).\n- 🔍 **Smart Intent Extraction**: Detects library usage and task complexity via `extract_antv_topic`.\n- 📚 **Contextual Documentation**: Fetches relevant AntV docs and code snippets with `query_antv_document`.\n\n## 🛠️ Quick Start\n\n### Requirements\n\n- Node.js >= v18.0.0\n- Cursor, VSCode, Cline, Claude Desktop or another MCP Client.\n\n### Connect to Cursor\n\n[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=mcp-server-antv&config=eyJjb21tYW5kIjoibnB4IC15IEBhbnR2L21jcC1zZXJ2ZXItYW50diJ9)\n\nGo to: `Settings` -> `Cursor Settings` -> `MCP` -> `Add new global MCP server`\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-server-antv\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@antv/mcp-server-antv\"]\n    }\n  }\n}\n```\n\nOn Window system:\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-server-antv\": {\n      \"command\": \"cmd\",\n      \"args\": [\"/c\", \"npx\", \"-y\", \"@antv/mcp-server-antv\"]\n    }\n  }\n}\n```\n\n### Connect to VSCode\n\n[![Install in VSCode](https://img.shields.io/badge/Install%20in-VSCode-2C2C2C?style=for-the-badge&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%22%3A%22mcp-server-antv%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40antv%2Fmcp-server-antv%22%5D%7D)\n\nPasting the following configuration into your VSCode `~/.vscode/mcp.json` file is the recommended approach.\n\n```json\n{\n  \"servers\": {\n    \"mcp-server-antv\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@antv/mcp-server-antv\"]\n    }\n  }\n}\n```\n\nor command-line configuration\n\n```bash\ncode --add-mcp \"{\\\"name\\\":\\\"mcp-server-antv\\\",\\\"command\\\": \\\"npx\\\",\\\"args\\\": [\\\"-y\\\",\\\"@antv/mcp-server-antv\\\"]}\"\n```\n\n## 🧪 Example Workflow\n\nAn example workflow:\n\n<video src=\"https://github.com/user-attachments/assets/242471c6-33f5-4588-95f5-96a3f26aab21\" ></video>\n\n## 🧰 Tools Overview\n\n| Tool                  | Functionality                                                                |\n| --------------------- | ---------------------------------------------------------------------------- |\n| `extract_antv_topic`  | Extract user intent, detects library (G2/G6/F2), and infers task complexity. |\n| `query_antv_document` | fetch latest documentation and code examples with context7                   |\n\n## 🔨 Contributing\n\nClone the repo\n\n```bash\ngit clone https://github.com/antvis/mcp-server-chart.git\ncd mcp-server-chart\n```\n\nInstall dependencies:\n\n```bash\nnpm install\n```\n\nBuild the server:\n\n```bash\nnpm run build\n```\n\nStart the MCP server:\n\n```bash\nnpm run start\n```\n\n## 📄 License\n\nMIT@[AntV](https://github.com/antvis).\n"}