VegaLite MCP Server
Enable your AI agents and assistants to visualize and manage data with Vega-Lite, seamlessly integrating advanced charting and data exploration into your workflows.

What does “VegaLite” MCP Server do?
The VegaLite MCP Server is a Model Context Protocol (MCP) server implementation that provides large language models (LLMs) with an interface for visualizing data using Vega-Lite syntax. By connecting to this server, AI assistants and applications can offload tasks such as saving tabular data and generating visualizations (charts, graphs, etc.) defined in the Vega-Lite specification. This enhances developer workflows by enabling seamless programmatic data visualization, allowing LLMs to both manage datasets and produce custom visual outputs, which are essential for data analysis, reporting, and research. The server supports returning either the full Vega-Lite specification with data attached (in text mode) or a base64-encoded PNG image of the visualization (in image mode), making it flexible for various integration scenarios.
List of Prompts
No prompt templates are listed in the repository.
List of Resources
No explicit MCP resources are documented in the repository.
List of Tools
- save_data
- Saves a table of data aggregations to the server for later visualization.
- Inputs:
name
(string): Name of the data table to be saved.data
(array): Array of objects representing the data table.
- Returns: Success message.
- visualize_data
- Visualizes a table of data using Vega-Lite syntax.
- Inputs:
data_name
(string): Name of the data table to be visualized.vegalite_specification
(string): JSON string representing the Vega-Lite specification.
- Returns: If
--output_type
is set totext
, returns the full Vega-Lite spec with data; if set topng
, returns a base64-encoded PNG image.
Use Cases of this MCP Server
- Data Analysis and Visualization
- Developers and data scientists can upload datasets and generate custom visualizations (e.g., bar charts, scatter plots) programmatically using Vega-Lite specs.
- Automated Reporting
- LLMs can generate and visualize reports automatically by saving data and producing charts for business intelligence or research purposes.
- Interactive Data Exploration
- Enables iterative exploration by saving new data tables and visualizing them on demand, streamlining the workflow for data-driven projects.
- Educational Tools
- Can be integrated into educational platforms to allow students or users to visualize datasets and learn about data visualization principles interactively.
How to set it up
Windsurf
No setup instructions for Windsurf are listed in the repository.
Claude
- Open your
claude_desktop_config.json
. - Locate the
mcpServers
object. - Add the VegaLite MCP Server using the following JSON snippet:
{ "mcpServers": { "datavis": { "command": "uv", "args": [ "--directory", "/absolute/path/to/mcp-datavis-server", "run", "mcp_server_datavis", "--output_type", "png" // or "text" ] } } }
- Save the configuration file.
- Restart Claude Desktop and verify the server is running.
Securing API Keys
No specific instructions or examples for securing API keys are provided in the repository.
Cursor
No setup instructions for Cursor are listed in the repository.
Cline
No setup instructions for Cline are listed in the repository.
How to use this MCP inside flows
Using MCP in FlowHunt
To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:
{
"MCP-name": {
"transport": "streamable_http",
"url": "https://yourmcpserver.example/pathtothemcp/url"
}
}
Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “MCP-name” to whatever the actual name of your MCP server is (e.g., “vegalite”, “data-vis”, etc.) and replace the URL with your own MCP server URL.
Overview
Section | Availability | Details/Notes |
---|---|---|
Overview | ✅ | Clear summary in README |
List of Prompts | ⛔ | No prompt templates listed |
List of Resources | ⛔ | No explicit resources listed |
List of Tools | ✅ | save_data , visualize_data documented |
Securing API Keys | ⛔ | No info on securing or passing API keys |
Sampling Support (less important in evaluation) | ⛔ | Not mentioned |
Based on the above tables, the VegaLite MCP Server is focused and well-documented in terms of tools and overview, but lacks information on prompts, resources, and security setup, limiting its out-of-the-box integration score.
Our opinion
The MCP VegaLite server is straightforward, with a clear interface for data visualization via LLMs. However, the absence of prompt templates, resources, and security guidance lowers its usability for more advanced or production scenarios. Its main value lies in its functional tools for saving and visualizing data, but overall completeness and extensibility are limited.
Rating: 5/10
MCP Score
Has a LICENSE | ⛔ |
---|---|
Has at least one tool | ✅ |
Number of Forks | 18 |
Number of Stars | 72 |
Frequently asked questions
- What does the VegaLite MCP Server do?
It provides an interface for large language models to visualize data using Vega-Lite syntax, enabling them to manage datasets and produce custom visual outputs such as charts or graphs for data analysis, reporting, and educational use.
- What tools does the VegaLite MCP Server offer?
It offers two main tools: `save_data` to save a table of data aggregations for visualization, and `visualize_data` to generate visualizations using Vega-Lite specifications, returning either a full spec with data (text) or a PNG image.
- How do I integrate VegaLite MCP Server in FlowHunt?
Add the MCP component to your flow, open the configuration, and insert your MCP server details in the JSON format provided in the documentation, replacing the name and URL as appropriate.
- What are the main use cases of VegaLite MCP Server?
It is ideal for programmatic data analysis and visualization, automated reporting, interactive data exploration, and educational tools where users or AI agents need to visualize datasets and learn about data visualization principles interactively.
- Is there information on securing API keys?
No specific instructions or examples for securing API keys are provided in the repository.
Try VegaLite MCP Server with FlowHunt
Enhance your data-driven projects with real-time AI-powered data visualization using VegaLite MCP Server on FlowHunt.