IM

isaacwasserman/mcp-vegalite-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

100 stars 26 forks 품질 38 트렌드 15

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 번역)

개요

Vega-Lite 문법을 사용하여 데이터를 시각화할 수 있는 인터페이스를 LLM에 제공하는 모델 컨텍스트 프로토콜(MCP) 서버 구현체입니다.

구성 요소

도구

서버는 두 가지 핵심 도구를 제공합니다:

  • 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 이미지를 반환합니다.

클로드 데스크톱에서의 사용

이 페이지는 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" ] } } }