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

llmpulse-cli

v1.0.1

Published

Official CLI for LLM Pulse — AI visibility analytics across ChatGPT, Perplexity, Gemini & Google AI Overviews. Track brand mentions, citations, sentiment & share of voice from your terminal. Commands: status dashboards, period diffs, live watch, full repo

Readme

llmpulse-cli

The official CLI for LLM Pulse — the AI visibility analytics platform that tracks how your brand appears across ChatGPT, Perplexity, Gemini, Google AI Overviews, and other AI search engines.

Monitor brand mentions, citations, sentiment, and share of voice directly from your terminal. Export data, generate reports, and automate AI visibility tracking in your workflows.

Installation

# npm
npm install -g llmpulse-cli

# pnpm
pnpm add -g llmpulse-cli

# yarn
yarn global add llmpulse-cli

# bun
bun add -g llmpulse-cli

# Run without installing
npx llmpulse-cli status

Quick Start

# Interactive setup — validates your key and sets defaults
llmpulse login

# Quick project dashboard with sparklines
llmpulse status

# Weekly visibility report
llmpulse report --range 7

# Compare this week vs last week
llmpulse diff --range 7 --compare 7

# Live-updating dashboard
llmpulse watch --interval 30

Get your API key from the LLM Pulse dashboard (Scale plan or above).

Commands

Dashboard & Reports

| Command | Description | |---------|-------------| | login | Interactive setup — configure API key and default project | | status | Quick dashboard: metrics, sparklines, SoV, top prompts | | diff | Compare metrics between two time periods | | report | Full visibility report (terminal or --markdown) | | watch | Live auto-refreshing dashboard | | export | Export full project data to JSON + CSV files |

Data Queries

| Command | Description | |---------|-------------| | dimensions projects | List/get projects | | dimensions competitors | List/get competitors | | dimensions collections | List collections/tags | | dimensions tags | Alias for collections/tags | | dimensions models | List AI models (ChatGPT, Perplexity, Gemini, etc.) | | dimensions locales | List tracked countries and languages | | dimensions prompts | List tracked prompts | | dimensions executions | List prompt executions | | dimensions mentions | List brand mentions in AI responses | | dimensions citations | List brand citations (URLs) in AI responses | | dimensions competitor-mentions | List competitor mentions | | dimensions competitor-citations | List competitor citations | | dimensions all-mentions | All mentions (brand + competitors) | | dimensions all-citations | All citations (brand + competitors) | | dimensions agent-bots | List the AI bot/crawler catalog and companies (no project required) | | citations list | Grouped citation intelligence by URL/domain/host | | citations get <url_sha256> | URL-level cited-page intelligence and evidence | | citations occurrences <url_sha256> | Answers where a cited URL appeared | | citations content <url_sha256> | Sanitized cached page content for a cited URL | | metrics timeseries | Time series data (mentions, citations, visibility, etc.) | | metrics summary | Aggregated metrics summary | | metrics prompt-summary | Per-prompt performance breakdown | | metrics sov | Share of voice analysis | | metrics top-sources | Top citing domains | | metrics agent-traffic | Aggregated AI bot/crawler traffic (Scale plan or above) | | metrics ai-model-summary | Aggregate AI Model Insights summary | | metrics ai-model-positions | AI Model Insights position-distribution comparison | | metrics ai-overview-results | Google AI Overview result-availability aggregates | | answers list | List AI model responses | | answers get <id> | Full response with mentions, citations, sentiments, shopping products, brand entities, and optional source page details | | sentiments list | Sentiment analysis records | | recommendations list | List recommendation runs | | recommendations get <id> | Get one recommendation run with items and source refs | | intelligence-tasks list | List content intelligence tasks | | intelligence-tasks get <id> | Get one task with full result data |

Write Operations

These commands mutate data and require a writable API key (and, where noted, a specific plan). The target project is taken from --project-id or your default project.

| Command | Description | |---------|-------------| | prompts create <text>... | Add prompts in bulk (--country-code and --language-code required) | | prompts assign-tags | Attach tags/collections to prompts (--prompt-ids, --tag-ids/--tag-names) | | competitors create | Track a competitor (--brand-name, --domain, optional --matching-names) | | collections create | Create a collection/tag (--name, optional --prompt-ids) | | annotations create | Create a timeline annotation (--title; Growth plan or above) | | intelligence-tasks create | Queue a content intelligence task (--task-type) | | reports technical-geo | Queue a technical GEO report for a URL (--url) |

# Add prompts (each prompt is a positional argument, so commas are preserved)
llmpulse prompts create "best crm for startups" "top crm tools, ranked" \
  --country-code US --language-code en

# Tag prompts, creating any missing tag names
llmpulse prompts assign-tags --prompt-ids 101,102 --tag-names "crm,priority" --create-missing

# Track a competitor
llmpulse competitors create --brand-name "Acme" --domain acme.com --matching-names "Acme Inc,Acme Co"

Configuration

| Command | Description | |---------|-------------| | config set/get/show | Manage configuration | | config use <profile> | Switch between profiles (e.g., production, staging) | | config profiles | List all profiles | | completions bash\|zsh\|fish | Generate shell autocompletions |

Output Formats

All data commands support three output formats via --format / -f:

  • JSON (default) — pretty-printed on TTY, compact when piped (works with jq)
  • Table — colored, auto-sized columns with sparklines and percent bars
  • CSV — standard CSV for spreadsheets and data pipelines
# Pipe to jq
llmpulse metrics summary --metrics mentions,visibility | jq '.summary'

# Export to CSV
llmpulse dimensions citations --all -f csv > citations.csv

# Auto-paginate all results
llmpulse dimensions mentions --all -f csv > all-mentions.csv

# Include the main brand in the competitor list
llmpulse dimensions competitors list --include-project-brand

# Review recommendation runs
llmpulse recommendations list
llmpulse recommendations get 123

Global Flags

| Flag | Short | Description | |------|-------|-------------| | --api-key | -k | Override API key | | --base-url | | Override base URL | | --project-id | -p | Override default project | | --format | -f | Output: json, table, csv | | --page | | Page number | | --per-page | | Items per page (max 100) | | --all | | Auto-paginate all results | | --verbose | -v | Show request URL, timing, request ID |

Configuration

Config is stored in ~/.llmpulse/config.json with optional profile overrides.

Priority: CLI flag > environment variable > config file > default

| Config Key | Environment Variable | Default | |------------|---------------------|---------| | api_key | LLMPULSE_API_KEY | — | | base_url | LLMPULSE_BASE_URL | https://api.llmpulse.ai/api/v1 | | default_project_id | LLMPULSE_PROJECT_ID | — |

Profiles

Switch between multiple accounts or environments:

llmpulse config use production
llmpulse config set api_key llmpulse_prod_xxx

llmpulse config use staging
llmpulse config set api_key llmpulse_staging_xxx

llmpulse config profiles     # List all profiles
llmpulse config use production  # Switch back

Shell Completions

# Bash — add to ~/.bashrc
eval "$(llmpulse completions bash)"

# Zsh — add to ~/.zshrc
eval "$(llmpulse completions zsh)"

# Fish
llmpulse completions fish > ~/.config/fish/completions/llmpulse.fish

What is LLM Pulse?

LLM Pulse is an AI visibility analytics platform that monitors how brands appear in AI-generated search results. It tracks brand mentions, citations, and sentiment across leading AI models including ChatGPT, Perplexity, Gemini, Google AI Overviews, and Google AI Mode.

Key features include:

Related

Requirements

  • Node.js >= 18
  • LLM Pulse API key (Scale plan or above)

License

MIT