gpt-vis-mcp

yaonyan/gpt-vis-mcp

3.3

If you are the rightful owner of gpt-vis-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

GPT-Vis MCP Server is a local/private-favored wrapper for antvis/mcp-server-chart that generates charts locally without external server dependencies.

GPT-Vis MCP Server

A local/private-favored wrapper for antvis/mcp-server-chart that generates charts locally without external server dependencies.

License: MIT npm version MCP

✨ Features

  • šŸ”’ Private & Secure: Local chart generation, no external dependencies
  • šŸš€ Easy Setup: One command installation for Claude Desktop
  • šŸŽØ Rich Charts: 20+ chart types (pie, line, bar, radar, maps, etc.)
  • šŸ“Š Enterprise Ready: Perfect for secure environments

šŸš€ Usage

Claude Desktop (Recommended)

Add to your Claude Desktop MCP settings:

Option 1: NPX (Recommended)

{
  "mcpServers": {
    "gpt-vis-mcp": {
      "command": "npx",
      "args": ["@jsr2npm/yao__gpt-vis-mcp@latest"]
    }
  }
}

image

You may experience canvas dependency issues and font rendering issues when using npx. If so, try option 2.

Option 2: Docker

{
  "mcpServers": {
    "gpt-vis-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--interactive",
        "--rm",
        "-v",
        "/tmp/gpt-vis-charts:/tmp/gpt-vis-charts",
        "ghcr.io/yaonyan/gpt-vis-mcp:latest-mcp"
      ]
    }
  }
}

Set environment variables as needed:

VariableDescriptionDefault
RENDERED_IMAGE_PATHChart images directorysystem temp
RENDERED_IMAGE_HOST_PATHBase URL for accessing images(optional)

Docker SSR Server

We also provide an SSR Server that follows the requirements of https://github.com/antvis/mcp-server-chart?tab=readme-ov-file#-private-deployment

# Run SSR API server
docker run -p 3000:3000 -e RENDERED_IMAGE_HOST_PATH=http://localhost:3000/charts ghcr.io/yaonyan/gpt-vis-mcp:latest-http

# Test the SSR API
āÆ curl -X POST http://localhost:3000/generate \
             -H "Content-Type: application/json" \
             -d '{"type": "pie", "data": [{"category": "A", "value": 30}, {"category": "B", "value": 70}]}'
{"success":true,"resultObj":"http://localhost:3000/charts/chart_1750500506056_T6IC0Vtp.png"}

You can then use the SSR server with the upstream @antv/mcp-server-chart by specifying the VIS_REQUEST_SERVER environment variable:

{
  "mcpServers": {
    "mcp-server-chart": {
      "command": "npx",
      "args": ["-y", "@antv/mcp-server-chart"],
      "env": {
        "VIS_REQUEST_SERVER": "http://localhost:3000/generate"
      }
    }
  }
}

This allows you to use the original MCP server while leveraging your private SSR endpoint for chart generation.

VIS_REQUEST_SERVER example

šŸ¤ Contributing

See for development setup.

šŸ“„ License

MIT License - see