Get the FREE Ultimate OpenClaw Setup Guide β†’

mcp -antv

πŸ§‘πŸ»β€πŸ’» MCP Server for @antvis visualization development, which provides documentation context and examples for visualization developers.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio antvis-mcp-server-antv npx -y @antv/mcp-server-antv

How to use

This MCP server provides AntV-related documentation context and code examples, enabling AI workflows for AntV libraries such as G2, G6, and F2. It exposes tools like extract_antv_topic to detect user intent and task complexity across AntV libraries, and query_antv_document to fetch relevant docs and code snippets with contextual relevance. After starting the server, you can query it through your MCP client to get targeted guidance, examples, and documentation tailored to AntV topics and tasks.

To use it effectively, connect your MCP client (Cursor, VSCode, or another MCP client) to the mcp-server-antv instance. Use extract_antv_topic to automatically identify which AntV library is involved and what kind of visualization or graph you’re building. Then leverage query_antv_document to retrieve up-to-date API references, usage patterns, and ready-to-run code snippets that fit your current context, ensuring your AI-assisted workflows stay aligned with AntV’s latest APIs.

How to install

Prerequisites:

  • Node.js >= 18.x installed
  • npm or pnpm installed
  • Access to an MCP client (Cursor, VSCode, etc.)

Installation steps:

  1. Install and run the MCP server via npx: npm i -g npm # if npm is not up to date npx -y @antv/mcp-server-antv

    This will install and start the MCP server antv module and expose its endpoints.

  2. Alternatively, install locally in a project: npm install @antv/mcp-server-antv npx @antv/mcp-server-antv # or use npm run start if provided by the package

  3. Verify the server is running by connecting your MCP client and selecting the mcp-server-antv server named in the configuration.

Additional notes

Tips:

  • The recommended command to start from your MCP client is using npx with the package name: npx -y @antv/mcp-server-antv.
  • Ensure your MCP client configuration uses the same server name (mcp-server-antv) as shown in the README examples.
  • You can customize or supply environment variables if the server supports them (refer to the package documentation for VAR_NAME details).
  • If you encounter network or permission issues with npx, consider installing the package locally and referencing the local path in your configuration.
  • Keep an eye on AntV library updates (G2/G6/F2) to ensure extract_antv_topic and query_antv_document return the most current guidance and examples.

Related MCP Servers

Sponsor this space

Reach thousands of developers β†—