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

claude-schematic

v0.2.1

Published

Ask Claude Code to draw live architecture diagrams of your repo. Interactive canvas, MCP tools, and right-click actions for blast-radius and audit queries.

Readme

Schematic

Ask Claude Code to draw live architecture diagrams of your repo.

Schematic turns Claude Code into a draftsman. You tell it what to map — "diagram the WebGL pipeline," "extract the G1 engine," "how does auth connect to the API layer" — and Claude authors a canvas for you in your browser. Nodes are files, edges are labeled relationships, processes group related pieces. When Claude reads or edits a file, the matching node glows. When you click around in the browser, Claude-ready prompts land on your clipboard.

Install

npm install -g claude-schematic
schematic install

That writes three Claude Code hooks to ~/.claude/settings.json, registers an MCP server via claude mcp add, pre-authorizes the Schematic MCP tool namespace so you don't get prompted on every node/edge call, starts the daemon on localhost:7777, and opens the dashboard in your browser. If port 7777 is busy, it auto-picks the next free port up to 7800.

After install, start a new Claude Code session — hooks and MCP registrations only load at session start.

Use

Open a Claude Code session and talk to it normally. Try:

  • "Open GateStack in Schematic." — Claude calls open_workspace, registers your repo, and flips the browser to it.
  • "Diagram the WebGL pipeline." — Claude reads the code, creates a canvas, places nodes, labels edges, arranges by data flow.
  • "Before I change app/src/daemon/http.ts, trace its impact." — Claude calls trace_impact, reports every canvas that touches that file and what connects to it.

In the browser, right-click anything:

  • Right-click a file node → copy "Blast radius," "Explain this file," or "Create canvas centered on this file" prompts.
  • Right-click a process container → copy "Audit this group" or "Extract this process to its own canvas."
  • Right-click empty canvas → copy "Audit canvas / Find hubs / Find orphans / Find cycles" prompts.

Every right-click action runs the query, packs the result into a Claude-ready prompt, and copies it to your clipboard. Paste into Claude and hit send.

Tip: visit localhost:7777/?welcome to see the onboarding screen regardless of session state — useful for demos and screenshots.

What Claude can do

Sixteen MCP tools ship in the box:

Workspace management: open_workspace, list_workspaces, switch_view, pause_workspace.

Canvas authoring: create_canvas, bulk_populate, list_canvases, add_node, add_edge, move_node, move_process, auto_layout, delete_node, delete_edge.

Structural queries: trace_impact (blast radius before refactors), audit_canvas (drift vs disk), find_hubs (high-degree keystones), find_orphans (zero-edge nodes), find_cycles (circular dependencies).

bulk_populate is the intended path for building a canvas from scratch — one call takes the whole node + edge set and lands the canvas atomically. Use add_node / add_edge only for incremental edits.

auto_layout runs a Sugiyama layered layout (via dagre) over the whole canvas in one call — respects process groupings, cleans up tangled diagrams. Use it after bulk_populate if the canvas reads messy, or whenever a hand-placed diagram has grown unreadable. move_process shifts a whole process group as a unit without touching individual nodes.

All five structural-query tools return JSON, so Claude can reason over the shape instead of parsing prose.

CLI

schematic install            # wire hooks + MCP, start daemon
schematic start              # start daemon (no-op if running)
schematic stop               # graceful shutdown
schematic status             # uptime, workspace count, event count
schematic uninstall          # remove hooks + MCP, stop daemon
schematic config get port    # show daemon port
schematic config set port N  # change port (takes effect on next daemon start)

Requirements

Node 20+. macOS, Linux, or Windows. Claude Code installed and working.

License

MIT · © 2026 Angelco · angelco.tech