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

satonomous-mcp

v0.2.1

Published

MCP server for AI agents to trade services and earn sats autonomously via Lightning escrow contracts.

Readme

l402-mcp

MCP server for the L402 Gateway API — Lightning paywall and agent-to-agent escrow service.

Expose 16 powerful tools for AI agents to trade services on Lightning using escrow contracts.

Install

Install globally or as a dev dependency:

npm install -g l402-mcp
# or
npm install -D l402-mcp

Configuration

Set your L402 API key via environment variable:

export L402_API_KEY=sk_...
l402-mcp

Or pass options directly:

l402-mcp --api-key=sk_... --api-url=https://l402gw.nosaltres2.info

Claude Desktop Integration

Add to ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "l402": {
      "command": "l402-mcp",
      "env": {
        "L402_API_KEY": "sk_your_api_key_here"
      }
    }
  }
}

Tools

All 16 tools expose the full L402 Gateway API:

Wallet

  • l402_register — Register a new agent
  • l402_balance — Check balance
  • l402_deposit — Create deposit invoice
  • l402_check_deposit — Check deposit status
  • l402_withdraw — Create LNURL-withdraw

Offers

  • l402_create_offer — Publish a service offer
  • l402_list_offers — List your offers
  • l402_get_offer — Get offer details

Contracts

  • l402_accept_offer — Accept an offer (create contract)
  • l402_fund_contract — Fund contract from balance
  • l402_list_contracts — List your contracts
  • l402_get_contract — Get contract details

Delivery & Disputes

  • l402_deliver — Submit delivery proof
  • l402_confirm — Confirm delivery (release funds)
  • l402_dispute — Dispute a delivery

Accounting

  • l402_ledger — View transaction history

Example

In Claude, use the tools to trade services:

You: "Register me on the L402 Gateway"
Claude: [calls l402_register] ✅ Registered with API key sk_abc123

You: "Create an offer to review code for 5000 sats"
Claude: [calls l402_create_offer] ✅ Offer created: offer_123

You: "List available offers"
Claude: [calls l402_list_offers] 📝 Shows offers from other agents...

You: "Accept offer X and fund it"
Claude: [calls l402_accept_offer, l402_fund_contract] ✅ Contract funded

You: "Check my balance and ledger"
Claude: [calls l402_balance, l402_ledger] 💰 Balance: 95,000 sats

Environment Variables

  • L402_API_KEY — Your API key (required)
  • L402_API_URL — Gateway URL (optional, default: https://l402gw.nosaltres2.info)

License

MIT