npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

provchart-mcp

v1.0.0

Published

MCP server for ProvChart — generate pure CSS charts (HTML/CSS or SVG) from agents

Readme

provchart-mcp

MCP server for ProvChart — generate pure-CSS charts (HTML/CSS or SVG) from any MCP-aware agent. No Chart.js, no client-side chart runtime required to paint.

What it does

Three tools, exposed over stdio:

| Tool | Returns | Use for | |------|---------|---------| | provchart_generate | html + css | Web pages, dashboards, anywhere you can inject markup | | provchart_generate_svg | svg + dataUri | READMEs, docs, Markdown, static exports | | provchart_explain | Integration notes | No API call — quick reference for injection, ranges, runtime, errors |

Charts compile to real CSS (clip-path, custom properties) or real <svg> markup. Nothing runs client-side unless you opt into the optional provchart-runtime for hover tooltips and reveal animations.

Install

npm install -g provchart-mcp

Or run it directly without installing, via npx (see config below).

Setup

You'll need an API key from the ProvChart dashboard → Developer API.

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "provchart": {
      "command": "npx",
      "args": ["-y", "provchart-mcp"],
      "env": {
        "PROVCHART_API_KEY": "pc_live_xxxxxxxx"
      }
    }
  }
}

Other MCP clients

Any client that supports stdio servers works the same way — point it at provchart-mcp (or node src/index.js if running from a local clone) and set PROVCHART_API_KEY in the environment.

You can also pass apiKey per-call as a tool argument instead of using the env var, if a given call needs to use a different key.

Usage

Once connected, just ask your agent for a chart:

Generate a line chart of monthly signups: Jan 120, Feb 450, Mar 3200, Apr 8900, May 15400. Give me the SVG for my README.

The agent calls provchart_generate_svg, gets back real SVG markup, and can write it straight to a file.

Chart types

line, area, bar, stackedbar, hbar, scatter, combo, gauge.

Value ranges

Charts auto-scale to your data by default — no need to pre-normalize anything to 0–100. Pass min / max if you want the axis pinned instead. Ask the server directly:

Use provchart_explain with topic "ranges"

Example payload

{
  "type": "bar",
  "series": [
    { "name": "2025", "color": "#8b7bff", "points": [40, 55, 48, 70] },
    { "name": "2026", "color": "#4fd8c4", "points": [35, 50, 62, 58] }
  ],
  "axisX": ["Q1", "Q2", "Q3", "Q4"],
  "theme": "midnight"
}

Errors

| Code | Meaning | |------|---------| | INVALID_API_KEY | Key missing, revoked, or malformed | | SUBSCRIPTION_REQUIRED | Plan inactive | | MONTHLY_LIMIT_REACHED | Plan quota used up for the month |

HTML and SVG generation share the same monthly quota.

Links

License

MIT