PipRail
io.github.piprail/mcp
About PipRail
PipRail is an MCP server published by the GitHub account piprail. Budget-bound x402 payment wallet for AI agents — pays HTTP 402 URLs, capped locally. No backend.
It runs on your own machine: your AI client starts it from the npm package @piprail/mcp at version 0.10.0.
It asks for one secret: PIPRAIL_PRIVATE_KEY. Give it a key with the least access that still works.
Version 0.10.0 was published on 9 September 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
PIPRAIL_PRIVATE_KEY | No | Yes | Your wallet's private key/seed for the chosen chain. Optional: omit it to run read-only (discover/quote/register/budget/guide); set it to let the agent pay. Stays on your machine; the spend policy caps every payment. |
PIPRAIL_CHAIN | No | No | Chain to pay on (default: base). |
PIPRAIL_CHAINS | No | No | Pay across several chains (instead of PIPRAIL_CHAIN): a comma-separated list, e.g. base,polygon,solana. Give each its own PIPRAIL_<CHAIN>_KEY (+ optional PIPRAIL_<CHAIN>_RPC_URL). The agent pays whichever chain a 402 asks for — the first listed that can settle — under one shared budget. |
PIPRAIL_MAX_AMOUNT | No | No | Max spend per single payment, in token units (default: 0.10). |
PIPRAIL_MAX_TOTAL | No | No | Lifetime spend cap per token, in token units (default: 10.00). |
PIPRAIL_MAX_TOTAL_DENOM | No | No | Cross-token GRAND TOTAL: one spend cap per denomination across every stablecoin and chain, e.g. USD:20.00,EUR:5.00. Not a price oracle — sums tokens of the same unit, each counted 1:1. Native coins are excluded. |
PIPRAIL_MAX_PAYMENTS | No | No | Lifetime cap on the NUMBER of payments, across every chain + token (e.g. 100). |
PIPRAIL_MAX_PAYMENTS_PER_WINDOW | No | No | Cap on the number of payments within PIPRAIL_WINDOW_SECONDS (a rolling rate limit; set PIPRAIL_WINDOW_SECONDS too). |
PIPRAIL_WARN_AT_FRACTION | No | No | Emit an early-warning event when spend crosses this fraction of any cap, e.g. 0.8 (80%). Needs PIPRAIL_EVENT_LOG to be visible. |
PIPRAIL_SPEND_LOG | No | No | Path to a local append-only spend log. When set, the budget (lifetime, grand total, counts) SURVIVES a restart — hydrated from this file. No backend; you own the file. |
PIPRAIL_EVENT_LOG | No | No | Mirror payment events (settled / declined / budget-threshold) as one-line JSON to 'stderr' or a file path — the operator's notification stream. Default: off. |
PIPRAIL_TOKENS | No | No | Comma-separated allowed token symbols, plus the alias 'native' for the chain's coin (default: USDC). |
PIPRAIL_SCHEMES | No | No | Comma-separated payment schemes to settle (default: onchain-proof). Add 'exact' (onchain-proof,exact) to also pay standard x402 servers GASLESS on EVM + Solana (method auto-selected). Add 'upto' to also pay metered x402 servers on EVM (Permit2): sign a MAX, the server settles the actual <= max. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/piprail/piprail |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: PIPRAIL_PRIVATE_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account piprail |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @piprail/mcp@0.10.0 runs nothing at install |
| Code red flags | Pass | Read 8 files in @piprail/mcp@0.10.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 8 files, including comments and the README |
Popularity & health: 64 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
3 forks, 112 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.piprail/mcp |
|---|---|
| Publisher | GitHub account piprail |
| How the name is verified | Name verified via GitHub account piprail. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @piprail/mcp 0.10.0 (stdio) |
| Version | 0.10.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/piprail/piprail |
| Website | https://piprail.com/mcp |
| Category | Finance & payments (assigned by keyword rule, not by hand) |
Related servers in Finance & payments
- 402-LAB4/4Budget-capped x402 buyer: delegate USDC in plain words, agent…
- 16ane sandbox wallet7/7Budget-capped agent wallet: pay x402 services in tANE, a free…
- mcp-x402-pay7/7MCP server that pays x402-gated HTTP endpoints — fetch, and on a…
- 402MCP.org — HTTP 402 & Agent Payment Registry8/8Decode HTTP 402 challenges (L402, x402, MPP) and choose agent…
- x402lint7/7Lint an HTTP endpoint's x402 402 conformance; decode X-PAYMENT…
- LN Church Agent MCP6/7Inspect-only HTTP 402 surface classifier. Keyless, no wallet, no…