Microcharts logo

Microcharts

Finds React microchart types, returns their props and samples, and renders self-contained SVG with generated alt text.

Install Microcharts

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": {
    "microcharts": {
      "command": "npx",
      "args": [
        "-y",
        "@microcharts/mcp"
      ]
    }
  }
}

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

Automated check passed— started and listed 3 tools correctly (15d ago).

Overview

Finds React chart types, prop definitions, and renderable SVG output through the microcharts MCP server. It runs locally over stdio and calls the @microcharts/react library through three tools: find, get, and render. Reach for it when an AI assistant needs to choose a compact chart, generate valid component input, or preview the resulting SVG. The server is intended for assistants working with React interfaces and streamed responses.

Use cases

  • Find a chart type for a product or metric question
  • Get exact React chart props and sample data
  • Render a chart as self-contained SVG
  • Generate accessible chart output with alt text

Key features

  • Chart-type discovery
  • Exact props and ready-to-render samples
  • Self-contained SVG rendering
  • Generated alternative text
  • Local stdio execution

Tools3

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

Verified live~504 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 Today

Recent health check succeeded.

16/16 checks healthy over the last 57d

What it can do

From the 3 tools this server returned when we ran it.

Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age91 days
Maintainers1

Observed 2026-10-24 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · @microcharts/mcp (npm)

Adoption & maintenance

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

GitHub stars206Stargazers on the source repository.
npm downloads342Package downloads in the last 30 days.
Last commit1d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Microcharts works

What the microcharts MCP server does

The microcharts MCP server gives an AI assistant a direct way to work with the @microcharts/react chart library. It helps the assistant select an appropriate chart for a question, inspect the exact API for that chart, and produce a rendered result rather than relying only on documentation text.

The underlying library contains 106 chart types designed for compact interface locations such as sentences, table cells, KPI cards, tabs, and AI responses. Charts use data-driven React components, and the library provides static and interactive imports.

How it works

The server runs on the developer's machine as a local Model Context Protocol process using standard input and output. An MCP-compatible assistant sends tool calls to the process, which uses the microcharts library to answer them.

Its three tools cover separate stages of chart selection and use:

  • find helps identify a chart type that answers a stated question.
  • get returns the selected chart's exact props and a sample that is ready to render.
  • render creates a self-contained SVG and includes the generated alternative text.

This arrangement lets an assistant move from a natural-language requirement to a documented component shape and then to visual output. The rendered chart's accessible description comes from the chart data, matching the accessibility behavior documented for the React library.

Setup and configuration

Run the package with npx using the package's executable configuration:

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

The package used by the process is @microcharts/mcp; the chart implementation it accesses is @microcharts/react.

Tools and capabilities

The microcharts MCP server supports chart discovery, precise API inspection, and SVG generation. find is useful when the assistant knows the information need but not the chart name. get is appropriate when the assistant needs the import details, accepted properties, data shape, and an example. render is useful for obtaining a standalone SVG representation with alternative text attached.

The chart library itself uses small, individual chart imports and supports static rendering without client JavaScript.

Limitations and notes

That qualification also matters when evaluating generated chart output in a particular React application.

It does not identify named MCP clients, provide hosted operation, list authentication options, or define environment variables. It also does not describe tool-specific flags beyond the three tool names and their stated roles. Chart types intentionally excluded from the library include pie, needle gauges, battery, waffle, and violin charts; the documentation points to alternatives within the catalog.

Reviews

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

Frequently Asked Questions about Microcharts

microcharts is an MCP server that connects AI assistants to the @microcharts/react library. Its main tools find suitable chart types, get exact props with ready-to-render samples, and render charts as self-contained SVG with generated alternative text. It runs locally over stdio through the @microcharts/mcp package.

Run it through npx with the package name @microcharts/mcp. Configure the MCP client to use command npx and arguments -y and @microcharts/mcp. The documented setup starts the server locally over standard input and output.

It provides find, get, and render. Find selects a chart type for a question, get returns its props and a renderable sample, and render produces a self-contained SVG with generated alternative text.

It documents microcharts as a local stdio MCP server, so client support depends on whether the client accepts that standard MCP transport and configuration.

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 PreviewMicrocharts AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/microcharts?style=directory)](https://allmcps.com/mcp/microcharts)
HTML Embed
<a href="https://allmcps.com/mcp/microcharts"><img src="https://allmcps.com/api/badge/microcharts?style=directory" alt="Microcharts on AllMCPs" /></a>