Provides containerized deployment of the data visualization server, making it easy to run in isolated environments.
Powers data visualization through Vega-Lite syntax, allowing users to create customized charts and graphs from saved data tables.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Data Visualization MCP Servervisualize my sales data as a bar chart showing revenue by month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: Zaturn
Components
Tools
The server offers two core tools:
save_dataSave 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_dataVisualize 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_vegalite",
"--output-type",
"png" # or "text"
]
}
}
}Usage with uv
uv --directory /Users/markomitranic/Sites/mcp/mcp-vegalite-server run mcp_server_vegalite --output-type pngUsage with Docker
docker build -t mcp-server-vegalite .
docker run -i --rm mcp-server-vegalite --output-type pngResources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.