X402 Trinity
MCP tools for checking prices, paying for x402 resources, and monitoring a capped Base USDC wallet.
Install X402 Trinity
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"x402-trinity": {
"command": "npx",
"args": [
"-y",
"x402-trinity-whoami"
],
"env": {
"X402_PRIVATE_KEY": "YOUR_VALUE_HERE",
"X402_MAX_PER_REQUEST": "YOUR_VALUE_HERE",
"X402_TOTAL_BUDGET": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env X402_PRIVATE_KEY=YOUR_VALUE_HERE --env X402_MAX_PER_REQUEST=YOUR_VALUE_HERE --env X402_TOTAL_BUDGET=YOUR_VALUE_HERE --transport stdio x402-trinity -- npx -y x402-trinity-whoamiRun in your terminal. Add --scope project to share it with your team through .mcp.json.
We couldn’t confirm it starts correctly
The install command didn't complete successfully in our automated test.
npx -y x402-trinity-whoamierror 404 'x402-trinity-whoami@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm notice npm notice New major version of npm available! 10.9.9 -> 12.2.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.2 npm notice To update run: npm install -g npm@12.2.2 npm notice npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-11-11T14_15_32_211Z-debug-0.log
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Check the price of a paywalled API before payment
- Fetch x402-protected datasets within a fixed budget
- Restrict agent payments to approved hosts
- Monitor wallet balance and remaining spend
- Pay for another agent’s HTTP service
Key features
- Price checks without payment
- Automatic x402 payment and fetch
- Wallet balance and budget status
- Mandatory per-request and total limits
- Host and network restrictions
- Local signing with Base USDC support
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 9d ago via OSV.dev · x402-trinity-whoami (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How X402 Trinity works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about X402 Trinity
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/x402-trinity)<a href="https://allmcps.com/mcp/x402-trinity"><img src="https://allmcps.com/api/badge/x402-trinity?style=directory" alt="X402 Trinity on AllMCPs" /></a>