
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 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 totext
, returns a success message with an additionalartifact
key containing the complete Vega-Lite specification with data. If the--output_type
is set topng
, returns a base64 encoded PNG image of the visualization using the MPCImageContent
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"
]
}
}
}
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Reviews

user_bojCB0R9
The mcp-vegalite-server by isaacwasserman is an impressive tool for data visualization using Vega-Lite. I found the GitHub repository (https://github.com/isaacwasserman/mcp-vegalite-server) very well-documented, making it easier to integrate and utilize. It's a robust server application designed to serve Vega-Lite charts efficiently. Highly recommended for anyone looking to enhance their data visualization projects! Amazing work by the author!