Chart Canvas logo

Chart Canvas

Creates charts, tables, and Mermaid diagrams from local data sources through MCP.

Install Chart Canvas

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "chart-canvas": {
      "command": "npx",
      "args": [
        "-y",
        "@gluip/chart-canvas-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio chart-canvas -- npx -y @gluip/chart-canvas-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @gluip/chart-canvas-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The chart-canvas MCP server turns query results and supplied series into charts, tables, and Mermaid diagrams. It supports SQLite, CSV, Parquet, JSON, and NDJSON data, with local query execution and a browser dashboard for displaying visualizations. Read-only SQL tools can inspect SQLite schemas, limit queries to SELECT or CTE statements, and map result columns to chart axes. Use it when an MCP client needs to analyze local files or databases without sending the underlying data to the language model.

Use cases

  • Build charts from local SQLite query results
  • Compare grouped values with bar or line charts
  • Inspect a SQLite schema before writing a query
  • Display CSV, Parquet, JSON, or NDJSON data visually
  • Draw process diagrams through Mermaid

Key features

  • Line, bar, scatter, pie, and table visualizations
  • Mermaid flowcharts, sequence diagrams, and Gantt charts
  • Read-only SQLite querying with schema inspection
  • Support for CSV, Parquet, JSON, and NDJSON sources
  • Browser dashboard with live updates
  • Local query execution with a 10,000-row result limit

Tools16

What Chart Canvas lets your agent do. Expand a tool for its parameters.

Self-reported~198 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

19/19 checks healthy over the last 89d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · @gluip/chart-canvas-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads269Package downloads in the last 30 days.
Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed16Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Chart Canvas works

What the chart-canvas MCP server does

The chart-canvas MCP server gives an MCP-connected assistant a way to create and manage visual output in a browser dashboard. It supports line, bar, scatter, and pie charts, along with tabular views. It can also display Mermaid-based diagrams, including flowcharts, sequence diagrams, and Gantt charts.

The dashboard uses a grid layout and updates as visualizations are added or removed. A browser view can be opened through the server, while the MCP client remains the interface for requesting charts, querying data, and managing the canvas.

Supported local data formats include SQLite databases, CSV files, Parquet files, JSON arrays of objects, and newline-delimited JSON. Query results are converted into visualization configuration on the server; the result data itself is not sent to the language model.

How it works

The server exposes separate operations for creating a visualization, removing one visualization, clearing the canvas, and opening the dashboard. A visualization can contain multiple series and optional labels, titles, and descriptions. Chart requests can use a column as the horizontal axis, provide one or more value columns, and optionally group records into separate series.

For SQLite workflows, getDatabaseSchema returns tables, columns, types, and constraints for a database path. queryAndVisualize accepts a database path, a SQL statement, a visualization type, and optional column mappings. Chart mappings identify the X column and one or more Y columns; an additional series or grouping column can organize the results. X-column values can also be used as categorical labels.

SQL execution is restricted to read operations. SELECT statements and queries beginning with a WITH clause are allowed, while data-changing and schema-changing statements such as INSERT, UPDATE, DELETE, and DROP are blocked. Query results are capped at 10,000 rows.

Setup and configuration

Install the published package globally with npm, or run it without installation through npx:

Terminal
npm install -g @gluip/chart-canvas-mcp
npx @gluip/chart-canvas-mcp

Add the server to an MCP client configuration with a command and package argument:

config.json
{
  "mcpServers": {
    "chart-canvas": {
      "command": "npx",
      "args": ["-y", "@gluip/chart-canvas-mcp"]
    }
  }
}

The documented Claude Desktop configuration locations are ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%/Claude/claude_desktop_config.json on Windows. The chart-canvas MCP server starts on port 3000, and the showCanvas operation opens the dashboard in the default browser.

For local development, the repository uses separate backend and frontend packages. The backend can run with the development entry point, while production builds combine the application into a single server.

Tools and capabilities

  • addVisualization: creates line, bar, scatter, pie, table, or Mermaid visualizations.
  • removeVisualization: deletes a visualization by ID.
  • clearCanvas: removes every visualization from the canvas.
  • showCanvas: opens the dashboard in a browser.
  • getDatabaseSchema: inspects a SQLite database structure.
  • queryAndVisualize: runs a read-only SQLite query and renders the result as a chart or table.

Line charts accept multiple series. Bar charts support comparisons, scatter charts show distributions, pie charts include labels, and tables display headers. Mermaid content supports diagram forms documented by Mermaid, including flowcharts, sequence diagrams, and Gantt charts.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Chart Canvas

chart-canvas is an MCP server that connects AI assistants to local data sources and a browser-based visualization dashboard. Its main tools create charts, tables, and Mermaid diagrams, inspect SQLite schemas, run read-only SQL queries, manage canvas items, and open the dashboard for viewing.

Install it with npm or run it through npx. Use `npm install -g @gluip/chart-canvas-mcp` for a global installation, or configure the MCP client to run `npx -y @gluip/chart-canvas-mcp` without installing the package globally.

Yes, chart-canvas has documented Claude Desktop configuration. Add an `mcpServers` entry that runs the package with npx, then start Claude Desktop; the server starts on port 3000 and `showCanvas` opens its dashboard in the default browser.

It supports SQLite, CSV, Parquet, JSON, and NDJSON sources.

No, its documented SQL execution is read-only. SELECT statements and WITH queries are allowed, while INSERT, UPDATE, DELETE, DROP, and other modifying operations are blocked. Query results are limited to 10,000 rows.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChart Canvas AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/chart-canvas?style=directory)](https://allmcps.com/mcp/chart-canvas)
HTML Embed
<a href="https://allmcps.com/mcp/chart-canvas"><img src="https://allmcps.com/api/badge/chart-canvas?style=directory" alt="Chart Canvas on AllMCPs" /></a>