MCPInstall
Vega-Lite Data Visualization logo

Vega-Lite Data Visualization

by markomitranic 3 stars markomitranic/mcp-vegalite-server

Enables data visualization capabilities using Vega-Lite specification language to create custom charts and graphs from tabular data, with output as either text specifications or rendered PNG images.

READMEmain

Data Visualization MCP Server

smithery badge

Overview

A Model Context Protocol (MCP) server implementation that provides the LLM an interface for visualizing data using Vega-Lite syntax.

Components

Tools

The server offers two core tools:

  • save_data
    • Save a table of data agregations to the server for later visualization
    • Input:
      • name (string): Name of the data table to be saved
      • data (array): Array of objects representing the data table
    • Returns: success message
  • visualize_data
    • Visualize a table of data using Vega-Lite syntax
    • Input:
      • data_name (string): Name of the data table to be visualized
      • vegalite_specification (string): JSON string representing the Vega-Lite specification
    • Returns: If the --output_type is set to text, returns a success message with an additional artifact key containing the complete Vega-Lite specification with data. If the --output_type is set to png, returns a base64 encoded PNG image of the visualization using the MPC ImageContent container.

Usage with Claude Desktop

# Add the server to your claude_desktop_config.json
{
  "mcpServers": {
    "datavis": {
        "command": "uv",
        "args": [
            "--directory",
            "/absolute/path/to/mcp-datavis-server",
            "run",
            "mcp_server_vegalite",
            "--output-type",
            "png" # or "text"
        ]
    }
  }
}

Usage with uv

uv --directory /Users/markomitranic/Sites/mcp/mcp-vegalite-server run mcp_server_vegalite --output-type png

Usage with Docker

docker build -t mcp-server-vegalite .
docker run -i --rm mcp-server-vegalite --output-type png

More Data Analysis & Visualization MCP servers

Similar servers from the same category.

CoinStats

coinstatshq

Provides real-time cryptocurrency market data, portfolio tracking, and news through direct access to the CoinStats API for retrieving coin information, market trends, wallet balances, and exchange integrations.

DataTrack+1

Vizro

mckinsey

Enables creation and validation of data visualization dashboards through natural language by generating chart code, validating configurations, and producing interactive Vizro visualizations with PyCafe preview links.

Data Analysis & Visualization

Provides a bridge between AI agents and Atlan data catalog services for searching, retrieving, traversing lineage, and updating asset metadata through the pyatlan SDK

search

Integrates tools powered by the Cloudflare DNS Analytics API to provide insights on DNS analytics and optimization.

Data Analysis & Visualization