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

clawmpp

v0.1.0

Published

Machine Payments Protocol integration for OpenClaw — one wallet, every AI service

Readme

ClawMPP

Machine Payments Protocol integration for OpenClaw. One wallet, every AI service, no API keys.

Fund your agent's wallet once and pay per call for any MPP-enabled service (Anthropic, OpenAI, Dune, Alchemy, etc.) in the Tempo directory — no accounts, no API keys, no subscriptions.

Quick Start

As an OpenClaw plugin

Install ClawMPP in your OpenClaw extensions directory:

npm install clawmpp

Add to your openclaw.json:

{
  "plugins": {
    "entries": {
      "clawmpp": {
        "enabled": true
      }
    }
  }
}

Create a standalone config at ~/.openclaw/clawmpp/config.json:

{
  "enabled": true,
  "tempo": {
    "address": "0xYOUR_WALLET_ADDRESS",
    "maxDeposit": "1"
  },
  "limits": {
    "per_call": 1.00,
    "per_session": 20.00,
    "daily": 100.00
  },
  "auto_approve_under": 0.25
}

Set the wallet private key as an environment variable:

export CLAWMPP_PRIVATE_KEY=0x...

Standalone CLI

# Create a wallet
npx clawmpp wallet create

# Configure limits
npx clawmpp config set limits.daily 50

# Check status
npx clawmpp status

# Test a payment
CLAWMPP_PRIVATE_KEY=0x... npx clawmpp test

Wallet Setup

Testnet

Generate a wallet and fund it via the Tempo faucet:

npx clawmpp setup --testnet

Or use the mppx CLI directly:

npx mppx account create    # auto-funded on testnet
npx mppx account fund      # fund again if needed

On Windows, use scripts/testnet-setup.mts which bypasses the OS keychain requirement:

npx tsx scripts/testnet-setup.mts

Mainnet

  1. Generate a wallet with npx clawmpp wallet create
  2. Import the private key into MetaMask
  3. Bridge USDC to Tempo mainnet (chain ID 4217) — use the native USDC token (0x20C000000000000000000000b9537d11c60E8b50), not bridged USDC.e
  4. Set "testnet": false in your config

Plugin Tools

When loaded in OpenClaw, ClawMPP registers three tools for the agent:

| Tool | Description | |------|-------------| | mpp_fetch | Make HTTP requests with automatic MPP payment handling | | mpp_spending | Check spending summary and remaining budget | | mpp_wallet | Get the active wallet address |

And a slash command: /mppstatus — shows spending summary and wallet info.

Spending Controls

All payments are subject to configurable limits:

  • per_call — max USD per single payment (default: $1.00)
  • per_session — max USD per session (default: $20.00)
  • daily — max USD per day (default: $100.00)
  • auto_approve_under — auto-approve payments below this amount (default: $0.25)
  • allowed_services / blocked_services — whitelist/blacklist by hostname

Configuration

ClawMPP reads config from two sources, in priority order:

  1. OpenClaw plugin configplugins.entries.clawmpp.config in openclaw.json
  2. Standalone file~/.openclaw/clawmpp/config.json

If the plugin config block is empty, the standalone file is used as fallback.

Session Deposits

Services that use streaming (like OpenAI) require session payment channels. Configure with:

{
  "tempo": {
    "maxDeposit": "1"
  }
}
  • deposit — fixed deposit amount in human-readable units (e.g. "1" = $1)
  • maxDeposit — cap on server-suggested deposit (recommended)

License

MIT