yaonyan/gpt-vis-mcp
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.
⨠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"]
}
}
}
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:
Variable | Description | Default |
---|---|---|
RENDERED_IMAGE_PATH | Chart images directory | system temp |
RENDERED_IMAGE_HOST_PATH | Base 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.
š¤ Contributing
See for development setup.
š License
MIT License - see