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

@modemdev/glance-claude

v0.1.0

Published

glance.sh plugin package for Claude Code

Readme

glance.sh plugin for Claude Code

Claude Code plugin that adds glance.sh screenshot tools via MCP.

What it does

Adds two MCP tools:

  • glance — creates/reuses a live session and returns a URL like https://glance.sh/s/<id>
  • glance_wait — waits for the next pasted image and returns Screenshot: https://glance.sh/<token>.<ext>

The server keeps a background SSE listener alive, reconnects automatically, and refreshes sessions before they expire.

Install

Recommended (npm-backed marketplace plugin):

/plugin marketplace add modem-dev/glance-agent-plugins
/plugin install glance-claude@glance-agent-plugins

This plugin is distributed as @modemdev/glance-claude and installed through Claude Code's plugin marketplace flow.

Local development (plugin dir)

From this repo root:

claude --plugin-dir ./agent-plugins/claude

Or from inside agent-plugins/:

claude --plugin-dir ./claude

Verify

  1. Run /mcp and confirm a glance server is connected.
  2. Ask Claude to call the glance tool.
  3. Open the returned https://glance.sh/s/<id> URL and paste an image.
  4. Ask Claude to call glance_wait.
  5. Confirm Claude receives Screenshot: <url>.

Update / remove

  • Update: /plugin update glance-claude
  • Remove: /plugin uninstall glance-claude

If you have multiple plugins with the same name from different marketplaces, use the fully qualified form (glance-claude@glance-agent-plugins).

Publishing (maintainers)

Releases are automated via GitHub Actions.

Prerequisite: configure NPM_TOKEN in the glance-agent-plugins repository with publish access to @modemdev/glance-claude.

  1. Bump version in both:
    • claude/package.json
    • claude/.claude-plugin/plugin.json
  2. Commit and push to main.
  3. Create and push a matching tag:
git tag claude-v0.1.0
git push origin claude-v0.1.0

The Release claude package workflow validates tag/version alignment, checks for already-published versions, runs npm pack --dry-run, and publishes with npm provenance.

How it works

Claude calls glance
  └─▶ MCP server POST /api/session
  └─▶ returns session URL

Claude calls glance_wait
  └─▶ waits for SSE image event

User pastes image at /s/<id>
  └─▶ glance.sh emits image event
  └─▶ tool returns Screenshot: <url>

Requirements

  • Claude Code with plugin support
  • Node.js runtime available to Claude Code (for stdio MCP server)

Configuration

Optional environment variable:

  • GLANCE_BASE_URL (default: https://glance.sh)