IM

isaacwasserman/mcp-vegalite-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

100 stars 26 forks 品質 38 トレンド 0

isaacwasserman/mcp-vegalite-server は、https://github.com/isaacwasserman/mcp-vegalite-server. からインポートされた MCP サーバー候補です。

概要

isaacwasserman/mcp-vegalite-server は、https://github.com/isaacwasserman/mcp-vegalite-server. からインポートされた MCP サーバー候補です。

概要(AI 翻訳)

概要

モデルコンテキストプロトコル(MCP)サーバー実装で、LLMにVega-Lite構文を用いたデータを可視化するインターフェースを提供します。

構成要素

道具

サーバーは2つのコアツールを提供します:

  • save_data
  • 後で可視化するためにデータ集約のテーブルをサーバーに保存する
  • 入力:
  • name(文字列):保存するデータテーブルの名前
  • data(配列):データテーブルを表すオブジェクトの配列
  • リターンズ:成功メッセージ
  • visualize_data
  • Vega-Lite構文を用いたデータテーブルの可視化
  • 入力:
  • data_name(文字列):可視化するデータテーブルの名前
  • vegalite_specification(文字列):Vega-Lite仕様を表すJSON文字列
  • 返却:--output_typeがtextに設定されている場合、追加のartifactキーでVega-Lite仕様とデータを含む成功メッセージを返します。--output_typeがpng]に設定されている場合、MPC ImageContentコンテナを用いた可視化のbase64エンコードPNG画像を返します。

Claude Desktopでの使用

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

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.

Components

Tools

The server offers two core tools:

  • save_data
    • Save a table of data agregations to the server for later visualization
    • Input:
      • name (string): Name of the data table to be saved
      • data (array): Array of objects representing the data table
    • Returns: success message
  • visualize_data
    • Visualize a table of data using Vega-Lite syntax
    • Input:
      • data_name (string): Name of the data table to be visualized
      • vegalite_specification (string): JSON string representing the Vega-Lite specification
    • Returns: If the --output_type is set to text, returns a success message with an additional artifact key containing the complete Vega-Lite specification with data. If the --output_type is set to png, returns a base64 encoded PNG image of the visualization using the MPC ImageContent container.

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_datavis",
            "--output_type",
            "png" # or "text"
        ]
    }
  }
}
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

# Add the server to your claude_desktop_config.json { "mcpServers": { "datavis": { "command": "uv", "args": [ "--directory", "/absolute/path/to/mcp-datavis-server", "run", "mcp_server_datavis", "--output_type", "png" # or "text" ] } } }