Vega-Lite MCP Server

An MCP server that provides an interface for data visualization using Vega-Lite syntax, enabling LLMs to save data tables and create visualizations.

Get this MCP server

An MCP server that provides an interface for data visualization using Vega-Lite syntax, enabling LLMs to save data tables and create visualizations.

Installation

UV with Directory

uv --directory /absolute/path/to/mcp-datavis-server run mcp_server_datavis --output_type png

Configuration

Claude Desktop

{
  "mcpServers": {
    "datavis": {
        "command": "uv",
        "args": [
            "--directory",
            "/absolute/path/to/mcp-datavis-server",
            "run",
            "mcp_server_datavis",
            "--output_type",
            "png" # or "text"
        ]
    }
  }
}

Available Tools

Tool Description
save_data Save an aggregated data table to the server for subsequent visualization
visualize_data Visualize a data table using Vega-Lite syntax

Features

  • Saving data tables for visualization
  • Creating visualizations using Vega-Lite syntax
  • Outputting visualizations as text (JSON) or PNG images
  • Support for PNG image output in base64 encoding
  • Full Vega-Lite specification with data integration

Notes

The server supports two output types: 'text', which returns the Vega-Lite specification with data, and 'png', which returns PNG images in base64 encoding. The server requires specifying an absolute path to the mcp-datavis-server directory.

Comments (0)

Sign In Sign in to leave a comment.

Spark Drops

Weekly picks: best new AI tools, agents & prompts

Venture Crew
Terms of Service

© 2026, Venture Crew