X402 Buyer
FreeMaintainedUniversal x402 buyer agent — discover, pay for, and call any x402 paid API endpoint from Claude Desktop, Cursor, or Claude Code with automatic USDC payment via
About
Universal x402 buyer agent — discover, pay for, and call any x402 paid API endpoint from Claude Desktop, Cursor, or Claude Code with automatic USDC payment via AgentCash.
README
The universal buyer agent for the x402 economy.
An MCP server that lets Claude Desktop, Cursor, and Claude Code users discover, pay for, and call any x402 endpoint — automatically. Ask Claude a question, and it pays for the answer with USDC.
Discovery powered by Decixa (5,500+ verified x402 endpoints) with local registry fallback.
Install
Claude Desktop / Cursor
Add to your MCP config:
{
"mcpServers": {
"x402-buyer": {
"command": "npx",
"args": ["-y", "x402-buyer-mcp"]
}
}
}
Requirements
- Node.js 18+
- AgentCash wallet set up and funded with USDC on Base
Tools
| Tool | Description |
|---|---|
x402_discover |
Search for x402 endpoints — queries Decixa's 5,500+ verified APIs with local fallback |
x402_call |
Call any x402 endpoint with automatic USDC payment via AgentCash |
x402_balance |
Check your AgentCash wallet balance |
x402_research |
Multi-endpoint parallel research — calls 3-5 endpoints simultaneously |
How It Works
- You ask Claude a question ("Is stripe.com secure?")
x402_discoversearches Decixa + local registry for matching endpointsx402_callpays the endpoint in USDC on Base via AgentCash- Data comes back, Claude synthesizes the answer
The local registry includes 8 Alderpost intelligence endpoints backed by premium sources (VirusTotal, People Data Labs, Hunter.io, AbuseIPDB, Qualys SSL Labs, NIH RxNorm, US Census, ESPN, The Odds API). Decixa extends discovery to the full x402 ecosystem.
Discovery Architecture
Primary: Decixa /api/agent/resolve — semantic search across 5,500+ verified x402 endpoints, ranked by latency, price, trust score, and capability match.
Fallback: Local registry of 8 curated Alderpost endpoints with full metadata. Used automatically if Decixa is unreachable.
This "soft swap" pattern means discovery always works, even if the network is down.
Local Registry Endpoints
| Endpoint | Price | Premium Sources |
|---|---|---|
| Domain Shield | $0.12 | VirusTotal (70+ engines) |
| Company X-Ray | $0.15 | People Data Labs, Hunter.io |
| Threat Pulse | $0.10 | VirusTotal, AbuseIPDB |
| Compliance Check | $0.15 | Qualys SSL Labs |
| Prospect IQ | $0.12 | People Data Labs, Hunter.io |
| Sports Edge | $0.12 | ESPN, The Odds API, Claude AI |
| Property Intel | $0.10 | US Census, OpenWeather |
| Health Signal | $0.10 | NIH RxNorm, FDA |
Changelog
v2.0.0
- Decixa integration — discovery now queries Decixa's
/api/agent/resolveAPI as primary source, with local registry as fallback (soft swap pattern). x402_discoverreturns results from the entire x402 ecosystem, not just Alderpost endpoints.- Added capability mapping from natural language queries to Decixa's verb-based taxonomy.
- Updated tool descriptions to reflect ecosystem-wide discovery.
- First integration partner credit from Decixa.
v1.0.5
- Fixed npm bin entry and ESM module configuration.
- CLI moved to root
cli.js.
v1.0.0
- Initial release with 4 tools and 8 Alderpost endpoints.
Credits
- Discovery: Decixa — the decision layer for AI agents
- Payment: AgentCash — USDC wallets for AI agents
- Intelligence: Alderpost — bundled intelligence APIs
Links
License
MIT — Alderpost LLC
Install X402 Buyer in Claude Desktop, Claude Code & Cursor
unyly install x402-buyer-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add x402-buyer-mcp -- npx -y x402-buyer-mcpStep-by-step: how to install X402 Buyer
FAQ
Is X402 Buyer MCP free?
Yes, X402 Buyer MCP is free — one-click install via Unyly at no cost.
Does X402 Buyer need an API key?
No, X402 Buyer runs without API keys or environment variables.
Is X402 Buyer hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install X402 Buyer in Claude Desktop, Claude Code or Cursor?
Open X402 Buyer on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Changes
Versions and requested access over time.
- New version published
- New version published
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare X402 Buyer with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
