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

@stophy/cli

v2.0.8

Published

Web scraping API for AI agents, in your terminal. One API to search the web, read what people say, and look up products, places, jobs and homes. Pay only for answers.

Downloads

1,341

Readme

Stophy CLI

Web scraping API for AI agents, in your terminal. One API to search the web, read what people say, and look up products, places, jobs and homes. Pay only for answers. Results print as readable rows, or as JSON with --json.

Get started

Run one command to log in, add the Stophy skills to your AI agents, and add the Stophy MCP server:

npx -y @stophy/cli init --all

init runs three steps in order:

  1. Logs you in with your browser, unless you are already logged in.
  2. Installs the Stophy skills with npx -y skills add stophydotdev/skills.
  3. Adds the MCP server. With Claude Code on your PATH it runs claude mcp add. For any other agent it prints the exact command or snippet to use, and does not edit your config files.

| Option | What it does | | --- | --- | | --all | Run every step without asking | | --agent <name> | Set up one agent, such as claude-code or codex | | --skip-auth | Do not log in | | --skip-skills | Do not install the skills | | --skip-mcp | Do not add the MCP server |

When it finishes, init prints a summary and a first command to try. To run stophy ... commands directly, install the CLI as described below.

Install

Install with npm. You need Node.js 20 or later.

npm install -g @stophy/cli

To install without Node.js, use the standalone binary:

# macOS and Linux
curl -fsSL https://stophy.dev/install.sh | bash

# Windows (PowerShell)
irm https://stophy.dev/install.ps1 | iex

Log in

stophy login --browser

The CLI prints a code and opens stophy.dev. Check that the page shows the same code, then click Approve.

On a server with no browser, open the printed link on any other device. The server logs in when you approve.

To use an API key instead, get one from the dashboard and pass it in one of two ways:

stophy login --api-key st_...
export STOPHY_API_KEY="st_..."

Each computer gets its own key. Logging in again on the same computer replaces its key. To log out and revoke the key, run stophy logout.

Get data

Name the source, then the command:

stophy google search "bun runtime" --page 2
stophy linkedin profile satyanadella
stophy youtube search "bun runtime"
stophy google maps search --query dentist --location Berlin
stophy reddit subreddit rust
stophy youtube transcript https://youtu.be/M4TufsFlv_o
stophy tiktok profile tiktok
stophy meta ads search nike
stophy careers jobs https://boards.greenhouse.io/figma
stophy trustpilot company --companyDomain stripe.com

To see what a source can do, run stophy <source> --help. To see every option for a command, run stophy <source> <command> --help.

Options work like this:

  • Give an option once, or give a list as --features live,hd or --features live --features hd.
  • Turn a yes-or-no option on with --flag and off with --no-flag.
  • To point at one thing, give its link or its id as the argument, like stophy youtube video https://youtu.be/M4TufsFlv_o or stophy youtube video M4TufsFlv_o. Or use the matching option, like --videoUrl or --videoId. Send one, not both.
  • If you give a value the command does not accept, the CLI stops before it calls Stophy and says which values work.

To change the output:

  • By default, lists print one row per result with its title and link. Other results print as name: value lines.
  • --json prints the data as JSON and prints the credits used to stderr.
  • --raw prints the full response, including its request id.
  • -o <path> writes the output to a file.

Each command returns one page of results, as the site shows it. Some commands take a page number: the output shows page, and you run the same command with --page 2 for the next page. Stop when a page has no results. Others end with a cursor when there is more: run the same command with --cursor <cursor> to get the next page.

Some commands work without logging in, within a small free allowance. stophy endpoints marks them free. Every other command needs a login or an API key.

When a request fails, the error ends with Request id: <id>. Include it when you report a problem.

Check your account

stophy status
stophy usage
stophy logs --days 7

status shows your login and balance. usage shows your balance and your all-time usage. logs shows your recent requests.

Commands

| Command | What it does | | --- | --- | | stophy init | Log in, install the agent skills, and add the MCP server | | stophy login | Log in with your browser or an API key | | stophy logout | Log out and revoke this computer's key | | stophy <source> <command> | Get data, for example stophy youtube search | | stophy endpoints [word] | List every command and its cost | | stophy status | Show your login, balance, and CLI version | | stophy usage | Show your balance and all-time usage | | stophy logs | Show your recent requests | | stophy doctor | Check your install, login, and connection | | stophy version | Show the CLI version |

The CLI tells you when a newer version is available. To turn off the check, set STOPHY_NO_UPDATE_CHECK=1.

More

License

MIT