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

peer-cash-mcp

v0.1.2

Published

MCP server for preparing and tracking Peer Cash Base USDC cash-outs

Readme

Peer Cash MCP server

An MCP server for agents that need to cash out Base USDC through Peer Cash. It exposes live payout capabilities, oracle estimates, unsigned transaction preparation, receipt finalization, order reads, withdrawals, and top-ups.

The server never accepts private keys or submits transactions. Write tools return unsigned Base transactions for the host wallet to review, approve, sign, and confirm.

The repository is also an Agent Plugins 1.0 package. plugin.json identifies the package, skills/peer-cash/SKILL.md provides the portable workflow, and mcp.json starts the published server without embedding credentials.

Run

{
  "mcpServers": {
    "peer-cash": {
      "command": "npx",
      "args": ["-y", "peer-cash-mcp"]
    }
  }
}

The default environment is production and the public Base RPC is sufficient for normal reads. Optional environment variables:

| Variable | Purpose | | ------------------------- | ---------------------------------------------------------- | | PEER_CASH_ENVIRONMENT | production, preproduction, or staging | | PEER_CASH_RPC_URL | Custom Base RPC for reads and receipt finalization | | PEER_CASH_API_KEY | Curator API key when the selected environment requires one | | PEER_CASH_REFERRAL_CODE | Six-character Peer integration referral code | | PEER_CASH_REFERRER | Analytics-only ERC-8021 attribution code |

Tool flow

  1. Call peer_cash_capabilities before naming a payout platform or currency.
  2. Call peer_cash_estimate. Treat it as approximate: the binding Chainlink rate resolves when a buyer fills.
  3. Call peer_cash_prepare with a Base USDC amount in 6-decimal base units and one or more payout legs.
  4. Show the returned transaction plan and obtain explicit user approval.
  5. Submit each transaction in order through the host wallet and confirm it on Base.
  6. Call peer_cash_finalize with the confirmed createDeposit transaction hash.
  7. If accessPolicyRequired was true, call peer_cash_prepare_access_policy and submit that transaction with the depositor wallet.
  8. Persist the returned depositId for order tracking and recovery.

Unknown transaction outcomes must be inspected before any resubmission. Peer Cash errors include a code, retryability, remediation, and recovery evidence for this purpose.

Development

bun install
bun run ci

Requires Node.js 22 or newer.

Validate the portable package separately from the server test suite:

npx skills-ref validate skills/peer-cash