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

pay-per-call-mcp

v0.5.2

Published

MCP server — pay-per-call USDC micropayments for any HTTP API. Give your AI agent a USDC wallet. Works with Claude Desktop, Cursor, Cline. No signup needed (Demo Mode).

Downloads

490

Readme

pay-per-call-mcp — AI Agent Payment MCP Server

Pay-per-call USDC micropayments for any HTTP API. Give your AI agent a USDC spending wallet — works with Claude Desktop, Cursor, Cline, and any MCP client. No signup needed in Demo Mode.

npm version npm downloads MCP License: MIT

📦 v0.5.2: This package forwards to agent-payment-mcp. Both names work — pay-per-call-mcp is kept for existing configs.


What it does

pay-per-call-mcp lets an AI agent pay for HTTP API calls with USDC — no human approval needed per call.

  • Agent calls a tool → USDC deducted from its wallet → API responds
  • Kill switch + per-session spend limit built in
  • Demo Mode: try instantly without any account or balance

Try in 30 seconds (Demo Mode)

In Claude Desktop / Cursor / Cline — add to your MCP config:

{
  "mcpServers": {
    "pay-per-call": {
      "command": "npx",
      "args": ["-y", "pay-per-call-mcp"]
    }
  }
}

Leave LEMON_CAKE_BUYER_JWT unset → Demo Mode activates automatically. Calls hit real APIs (Wikipedia, httpbin, live FX rates) with no charges.

Live mode (real USDC)

  1. Sign up at lemoncake.xyz
  2. Top up with USDC (min $5)
  3. Copy your Buyer JWT from the dashboard
  4. Add to config:
{
  "mcpServers": {
    "pay-per-call": {
      "command": "npx",
      "args": ["-y", "pay-per-call-mcp"],
      "env": {
        "LEMON_CAKE_BUYER_JWT": "eyJhbGci..."
      }
    }
  }
}

Tools provided

| Tool | Description | |---|---| | fetch_url | Pay-per-call HTTP GET — any public API | | check_balance | Show remaining USDC balance | | set_spend_limit | Cap total spend for this session | | kill_switch | Halt all further charges immediately |

For MCP server developers

Want to add pay-per-call billing to your own MCP server? Use @lemon-cake/mcp-sdk:

npm install @lemon-cake/mcp-sdk
const lc = createLemonCakeSDK({ sellerKey: process.env.LEMONCAKE_SELLER_KEY });
execute: lc.charge({ price: 0.05 })(yourHandler)

License

MIT — LemonCake