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

cleanleads

v0.1.3

Published

CleanLeads CLI and MCP server — B2B lead search, people search, email/phone validation and enrichment from the command line or any AI agent.

Readme

cleanleads

CleanLeads CLI and MCP server. Search businesses, find decision-makers, validate and enrich emails/phones, and manage your saved lists — from the terminal or from any AI agent (Claude, ChatGPT, Cursor, etc.) over Model Context Protocol.

Install

npm install -g cleanleads

Or run one-off with npx:

npx cleanleads --help

Setup

  1. Get an API key from your CleanLeads account (Account → API Key), or provision one:
cleanleads register --invite <invite-code> --email [email protected] --password <12+ chars>
  1. Log in:
cleanleads login

This prints an 8-character code and opens your browser. Enter the code on the authorization page and the CLI receives its own dedicated API key — existing keys and integrations are never touched. Revoke a device's key anytime from Settings → Security. Prefer to paste a key instead?

cleanleads login --key cl_your_key_here

Config is stored in ~/.cleanleads/config.json. Environment variables CLEANLEADS_API_KEY and CLEANLEADS_BASE_URL override it.

Examples

# Account + credits
cleanleads account
cleanleads credits 20

# Find MSPs in Austin, save as a list
cleanleads search-businesses "managed service providers" "Austin, TX" --limit 10
cleanleads search-businesses dentists "Austin, TX" --save "Austin Dentists"

# Decision makers by criteria (charged per person found)
cleanleads search-people --preset decision-makers --industry msp --location "Charlotte, NC" --limit 5

# People at a known company
cleanleads find-people acme.com --departments executive,sales --limit 5

# Emails
cleanleads domain-emails acme.com
cleanleads find-email Jane Doe acme.com
cleanleads linkedin-email https://www.linkedin.com/in/janedoe

# Enrichment
cleanleads enrich --first Jane --last Doe --company Acme --website acme.com
cleanleads enrich --premium --first Jane --last Doe --company Acme   # adds phone lookup

# Validation
cleanleads validate email [email protected]
cleanleads validate phone "+1 512 555 0100"

# Saved data
cleanleads lists
cleanleads contacts --has-email --status ENRICHED --limit 20

Use with AI agents (MCP)

Hosted remote MCP (recommended)

Point any MCP-compatible client at:

  • URL: https://www.cleanleadsai.com/api/mcp
  • Header: X-API-Key: cl_your_key_here

Local stdio MCP via this CLI

Add to your client's MCP config (e.g. Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "cleanleads": {
      "command": "npx",
      "args": ["-y", "cleanleads", "mcp"],
      "env": { "CLEANLEADS_API_KEY": "cl_your_key_here" }
    }
  }
}

The stdio bridge exposes the same tools as the hosted server; every call is billed to the authenticated account's credits.

Billing notes

  • Business/local search is free.
  • Email finds, enrichment, and people search consume credits per record.
  • Explore with small limits (--limit 5) before scaling up.

Docs

Live tool catalogue: GET https://www.cleanleadsai.com/api/tools