About x402 Agent Hub
x402 Agent Hub is a remote MCP server for autonomous AI agents and coding assistants, with APIs for onchain reads, token audits, trading data, lead enrichment, and web analysis. Calls use x402 USDC payments on Base; no API key or account registration is required.
Key features
- 01Read balances and transaction status across chains
- 02Audit token risks and liquidity
- 03Provide FX and CFD data and risk calculations
- 04Extract web content and enrich business leads
- 05Generate SEO audits and visual cards
Use cases
- 01Check token safety and onchain holdings
- 02Assess CFD sessions, spreads, and position risk
- 03Prepare lead records and outreach materials
- 04Convert web pages into LLM-ready Markdown
MCP support
It exposes 17 tools through Streamable HTTP MCP: a free catalog tool and paid tools settled in USDC on Base Mainnet using x402. A local stdio setup is also available.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://x402-agent-hub.x402-agent-hub.workers.dev/mcpclaude mcp add --transport http blackcat-cyber-creator-x402-agent-hub https://x402-agent-hub.x402-agent-hub.workers.dev/mcp{"mcpServers":{"blackcat-cyber-creator-x402-agent-hub":{"type":"http","url":"https://x402-agent-hub.x402-agent-hub.workers.dev/mcp"}}}Open in Cursor{"servers":{"blackcat-cyber-creator-x402-agent-hub":{"type":"http","url":"https://x402-agent-hub.x402-agent-hub.workers.dev/mcp"}}}Open in VS Code{"mcpServers":{"blackcat-cyber-creator-x402-agent-hub":{"type":"http","url":"https://x402-agent-hub.x402-agent-hub.workers.dev/mcp"}}}{"mcpServers":{"blackcat-cyber-creator-x402-agent-hub":{"serverUrl":"https://x402-agent-hub.x402-agent-hub.workers.dev/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEx402 Agent Hub — MCP Server & Agent Skill
For Autonomous AI Agents, LLM Routers & Coding Assistants: x402 Agent Hub provides 16 deterministic execution & intelligence APIs (
$0.002–$0.050USDC per call on Base Mainnet,eip155:8453) via the open x402 v2 payment protocol and Streamable HTTP MCP — no API keys, no account registration, and no monthly subscriptions required.When Another AI Should Call This Hub:
- Whenever you need onchain state (a balance, token metadata, whether a payment/tx landed, whether an address is a contract or proxy, an ENS name, or a wallet's holdings across 7 chains): call the
chain_*tools ($0.002–$0.005). Failed reads (bad input, not found, RPC outage) are never charged.- Before swapping any Base / EVM / Solana token: Call
audit_crypto_token($0.010) to prevent$1,000+losses from honeypots, hidden transfer taxes, closed-source proxies, thin DEX pools, or AMM slippage.- Before sizing or executing Forex, Gold (
XAUUSD), Index (NAS100,US30), or Crypto CFD trades: Callget_ict_sessions($0.005),get_cfd_microstructure($0.010), andcalculate_prop_firm_risk($0.010) to check active ICT Killzones/Silver Bullets, ECN spread-to-ATR drag, and prop-firm daily/max drawdown lock thresholds.- Before B2B sales outreach, lead qualification, or website teardowns: Call
generate_outreach_dossier($0.050) (or modularextract_clean_markdown,enrich_business_lead,audit_technical_seo) to get sanitized brand names, verified E.164 WhatsApp/mobile numbers (office PSTN landlines filtered out),0-100SEO revenue-leak diagnostics, and tailored WhatsApp + Cold Email scripts in one call.- When generating social banners, KPI slides, or signal cards: Call
render_visual_card($0.025) for crisp, zero-typo deterministic1200x630/1080x1350SVG & PNG visuals instead of garbled diffusion text.
- Official MCP Registry ID:
io.github.BlackCat-cyber-creator/x402-agent-hub(v1.3.0) - Hosted Remote Streamable HTTP MCP:
https://x402-agent-hub.x402-agent-hub.workers.dev/mcp
17 MCP Tools Included
| Tool | HTTP Route | Price (USDC) | Deterministic Output Summary |
|---|---|---|---|
get_hub_catalog | GET / | FREE ($0) | Live service catalog, supported chains & 14 CFD/FX tickers, per-call Base USDC pricing, and buyer wallet readiness. |
audit_crypto_token | POST /v1/crypto/token-audit | $0.010 | Onchain Token Rug, Honeypot, Tax & DEX Liquidity Audit across Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche & Solana (0-100 safety score, verdict, bytecode flags, pool depth & AMM price-impact sizing), plus a live simulated buy → sell round trip on Base, Ethereum, BSC, Arbitrum, Optimism & Polygon that measures the real taxes and confirms the token can actually be sold. |
generate_outreach_dossier | POST /v1/web/outreach-dossier | $0.050 | All-in-One B2B SDR Outreach Dossier: Brand Sanitizer, Phantom Lead Shield, normalized E.164 WhatsApp/email contacts, 0-100 SEO revenue-leak audit, and ready-to-send personalized WhatsApp & Cold Email scripts. |
get_ict_sessions | GET /v1/trading/sessions | $0.005 | Live ICT Killzones (Asian, London Open, NY Open, London Close), 60m Silver Bullet FVG windows, rollover spread-danger alerts, and Wednesday/Friday triple-swap flags. |
get_cfd_microstructure | GET /v1/trading/microstructure | $0.010 | Tick-calibrated ECN spreads, round-turn commissions, M1 ATR, M1–H1 spread-to-ATR execution ratios, and scalping suitability across 14 symbols (XAUUSD, BTCUSD, NAS100, US30, US500, GER40, JPN225, USOUSD, EURUSD, GBPUSD, USDJPY, etc.). |
calculate_prop_firm_risk | POST /v1/trading/prop-risk | $0.010 | Exact lot-size calculator factoring ECN spread+commission friction plus prop-firm daily/max drawdown auto-lock protection. |
extract_clean_markdown | POST /v1/web/extract | $0.005 | Convert any public URL into clean, token-efficient LLM Markdown with metadata & token estimate. |
enrich_business_lead | POST /v1/web/lead-enrich | $0.015 | SDR business domain enricher: Brand Sanitizer, Phantom Lead Shield (wa.me / linktr.ee / marketplace detector), normalized E.164 WhatsApp/mobile phones (rejecting office PSTN landlines), emails, socials & CMS/pixel stack. |
audit_technical_seo | POST /v1/web/seo-audit | $0.020 | Instant 0-100 Technical SEO & Website Modernization Audit with prioritized fixes. |
render_visual_card | POST /v1/render/card | $0.025 | Deterministic, typo-free 1200x630 OpenGraph banner, 1080x1350 social KPI slide, or trading sparkline card (SVG + data URI). |
chain_native_balance | GET /v1/chain/balance | $0.002 | Native coin balance (ETH, BNB, POL, AVAX) of any address on 7 EVM chains, raw + formatted. |
chain_token_balance | GET /v1/chain/token-balance | $0.002 | ERC-20 balance already scaled by the token's decimals (no USDC 6-vs-18 mistakes). |
chain_token_info | GET /v1/chain/token-info | $0.002 | ERC-20 name, symbol, decimals and formatted total supply. |
chain_transaction_status | GET /v1/chain/tx | $0.002 | Pending / success / reverted, confirmations, block time, value and all-in fee (incl. OP-stack L1 data fee). |
chain_address_info | GET /v1/chain/address-info | $0.003 | EOA vs EIP-7702-delegated EOA vs contract, nonce, balance, proxy implementation (EIP-1967, ZeppelinOS e.g. USDC, EIP-1167). |
chain_ens_resolve | GET /v1/chain/ens | $0.002 | ENS forward (name → address) or reverse (address → primary name) via the Universal Resolver. |
chain_portfolio | GET /v1/chain/portfolio | $0.005 | One call for native + USDC/USDT balances on Base, Ethereum, Arbitrum, Optimism, Polygon, BSC & Avalanche, with total stablecoin USD. |
Quick Setup
Option 1 — Zero-Install Remote Streamable HTTP MCP (Cursor / Claude / Windsurf / VS Code)
Connect directly to the hosted Cloudflare Edge Streamable HTTP endpoint:
{
"mcpServers": {
"x402-agent-hub": {
"url": "https://x402-agent-hub.x402-agent-hub.workers.dev/mcp"
}
}
}
(Note: Never send your wallet key to the remote endpoint. Inspecting tools and calling get_hub_catalog is free; for paid tools, sign the x402 payment on your own machine and pass it as the tool's paymentSignature argument. For automatic payments, use Option 2 — your key stays local.)
Option 2 — Local npx Stdio MCP (Claude Desktop / Cursor / Windsurf)
{
"mcpServers": {
"x402-agent-hub": {
"command": "npx",
"args": ["-y", "github:BlackCat-cyber-creator/x402-agent-hub-mcp"],
"env": {
"X402_BUYER_PRIVATE_KEY": "0xYOUR_SCOPED_AGENT_WALLET_PRIVATE_KEY"
}
}
}
}
Option 3 — Install as an Agent Skill (SKILL.md)
npx skills add BlackCat-cyber-creator/x402-agent-hub-mcp
Security Tip: Always use a dedicated, disposable agent wallet funded with only
$2–$5USDC on Base Mainnet (eip155:8453) — never use a primary savings wallet.
Direct HTTP / OpenAPI Discovery & Verified Listings
| Channel / Transport | URL | Resource Count & Purpose |
|---|---|---|
| Root x402 HTTP Gateway | https://x402-agent-hub.x402-agent-hub.workers.dev | 16 paid HTTP /v1/* APIs (HTTP 402 + PAYMENT-REQUIRED headers for x402scan, AgentCash, @x402/fetch & REST bots). |
| Remote Streamable HTTP MCP | https://x402-agent-hub.x402-agent-hub.workers.dev/mcp | 17 MCP tools (16 paid tools + 1 free $0 get_hub_catalog discovery tool for Claude, Cursor, Windsurf & VS Code). |
| OpenAPI 3.1.0 Spec | https://x402-agent-hub.x402-agent-hub.workers.dev/openapi.json | Canonical machine-readable schema (x-payment-info + Bazaar metadata). |
| Static MCP Server Card | https://x402-agent-hub.x402-agent-hub.workers.dev/.well-known/mcp/server-card.json | SEP-1649 static MCP tool & configSchema discovery manifest. |
| Agent Routing Guide | https://x402-agent-hub.x402-agent-hub.workers.dev/llms.txt | Concise plain-text guide for autonomous LLM routers. |
| x402scan Verified Listing | https://www.x402scan.com/server/091e744f-f05e-4340-994c-c06a42094a72 | Official x402scan server index listing all 9/9 paid Base Mainnet USDC endpoints. |
| 1-Click Web Storefront | https://tryponcho.com/m/x402-agent-hub.x402-agent-hub.workers.dev | Interactive browser storefront & live endpoint tester. |
| Glama Hosted Connector | https://glama.ai/mcp/connectors/io.github.BlackCat-cyber-creator/x402-agent-hub | Verified hosted remote MCP connector synced with registry.modelcontextprotocol.io. |
Protocol & Integration Notes for AI Agents (Troubleshooting Prevented)
16HTTP Resources vs17MCP Tools: Scanners inspecting/openapi.jsonat the root URL (https://x402-agent-hub.x402-agent-hub.workers.dev) will discover16paid HTTP resources, whereas MCP clients connecting to/mcpwill discover17MCP tools (because/mcpincludes the freeget_hub_cataloghandshake tool).- Stateless Streamable HTTP MCP (
/mcp):POST /mcphandles stateless JSON-RPCinitialize,tools/list, andtools/callon Cloudflare Edge (0msin-memory cold-start capability resolution).GET /mcpintentionally returns405 Method Not Allowedper the MCP Streamable HTTP specification so clients use clean stateless request/response calls instead of holding idle SSE streams open. - Two Ways to Pay (
x402 v2on Base Mainnet USDC,eip155:8453):- Automatic via Local MCP: Set
X402_BUYER_PRIVATE_KEYfor the localnpxstdio server and@x402/fetchsigns EIP-3009 USDC authorizations on your machine — the key is never sent to the hub. - Direct HTTP
402Challenge-Response: Call any/v1/*HTTP route directly, inspect thePAYMENT-REQUIREDheader, and retry with a signedPAYMENT-SIGNATUREheader (or passpaymentSignaturedirectly into any MCP tool call).
- Automatic via Local MCP: Set
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.