A simple Data Visualization MCP server using Vega-Lite
Project description
Data Visualization MCP Server
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 saveddata(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 visualizedvegalite_specification(string): JSON string representing the Vega-Lite specification
- Returns: If the
--output_typeis set totext, returns a success message with an additionalartifactkey containing the complete Vega-Lite specification with data. If the--output_typeis set topng, returns a base64 encoded PNG image of the visualization using the MPCImageContentcontainer.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file iflow_mcp_vegalite_server-0.0.1.tar.gz.
File metadata
- Download URL: iflow_mcp_vegalite_server-0.0.1.tar.gz
- Upload date:
- Size: 45.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e9c6b95927c04b595a9bc8e4f347517e98daea5aa94e724edacd8fb53ef9d0d
|
|
| MD5 |
3db9988e3f0a1b7f631d971989bd1b96
|
|
| BLAKE2b-256 |
0a45ec056d91c7780c83ae154e5e74ef56d4a7f421582ba7666c6f43e8b0624d
|