1. Conduid
  2. AI
  3. Vega MCP Server
MCP server · AI

Vega MCP Server

Custom interactive charts in LLM conversations using MCP Apps

34Low

Scored 5 months ago · breakdown

About Vega MCP Server

Vega MCP Server is an MCP server in the AI category: custom interactive charts in LLM conversations using MCP Apps.

Install

From source
git clone https://github.com/hydrosquall/vega-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Vega MCP Server

Powered by Claude · Grounded in docs

I know everything about Vega MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

vega-mcp-server

Ask your AI assistant to draw a chart. Get back something interactive, embedded right in the conversation.

This is an MCP server for Vega-Lite and Vega, open-source grammars for building interactive visualizations from JSON. It works with any client that supports MCP Apps, including Claude, ChatGPT, Goose, and VS Code.

Browse the Vega-Lite and Vega example galleries for charts to remix.

Install

Claude Desktop (macOS / Windows)

Download the latest .mcpb file from the Releases page and double-click it. Claude will show an installation dialog and handle the rest.

Once installed, try asking: "Draw a bar chart comparing sales of [10, 20, 15, 25] for products A, B, C, D."

Other clients

See docs/INSTALL.md for build-from-source instructions and stdio / HTTP transport setup for Goose, VS Code, and ChatGPT.

Tools

show_vegalite_chart

Renders a Vega or Vega-Lite chart from a JSON spec. Pass data separately from the spec; it is injected at render time, keeping the spec clean and making validation straightforward.

Example

{
  "spec": {
    "$schema": "https://vega.github.io/schema/vega-lite/v6.json",
    "mark": "bar",
    "encoding": {
      "x": {"field": "category", "type": "nominal"},
      "y": {"field": "value", "type": "quantitative"}
    },
    "data": {"name": "table"}
  },
  "data": {
    "table": [
      {"category": "A", "value": 10},
      {"category": "B", "value": 20}
    ]
  }
}
Parameter Type Description
spec object Vega-Lite or Vega JSON spec. Use "data": {"name": "tableName"} to reference named data sources. URL data sources are blocked.
data { [name]: rows[] } Named data tables matching the names in the spec. Defaults to {}.
height integer Max container height in pixels. Defaults to 500.

Returns { success: boolean, errors?: string[] }. Validation runs the Vega-Lite compiler and checks that every named data source referenced in the spec has a corresponding entry in data.

Prefer Vega-Lite for most charts. Pass a raw Vega spec (with "$schema": "https://vega.github.io/schema/vega/v5.json") when you need capabilities Vega-Lite cannot express, such as custom layout transforms.

learn_vegalite_syntax

Returns a compact Vega-Lite v6 cheat sheet covering field types, mark types, encoding channels, and common transforms. Calling this before generating a spec helps the model stay within the supported grammar and avoid invalid field names. Kept intentionally brief; advanced features aren't documented here yet.

FAQ

Does it fetch external data or run arbitrary code?

No to both. Specs with remote data URLs are rejected before rendering, and the client-side loader blocks HTTP requests at runtime. All data must be passed through the tool call. The renderer uses Vega's sandboxed interpreter rather than eval, so arbitrary code execution is not possible.

Is it safe to deploy publicly?

This server was designed for local, single-user use. See docs/frequently-asked-questions.md for more.

Contributing

See CONTRIBUTING.md for development setup, pull request guidelines, and architecture decision records.

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Vega MCP Server

How do I install Vega MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Vega MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Vega MCP Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.