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

@xodn348/clawpay

v0.8.0

Published

Open-source AI Shopping Agent — AI buys products online using Lithic virtual cards via MCP

Readme

Lithic MCP Coverage: 100% License: Apache 2.0 Stripe PayPal

ClawPay

AI Shopping Agent — connects your AI to Lithic virtual cards, Stripe, and PayPal.

[!WARNING] Production mode by default. Real transactions, real money. Set LITHIC_ENVIRONMENT=sandbox for testing.


⚖️ Legal Notice

ClawPay is a SOFTWARE CONNECTOR ONLY. We do NOT:

  • Handle, hold, or transmit your funds
  • Act as a money transmitter or payment processor
  • Have access to your money at any time

Money flows directly: YOU ↔ Lithic / Stripe / PayPal. ClawPay only connects APIs and automates browser forms.

You are responsible for compliance with payment provider terms and applicable laws. See DISCLAIMER.md for full legal terms.


Quick Start

npm install -g @xodn348/clawpay
npx playwright install chromium
export LITHIC_API_KEY=your_production_key
clawpay install

Then ask your AI: "Buy me a blue t-shirt on automationexercise.com"


How It Works

  1. Tell your AI what to buy and where
  2. ClawPay navigates the store and shows you a summary
  3. You confirm — no auto-purchase ever
  4. A Lithic single-use virtual card is created and used for checkout
  5. Card self-destructs. PAN/CVV never touch disk or logs.

MCP Tools

| Tool | Description | |------|-------------| | setup_lithic | Configure Lithic virtual card API | | browse_and_buy | AI shopping with single-use virtual card | | setup_payment | Configure Stripe payment method | | pay | Charge via Stripe | | get_balance | Stripe account balance | | list_transactions | Recent Stripe payments | | refund | Issue Stripe refund | | setup_paypal | Configure PayPal | | send_paypal | Send money via PayPal |


Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | LITHIC_API_KEY | Yes (shopping) | — | Lithic API key | | LITHIC_ENVIRONMENT | No | production | production or sandbox | | STRIPE_SECRET_KEY | Yes (Stripe) | — | Stripe secret key | | PAYPAL_CLIENT_ID | Yes (PayPal) | — | PayPal client ID | | PAYPAL_CLIENT_SECRET | Yes (PayPal) | — | PayPal client secret | | PAYPAL_ENVIRONMENT | No | production | production or sandbox |


Guardrails

Default limits: $100/transaction, $500/day, USD only.

Override in ~/.clawpay/config.json:

{
  "guardrails": {
    "maxAmountPerTransactionCents": 10000,
    "maxDailySpendCents": 50000,
    "allowedCurrencies": ["usd"]
  }
}

Client Setup

Claude Code:

claude mcp add -s user clawpay -e LITHIC_API_KEY=your_key -- clawpay

opencode.json / Claude Desktop / Cursor:

{
  "mcp": {
    "clawpay": {
      "type": "local",
      "command": ["clawpay"],
      "environment": { "LITHIC_API_KEY": "your_key" }
    }
  }
}

Security

  • PAN/CVV exist in memory only during checkout — never logged, never stored
  • Stripe card data handled by PCI-compliant Stripe Checkout
  • All actions logged to ~/.clawpay/audit.log (no sensitive data)
  • Guardrails block excessive spending before it reaches the API

For vulnerabilities: SECURITY.md


License

Apache 2.0 — LICENSE. Full legal terms: DISCLAIMER.md.