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

x402-toolkit

v0.1.0

Published

A zero-config x402 payment client for AI agents — wallet management, capability discovery, and 210+ pre-wired data tools via x402 protocol on Base

Readme

x402-toolkit

Zero-config x402 payment client for AI agents. 210+ data tools — market data, chain analytics, research, weather — all paid automatically in USDC on Base. No API keys.

npx -y x402-toolkit        # start MCP server (exposes all tools to Claude Code, Cursor, etc.)
npm install x402-toolkit   # or use programmatically

Quick Start

export X402_PRIVATE_KEY=0x...your_base_wallet_private_key...
npx -y x402-toolkit

Add to Claude Code:

{
  "mcpServers": {
    "x402-toolkit": {
      "command": "npx",
      "args": ["-y", "x402-toolkit"],
      "env": { "X402_PRIVATE_KEY": "0x..." }
    }
  }
}

$5 USDC covers 280–5,000 data calls. Each call runs against the best available x402 endpoint — pre-wired, no configuration.

Tools

| Category | Functions | Price | |---|---|---| | US Equities | getStockPrice, getOptionsChain, getGEX, getInsiderTrades, getAnalystRatings | $0.001–$0.015/call | | Crypto & DeFi | getCryptoPulse, getDeFiYields, getKimchiPremium | $0.003–$0.008/call | | Prediction Markets | getPolymarket, getPolymarketWhales | $0.004–$0.007/call | | Company Intel | getCompanyDueDiligence, getSecFilings | $0.008–$0.012/call | | Chain Analytics | getWalletBalance, getChainPulse, getEVMLogs | $0.003–$0.005/call | | Research | searchArxiv, getClinicalTrials, searchLegal | $0.004–$0.008/call | | Weather / Travel | getWeather, getAirQuality, getFlightTracker | $0.005–$0.007/call | | Web Intelligence | scrapeContent, getWhois | $0.003–$0.006/call | | Macro | getMacroIndicators, getTreasuryYields, getFOMC | $0.003–$0.005/call | | Sentiment | getNewsSentiment, getMarketOverview, getCommodityFutures | $0.003–$0.005/call | | Forex | getForexRates | $0.003/call |

Default provider: the-stall.intuitek.ai — override with X402_BASE_URL.

Wallet Setup

npx x402-toolkit wallet    # print your wallet address + funding instructions

Or use a CDP-managed wallet:

export CDP_API_KEY_NAME=...
export CDP_API_KEY_PRIVATE_KEY=...

CDP path auto-creates a wallet on first run. No private key management.

Programmatic Use

import { getStockPrice, getMarketOverview } from "x402-toolkit";

// X402_PRIVATE_KEY must be set in env
const price = await getStockPrice("AAPL");
const market = await getMarketOverview();

Weekly Watch Templates

Templates create recurring paid jobs:

import { createPriceAlert, createMarketRegimeMonitor } from "x402-toolkit/templates";

// Fire daily at 9am if AAPL drops below $180
createPriceAlert({
  ticker: "AAPL",
  threshold: { below: 180 },
  schedule: "0 9 * * 1-5",
  notify: process.env.NOTIFY_WEBHOOK,
});

// Weekly market regime digest every Monday 7am
createMarketRegimeMonitor({
  schedule: "0 7 * * 1",
  notify: process.env.NOTIFY_WEBHOOK,
});

Override Defaults

Point to any x402-compatible endpoint:

export X402_BASE_URL=https://your-x402-provider.example.com/cap

License

MIT