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

chartsbyscott

v1.1.0

Published

MCP server that renders real-time charts in the browser for Claude Code

Readme

chartsbyscott

An MCP server that lets Claude Code render charts in your browser in real-time.

Claude calls tools like create_chart, update_chart, delete_chart — charts appear instantly in a local dashboard and update live via WebSocket without reloading the page.

How it works

  • Runs entirely locally — no external server, no accounts, no API keys
  • Starts an MCP server (stdio) + a local HTTP server (port 3100) + a WebSocket server (port 3101)
  • Dashboard is served at http://localhost:3100 and opens automatically on first chart
  • The page holds a live WebSocket connection — when Claude pushes new data, charts update instantly
  • Uses Chart.js for rendering, with a dark theme and responsive grid layout

Install

Recommended: install from npm

claude mcp add --scope user --transport stdio charts -- npx -y chartsbyscott

That's it. npx fetches the package, caches it, and runs it whenever Claude Code starts. No clone, no install step.

Alternative: run from GitHub

claude mcp add --scope user --transport stdio charts -- npx -y github:sevgibson/chartsbyscott

Alternative: clone locally

git clone https://github.com/sevgibson/chartsbyscott.git
cd chartsbyscott
npm install
claude mcp add --scope user --transport stdio charts -- node /absolute/path/to/chartsbyscott/index.js

Viewing charts

Open http://localhost:3100 in any browser — the dashboard auto-opens the first time Claude creates a chart. Keep the tab open; every subsequent create_chart / update_chart / delete_chart from Claude updates the dashboard in real-time via WebSocket. No refresh needed.

Tools exposed to Claude

| Tool | Purpose | |------|---------| | create_chart | Create or replace a chart | | update_chart | Update data on an existing chart without recreating it | | delete_chart | Remove a chart | | clear_all | Remove all charts | | list_charts | List current chart IDs, types, and titles |

Chart types

line, bar, pie, scatter, area, doughnut, radar, polarArea

Data format

{
  "labels": ["7:30", "7:40", "7:50"],
  "datasets": [
    { "label": "app-1", "data": [0.378, 0.372, 0.373] },
    { "label": "app-2", "data": [0.394, 0.393, 0.389] }
  ]
}

Example usage in Claude Code

Once installed, just ask Claude to chart things:

"Pull the last hour of response times from New Relic and chart it"

"Compare the memory usage across my three servers as a bar chart"

"Benchmark these two queries 10 times each and show me the results over time"

Claude will call create_chart (and update_chart as data streams in) — the dashboard updates live.

Ports

Defaults: HTTP on 3100, WebSocket on 3101. Override with env vars:

CHARTS_HTTP_PORT=4000 CHARTS_WS_PORT=4001 npx chartsbyscott

License

MIT