Skip to main content
Glama

Data Visualization MCP Server

数据可视化 MCP 服务器

概述

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

成分

工具

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

  • 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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

MCP 服务器提供工具来保存数据表并从中生成可视化效果,从而允许 AI 模型使用 Vega-Lite 语法创建数据可视化效果。

  1. 概述
    1. 成分
      1. 工具
    2. 与 Claude Desktop 一起使用
      1. 与紫外线一起使用
        1. 与 Docker 一起使用

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol (MCP) server implementation that provides the LLM an interface for visualizing data using Vega-Lite syntax.
            Last updated -
            80
            Python
          • A
            security
            A
            license
            A
            quality
            An open-source MCP server that connects to various data sources (SQL databases, CSV, Parquet files), allowing AI models to execute SQL queries and generate data visualizations for analytics and business intelligence.
            Last updated -
            10
            52
            Python
            MIT License
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            GPU-accelerated graph visualization and analytics server for Large Language Models that integrates with Model Control Protocol (MCP), enabling AI assistants to visualize and analyze complex network data.
            Last updated -
            16
            8
            Python
            MIT License
          • A
            security
            F
            license
            A
            quality
            An MCP server that enables AI models to generate precise geometric images by providing Asymptote code, supporting both SVG and PNG output formats.
            Last updated -
            1
            399
            5
            JavaScript
            • Linux
            • Apple

          View all related MCP servers

          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