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

crypto-payments-mcp

v1.0.3

Published

MCP server that lets AI agents read crypto wallets and prove on-chain payments (x402 close-loop) across ETH and SOL — no API key, no backend, free public RPCs.

Readme

crypto-payments-mcp

🌐 crypto-payments-mcp.online — live demo, tool reference, and install links.

An MCP server that lets AI agents read crypto wallets and prove on-chain payments across Ethereum and Solana.

It exists for one job: the x402 close-loop. Before an agent hands over work (an API response, a file, a result), it can verify the buyer's payment actually landed at the expected address — on-chain, with no backend and no API key.

Why this exists

Agents that sell things on-chain can't easily answer "did I get paid?" The primitives are not one-liners:

  • Proving a transfer hit a specific recipient (native ETH/SOL or an ERC-20 like USDC)
  • Reading an address's native + token balances
  • Decoding what a transaction actually did
  • Resolving ENS names so a payment request can arrive as vitalik.eth

crypto-payments-mcp wraps those reads behind clean MCP tools so any agent client can call them.

Install

npx -y crypto-payments-mcp

Or add it to your agent's MCP config:

{
  "mcpServers": {
    "crypto-payments-mcp": {
      "command": "npx",
      "args": ["-y", "crypto-payments-mcp"]
    }
  }
}

Works with Claude, Cursor, Hermes, ElizaOS, and any MCP client.

A hosted HTTP endpoint is also available for remote clients:

https://crypto-payments-mcp.irun2themoney.workers.dev/mcp

Tools

| Tool | What it does | |------|--------------| | verify_payment | Confirm a payment reached the expected recipient (native ETH/SOL or ERC-20). The x402 close-loop. | | wallet_balance | Native + ERC-20 balance for any address. | | token_info | ERC-20 metadata (symbol, name, decimals) from a contract. | | decode_transaction | From/to/value + ERC-20 transfer for an Ethereum tx. | | resolve_ens | ENS name → address, or address → primary ENS name. | | chain_status | Latest block/slot — a quick chain-liveness check. | | token_price | Spot USD price via a Chainlink feed (no API key). | | transaction_history | PREMIUM — recent transactions for an address (indexer view free RPCs can't give). Gated by an on-chain payment. |

How it works

  • No API key, no backend, no accounts. On-chain reads use free public RPCs (llamarpc for ETH, Solana mainnet for SOL).
  • Stateless and safe-fail. If a chain can't be reached, the tool reports the error instead of guessing.
  • Zero dependencies. Pure Node stdlib — drop it into any agent runtime.

Premium tool (x402)

Six tools are free to drive adoption. transaction_history is premium: an agent pays our address on-chain, then calls again with the payment tx hash; the server verifies the payment via verify_payment before returning data. No backend, no accounts — the payment is the access key.

  • Price: 0.5 USDC (ERC-20), 0.001 ETH, or 0.01 SOL.
  • Receive: ETH/USDC 0xc62b0aCba58E2Fc31cE2d27721Ee51154a808f52, SOL D19x8rMGo9dCv98UGaNuv6SM2Xov8Q5TxCkjrmfeynmn

License

MIT. Free to use, modify, and ship inside your own agent. Last verified: 2026-07-15 22:21 UTC