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

@coreviz/cli

v1.5.3

Published

CoreViz CLI tool

Readme

The World's Most Powerful Visual Copilot

CoreViz is a Vision AI platform for teams and individuals working with thousands of visual assets.

@coreviz/cli

An AI-powered CLI for working with photos. Semantically search, edit, tag and generate metadata for thousands of photos right from the command line.

Installation

npm install -g @coreviz/cli

Usage

# Run directly with npx
npx @coreviz/cli [command]

# Or if installed globally
coreviz [command]

Commands

AI Features

Describe an image:

npx @coreviz/cli describe path/to/image.jpg

Screenshot of CoreViz CLI describing an image using AI.

Edit an image with a text prompt (🍌 Nano Banan + Flux Kontext in the CLI!):

npx @coreviz/cli edit path/to/image.jpg --prompt "make it cyberpunk style"

Screenshot of CoreViz CLI editing an image using AI.

Generate tags or classify an image:

npx @coreviz/cli tag path/to/image.jpg "objects in the image"

Classify an image using specific choices:

npx @coreviz/cli tag path/to/image.jpg --choices "receipt,invoice,document" --single

Run tagging locally (offline capable):

npx @coreviz/cli tag path/to/image.jpg "prompt" --mode local

Search local images using natural language:

npx @coreviz/cli search "a person wearing a red t-shirt"

Screenshot of CoreViz CLI visually searching through a folder using AI.

This will index the images in your current directory (creating a .index.db file) and return the top matches for your query.

You can also use the cloud API for embeddings:

npx @coreviz/cli search "query" --mode api

Scripting

All commands support a --quiet flag to suppress UI output and return only raw results.

# Returns only the file path of the edited image
npx @coreviz/cli edit image.jpg "prompt" --quiet

Authentication

Login to CoreViz using device authorization:

npx @coreviz/cli login

Logout:

npx @coreviz/cli logout

Check login status:

npx @coreviz/cli whoami

MCP Server (Claude Code Integration)

@coreviz/cli includes a built-in MCP server that exposes your CoreViz visual library as tools for Claude Code and other MCP-compatible AI agents — turning CoreViz into a visual memory for your AI workflows.

Setup

  1. Login (if you haven't already):

    npx @coreviz/cli login
  2. Connect to your MCP client:

Claude Code — Install the plugin (recommended):

claude plugin marketplace add coreviz/cli
claude plugin install coreviz@coreviz

Or configure MCP manually in ~/.claude/settings.json:

{
  "mcpServers": {
    "coreviz": {
      "command": "npx",
      "args": ["coreviz-mcp"]
    }
  }
}

Claude Desktop — Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "coreviz": {
      "command": "npx",
      "args": ["coreviz-mcp"]
    }
  }
}
  1. In Claude Code, run /mcp to confirm the server is connected.

Available MCP Tools

| Tool | Description | |------|-------------| | list_collections | List all collections in your workspace | | create_collection | Create a new collection | | browse_media | Navigate folders and list media items | | search_media | Semantic search across all your media | | get_media | Get full details, tags, and detected objects for an item | | get_tags | Aggregate all tags across a collection | | find_similar | Find visually similar images by object ID | | analyze_image | Run AI vision analysis on an image URL | | create_folder | Create a new folder | | move_item | Move a file or folder | | rename_item | Rename a file or folder | | add_tag | Add a tag to a media item | | remove_tag | Remove a tag from a media item | | upload_media | Upload a local photo or video file to a collection |

Local development override

{
  "mcpServers": {
    "coreviz": {
      "command": "node",
      "args": ["/path/to/@coreviz/cli/bin/mcp.js"],
      "env": {
        "COREVIZ_API_URL": "http://localhost:3000"
      }
    }
  }
}

You can also authenticate via environment variable instead of coreviz login:

COREVIZ_API_KEY=your_key npx coreviz-mcp

Development

  1. Install dependencies:

    cd cli
    npm install
  2. Run local CLI:

    node bin/cli.js --help
  3. Run local MCP server:

    node bin/mcp.js