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

@favcrm/cli

v0.1.5

Published

FavCRM CLI — talk to FavCRM from your terminal via the MCP API.

Readme

favcrm CLI

Talk to FavCRM from your terminal. Wraps the public MCP server (https://api.favcrm.io/mcp) as ergonomic subcommands so humans get the same surface that AI agents do.

Install

From source

git clone https://github.com/favcrm/cli ~/Project/favcrm/cli
cd ~/Project/favcrm/cli
cargo install --path .

Pre-built

brew install favcrm/tap/favcrm         # Homebrew (macOS / Linux)
curl -fsSL favcrm.io/install.sh | sh   # curl
npm install -g @favcrm/cli             # npm

The curl script honours FAVCRM_VERSION and FAVCRM_INSTALL_DIR overrides.

Auth

Three ways to provide your fav_mcp_* API key (in priority order):

favcrm --api-key fav_mcp_...                 # CLI flag
export FAVCRM_API_KEY=fav_mcp_...            # env
favcrm login fav_mcp_...                     # writes ~/.config/favcrm/config.toml

Get a key at Settings → MCP Keys in the merchant portal.

You can also register without a key:

favcrm signup request --email [email protected] --organisation-name "Ada Studio"
favcrm signup verify --request-id <request-id> --code <code>

Quick start

favcrm whoami                                # active user / company
favcrm orgs list
favcrm orgs switch <company-id>

favcrm members search alice --limit 5
favcrm members search --inactive-days 90
favcrm members get <account-id>
favcrm members create "Ada Lovelace" --email [email protected] --phone +15550001001
favcrm members create "Ada Member" --enroll-membership --tier-id <tier-id>

favcrm bookings list --status confirmed --limit 10
favcrm bookings stats
favcrm bookings cancel <booking-id>

favcrm invoices list --status overdue
favcrm invoices send <invoice-id>

favcrm plan status
favcrm plan check --tool create_account
favcrm plan options
favcrm plan upgrade --plan-code favcrm-lite --confirm
favcrm plan portal --confirm

favcrm team invite create --email [email protected] --role staff
favcrm team invite accept-request --token <invite-token>
favcrm team invite accept-verify --token <invite-token> --code <code>

favcrm whatsapp status
favcrm whatsapp connect --mode cloud-api

favcrm doctor                                # endpoint, auth, plan, channel checks

favcrm dashboard                             # headline stats

favcrm --json bookings list                  # raw JSON for jq

Escape hatch

Any of the 165 registered MCP tools can be called directly:

favcrm tool query_favcrm_platform '{"query":"create a booking"}'
favcrm tool query_company_knowledge '{"query":"refund policy"}'
favcrm tool list_campaigns '{"limit":5}'
favcrm tool generate_image '{"prompt":"sunset","model":"gemini-2.5-flash-image"}'
favcrm tool report_agent_issue '{"title":"Missing MCP path","severity":"high","area":"mcp_tool_missing","expectedBehavior":"...","actualBehavior":"...","stepsTried":["..."],"aiAnalysis":"..."}'

See the full catalog at https://api.favcrm.io/mcp (JSON-RPC tools/list).

Public agent workflow skills for using this CLI live in favcrm/mcp/skills. The CLI stays the execution layer; the MCP repo is the public skill catalog.

Output

Default: human-friendly tables. Use --json for machine-parseable JSON (pipes well into jq).

How it works

Thin Rust client over the existing FavCRM MCP server. No business logic in the CLI — all gating (per-tool scope, per-merchant module access, plan quotas, billing links, rate limits) is enforced server-side. Token = same fav_mcp_* key your agents use.

Contributing

Issues and PRs are welcome. See CONTRIBUTING.md before opening a PR. Please report suspected vulnerabilities privately using SECURITY.md, not public issues.

License

MIT