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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mseep_mcp_server_vegalite-0.0.1.tar.gz.
File metadata
- Download URL: mseep_mcp_server_vegalite-0.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a472e3cc813ef3e6221818fe0db418f4d5f4f4af5d93a8a1160cba7c71d3becb
|
|
| MD5 |
323599d00d7b939628063c983430e04a
|
|
| BLAKE2b-256 |
99a59d4310fec830471687b58405374cb4d0b0f76b92ac417fb602e511c3829b
|
File details
Details for the file mseep_mcp_server_vegalite-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mseep_mcp_server_vegalite-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a35304f1eb53f352ac95d8461f4126a7eecf8b6c4c26167c9328f67af7a64675
|
|
| MD5 |
6da470e0ab3974d070e4d847e98a7ef0
|
|
| BLAKE2b-256 |
45cc62dd837d5056eca2106eeec3fd0ca55339f2acfa606559bb96a626ec757f
|