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

@sitedex/cli

v0.6.2

Published

Sitedex CLI + local MCP server — run audits, manage credits, and search indexed websites from the command line. Browser device-flow login (`sitedex login`) and headless API-key auth.

Readme

@sitedex/cli

The Sitedex CLI. Run audits, search the index, and pull reports from the terminal. Ships a local MCP server for Claude Code, Cursor, and any MCP client.

Install

npm install -g @sitedex/cli
sitedex login

Or one-off, no install:

npx @sitedex/cli login
npx @sitedex/cli audits create https://example.com

Use with Claude Code / Cursor

// ~/.claude/settings.json
{
  "mcpServers": {
    "sitedex": {
      "command": "npx",
      "args": ["-y", "@sitedex/cli", "mcp"]
    }
  }
}

The local MCP server gives the agent the full surface:

  • Public, no sign-in: sitedex_search, sitedex_list_sites, sitedex_get_site, sitedex_list_pages, sitedex_get_page, sitedex_get_visibility_score, sitedex_index_url
  • Account, signed in: sitedex_audits_create, sitedex_audits_get, sitedex_audits_list, sitedex_credits_balance, sitedex_whoami
  • Sign in from inside the agent: sitedex_login_start, sitedex_login_finish, sitedex_logout

The agent can call sitedex_login_start mid-session — it returns a URL to open. The user clicks Authorize in the browser, the agent calls sitedex_login_finish, and the next tool call picks up the new credentials. No restart.

Sign in

# Default — opens your browser
sitedex login

# Headless / SSH — paste a token
sitedex login --paste

# CI — non-interactive
sitedex login --token=sdx_…

sitedex whoami     # show signed-in account
sitedex logout     # sign out

Manage API keys at app.sitedex.dev/settings/api-keys.

Run audits

sitedex audits create https://example.com           # $5 per audit; first one's free
sitedex audits create https://example.com --force   # always run a new audit
sitedex audits create https://example.com --wait    # wait for the audit to finish

sitedex audits get <audit_id>
sitedex audits list <domain>

$5 per audit. Repeat audits within 24 hours come back free — useful right after a fix when you want to confirm the score moved. Every new account gets one free credit.

Credits

sitedex credits balance      # your wallet
sitedex credits ledger       # recent transactions
sitedex credits add          # open Stripe Checkout for one credit

Sites and search

sitedex sites get <domain>                          # site profile and headline score
sitedex sites list                                  # sites you've claimed
sitedex report <domain>                             # full audit report (per-question, capabilities, protocol)

sitedex search "posthog free tier limits"           # search the index
sitedex search "rate limits" --site=openai.com      # search one site
sitedex page posthog.com /pricing                   # one page as markdown

Pipe mode

sitedex sites get posthog.com --agent
sitedex audits get <id> --agent | jq

--agent returns compact JSON suitable for piping.

Environment overrides

| Variable | Default | What it does | |---|---|---| | SITEDEX_API_URL | https://api.sitedex.dev | Point the CLI at staging or a custom deployment. | | SITEDEX_TOKEN | (reads ~/.config/sitedex/credentials.json) | One-shot token. Useful in CI. |

What is Sitedex?

The live web index for AI agents. Sitedex crawls public websites, scores how well they answer real buyer questions, and serves the result over MCP, REST, and a CLI.

  • Search and read — full markdown of every indexed page, free.
  • Audit — see which questions a site answers, which it misses, and what to fix.
  • Connect — every tool above also runs as MCP, so agents in Claude Code, Cursor, or anywhere else can call them directly.

Pricing: $5 per audit. Repeat audits within 24 hours are free. Search and public reads are unmetered.

sitedex.dev · docs · GitHub