Skip to main content
Glama
markomitranic

Data Visualization MCP Server

数据可视化 MCP 服务器

铁匠徽章

概述

模型上下文协议 (MCP) 服务器实现为 LLM 提供了使用 Vega-Lite 语法可视化数据的界面。

Related MCP server: Zaturn

成分

工具

该服务器提供两个核心工具:

  • save_data

    • 将数据聚合表保存到服务器以供以后可视化

    • 输入:

      • name (字符串):要保存的数据表的名称

      • data (数组):表示数据表的对象数组

    • 返回:成功信息

  • visualize_data

    • 使用 Vega-Lite 语法可视化数据表

    • 输入:

      • data_name (字符串):要可视化的数据表的名称

      • vegalite_specification (字符串):表示 Vega-Lite 规范的 JSON 字符串

    • 返回:如果将--output_type设置为text ,则返回一条成功消息,其中包含一个额外的artifact key,其中包含完整的 Vega-Lite 规范和数据。如果将--output_type设置为png ,则返回使用 MPC ImageContent容器的 base64 编码的可视化 PNG 图像。

与 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" ] } } }

与紫外线一起使用

uv --directory /Users/markomitranic/Sites/mcp/mcp-vegalite-server run mcp_server_vegalite --output-type png

与 Docker 一起使用

docker build -t mcp-server-vegalite . docker run -i --rm mcp-server-vegalite --output-type png
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Latest Blog Posts

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