io.github.lucle87/boo-x402-mcp

السجل الرسمي المالية والمدفوعات

Pay-per-call crypto data for AI agents. USDC on Base via x402. No API key.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package boo-x402-mcp
Claude Code
claude mcp add boo-x402-mcp -e 'WALLET_PRIVATE_KEY=<your wallet_private_key>' -e 'MAX_USD_PER_CALL=<MAX_USD_PER_CALL>' -e 'MAX_USD_TOTAL=<MAX_USD_TOTAL>' -- npx -y boo-x402-mcp@1.0.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "boo-x402-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "boo-x402-mcp@1.0.1"
            ],
            "env": {
                "WALLET_PRIVATE_KEY": "<your wallet_private_key>",
                "MAX_USD_PER_CALL": "<MAX_USD_PER_CALL>",
                "MAX_USD_TOTAL": "<MAX_USD_TOTAL>"
            }
        }
    }
}

متغيرات البيئة

  • WALLET_PRIVATE_KEY إلزامي سري Private key of a wallet holding USDC on Base. Stays on your machine.
  • MAX_USD_PER_CALL Max USD per single call (default 0.05).
  • MAX_USD_TOTAL Max USD per session (default 5).

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. boo-x402-mcp
  2. Why
  3. Tools (34 paid + 2 free)
  4. Install
  5. Wallet
  6. Spend caps
  7. Data
  8. License

boo-x402-mcp

One MCP server giving AI agents pay-per-call access to crypto/web3 ground-truth data across 5 chains: Ethereum, BNB Chain, Base, Solana, and Robinhood Chain (chain_id 4663).

Paid in USDC on Base via x402. No API key. No signup. No subscription. Built-in spend caps.

Why

Agents cannot sign up for API keys. x402 lets your agent pay per call with a signature. This server wraps a fleet of data APIs behind one install, routes each question to the right backend, and enforces a spending limit before the wallet ever signs.

Tools (34 paid + 2 free)

Call x402_list_paid_tools (FREE) first to see everything with live prices.

Safety (use before you buy)

ToolPriceChains
token_rugcheck$0.01eth, bnb, base, solana, rhchain
token_holders$0.01eth, bnb, base, solana, rhchain
contract_safety$0.01eth, bnb, base
wallet_risk$0.01eth, bnb, base, solana
wallet_sanctions$0.01OFAC screen
wallet_signal$0.02composite verdict
solana_bundle_check$0.015solana (sniper/bundle detection)

Meme tokens

ToolPrice
meme_discover$0.01
token_momentum$0.01
meme_signal$0.02 (composite)

Token data

ToolPrice
token_price$0.01
token_supply$0.01
token_snapshot$0.015 (price + supply + safety)

Market & DeFi

ToolPrice
fear_greed$0.005
gas_oracle$0.005
ens_resolve$0.005
defi_tvl$0.01
defi_yields$0.01
chain_tvl$0.01
stablecoin_peg$0.01
derivatives_funding$0.01
trade_signal$0.02

Prediction markets

ToolPrice
prediction_markets$0.008
prediction_search$0.005
prediction_market$0.008
prediction_history$0.008

Robinhood Chain (new L2, not covered by other providers)

ToolPrice
rhchain_health$0.005
rhchain_wallet$0.01
rhchain_wallet_score$0.01
rhchain_token_screener$0.008
rhchain_token_detail$0.008
rhchain_tx$0.005
rhchain_trending$0.008
rhchain_burn$0.005

Free: x402_list_paid_tools, x402_spend_status

Install

{
  "mcpServers": {
    "boo-x402": {
      "command": "npx",
      "args": ["-y", "boo-x402-mcp"],
      "env": {
        "WALLET_PRIVATE_KEY": "0x...",
        "MAX_USD_PER_CALL": "0.05",
        "MAX_USD_TOTAL": "5"
      }
    }
  }
}

Works with Claude Desktop, Claude Code (claude mcp add), Cursor, and any MCP client.

Wallet

You need a wallet holding USDC on Base. No ETH needed for gas: x402 uses EIP-3009, so your wallet only signs, and the facilitator pays gas.

Your private key stays on your machine, in your MCP config. It is never transmitted. Payments are signed locally, per call.

The free tools work with no wallet at all.

Spend caps

x402 wallets are unlimited by default. This server is not:

  • MAX_USD_PER_CALL (default 0.05) - rejects any single payment above this, before signing
  • MAX_USD_TOTAL (default 5) - rejects further calls once session spend reaches this

Restart the server to reset the session total.

Data

Public, verifiable sources (Blockscout, RPC, DEX pairs, DefiLlama, GoPlus). Read-only.

NOT investment advice.

License

MIT

الأسئلة الشائعة

ما هو io.github.lucle87/boo-x402-mcp؟

Pay-per-call crypto data for AI agents. USDC on Base via x402. No API key.

كيف أثبّت io.github.lucle87/boo-x402-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add boo-x402-mcp -e 'WALLET_PRIVATE_KEY=<your wallet_private_key>' -e 'MAX_USD_PER_CALL=<MAX_USD_PER_CALL>' -e 'MAX_USD_TOTAL=<MAX_USD_TOTAL>' -- npx -y boo-x402-mcp@1.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.lucle87/boo-x402-mcp إلى مفتاح API؟

نعم. يتطلب WALLET_PRIVATE_KEY، وتضبطها في إعداداته.

هل io.github.lucle87/boo-x402-mcp مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون io.github.lucle87/boo-x402-mcp؟

ينشره lucle87. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.