Skip to main content

A simple Data Visualization MCP server using Vega-Lite

Project description

MseeP.ai Security Assessment Badge

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_datavis",
            "--output_type",
            "png" # or "text"
        ]
    }
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_vegalite_server-0.0.1.tar.gz (45.6 MB view details)

Uploaded Source

File details

Details for the file iflow_mcp_vegalite_server-0.0.1.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_vegalite_server-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5e9c6b95927c04b595a9bc8e4f347517e98daea5aa94e724edacd8fb53ef9d0d
MD5 3db9988e3f0a1b7f631d971989bd1b96
BLAKE2b-256 0a45ec056d91c7780c83ae154e5e74ef56d4a7f421582ba7666c6f43e8b0624d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page