Skip to main content
Glama

Data Visualization MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
output_typeNoThe output format for visualizations. Set to 'png' for base64 encoded PNG images or 'text' for Vega-Lite specification JSON with data.text

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
save_data

A tool which allows you to save data to a named table for later use in visualizations. When to use this tool:

  • Use this tool when you have data that you want to visualize later. How to use this tool:
  • Provide the name of the table to save the data to (for later reference) and the data itself.
visualize_data

A tool which allows you to produce a data visualization using the Vega-Lite grammar. When to use this tool:

  • At times, it will be advantageous to provide the user with a visual representation of some data, rather than just a textual representation.
  • This tool is particularly useful when the data is complex or has many dimensions, making it difficult to understand in a tabular format. It is not useful for singular data points. How to use this tool:
  • Prior to visualization, data must be saved to a named table using the save_data tool.
  • After saving the data, use this tool to visualize the data by providing the name of the table with the saved data and a Vega-Lite specification.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/markomitranic/mcp-vegalite-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server