piprail

mcp
Security Audit
Warn
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Warn
  • process.env — Environment variable access in .claude/skills/branding/design/deck/assets.mjs
  • network request — Outbound network request in .claude/skills/branding/design/deck/assets.mjs
  • network request — Outbound network request in .claude/skills/branding/design/deck/build.mjs
  • crypto private key — Private key handling in .claude/skills/branding/design/deck/build.mjs
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Universal x402 payments — accept or pay crypto on any blockchain, in a couple of lines. Backendless, no fee; settled straight to your own wallet. Major chains preconfigured, any other works out of the box. TypeScript, MIT.

README.md
PipRail — the payment layer for the agent economy

@piprail/sdk
@piprail/mcp
types
license
x402 v2
chains
GitHub stars
Follow @piprailhq

Let any HTTP endpoint charge for itself, and any agent pay for itself — across every major chain, in a couple of lines.

Website · Documentation · npm


PipRail implements the open x402 "402 Payment Required" standard with no backend, no database, no account, and no fee. Payments settle straight into your wallet, verified locally against your own RPC — across every major EVM chain plus Solana, TON, Tron, NEAR, Sui, Aptos, Algorand, Stellar & the XRP Ledger. Self-custodial throughout.

📖 Full documentation → docs.piprail.com

The single, searchable source of truth — every function, option, chain, and example. This README is just the front door.

What's here

@piprail/sdk The TypeScript SDK — accept & make x402 payments. The product.
@piprail/mcp An MCP server giving any AI agent a budget-bound wallet (io.github.piprail/mcp).
integrations/ First-party agent-framework integrations — e.g. OpenClaw (clawhub install piprail) & Hermes. Each wraps @piprail/mcp; nothing new to build.
site/ · docs/ · examples/ piprail.com · the docs.piprail.com source · runnable demos.

Quick taste

npm install @piprail/sdk viem
import { requirePayment } from '@piprail/sdk'

app.get('/report',
  requirePayment({ chain: 'base', token: 'USDC', amount: '0.05', payTo: '0xYourWallet…' }),
  (_req, res) => res.json({ report: 'TOP SECRET' }),
)

That route now costs 0.05 USDC on Base, paid straight to your wallet. Point an agent at it and it pays itself — name any chain with a single chain: parameter. The full quickstart, every chain, the MCP server, spend controls, and the error model are in the docs.

Documentation & links

Spread the word

PipRail is free, open-source, and has no backend to sell you — so word of mouth is how it grows. If it saved you from building a payments backend, the best way to give back is to help other developers (and their agents) find it:

License & trademark

Code: MIT — use it, fork it, ship it, commercially or otherwise.

Name & brand: PipRail™, the logo, and the @piprail npm scope are trademarks of the PipRail project — MIT covers the code, not the name. Build on it freely; just don't call a fork "PipRail" or imply it's official. See TRADEMARK.md.


PipRail

Built for the agent economy · piprail.com

Reviews (0)

No results found