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

mseep_mcp_server_vegalite-0.0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_mcp_server_vegalite-0.0.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file mseep_mcp_server_vegalite-0.0.2.tar.gz.

File metadata

File hashes

Hashes for mseep_mcp_server_vegalite-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bba876a688b4074b87c5b1e9b27b2fc5215803cebe2df0253a6b8841d9965be8
MD5 a85bc5a1038faffeb47dd5a09d10e47a
BLAKE2b-256 00692e54cd5ad276e6425d78de5be69434e7dafe21445d3155f97a7fabf8d9f8

See more details on using hashes here.

File details

Details for the file mseep_mcp_server_vegalite-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_mcp_server_vegalite-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 33b457ba7eccb61a168b44e311141e062e61c58e330856b2c9d340d15fefa837
MD5 79846bf2619b35bd34983fd92c10e655
BLAKE2b-256 40631b2a56d7742a51a72fc44d76852c1f0d3b8cd7559f76faab4d96ca79ff02

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