io.github.Singlishman/kerdos-x402-mcp

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

Crypto market intelligence MCP — pay-per-tool-call in USDC on Base via the x402 protocol.

التثبيت

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

NPM package kerdos-x402-mcp
Claude Code
claude mcp add kerdos-x402-mcp -e 'EVM_PRIVATE_KEY=<your evm_private_key>' -e 'KERDOS_X402_BASE_URL=https://nonvisceral-eloisa-mousily.ngrok-free.dev' -- npx -y kerdos-x402-mcp@0.1.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "kerdos-x402-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "kerdos-x402-mcp@0.1.0"
            ],
            "env": {
                "EVM_PRIVATE_KEY": "<your evm_private_key>",
                "KERDOS_X402_BASE_URL": "https://nonvisceral-eloisa-mousily.ngrok-free.dev"
            }
        }
    }
}

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

  • EVM_PRIVATE_KEY إلزامي سري User-supplied EVM private key on Base mainnet. Used solely to sign USDC `transferWithAuthorization` payment payloads via x402. Each tool call costs $0.01-$0.06 USDC.
  • KERDOS_X402_BASE_URL Optional override of the Kerdos x402 endpoint base URL.

التوثيق

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

المحتويات
  1. kerdos-x402-mcp
  2. What it does
  3. Setup
  4. Claude Desktop config
  5. How payment works
  6. Provider
  7. License
  8. Issues

kerdos-x402-mcp

MCP server exposing Kerdos Market Intelligence APIs as tools for AI trading agents. Pay-per-call in USDC on Base mainnet via the x402 protocol. No API keys, no subscriptions, no signup.

What it does

11 tools for crypto market intelligence:

ToolPriceWhat it returns
get_market_overview$0.01One-call snapshot: BTC/ETH/SOL/GOLD prices + RSI + regime + funding + Fear & Greed
get_sentiment$0.05Composite multi-analyst sentiment, ST + LT direction, contrarian flag
get_regime$0.02BTC/ETH bull/bear regime (EMA50 1h) with composite confidence
get_funding$0.01Hyperliquid perpetual funding rates + OI for BTC/ETH
get_gold_signal$0.03XAU direction, confidence, RSI, 4h fib (HIP-3 gold perp)
get_whale_alerts$0.01Whale wallet stance + on-chain capital flows
get_liquidations$0.02OI velocity + cascade risk + large-trade ($50K+) tracking
get_cvd$0.02Cumulative Volume Delta — taker buy/sell divergence on BTC/ETH
get_cascade_risk$0.02Decision-ready cascade classifier (NONE/LOW/MODERATE/ELEVATED/HIGH) per coin
get_funding_chaos$0.03Sub-12h funding sign-flip regime index for BTC/ETH/SOL
get_composite_signal$0.06Bundled market state (regime + cascade + sentiment) at a discount

Setup

npm install -g kerdos-x402-mcp

Or run via npx (no install):

npx kerdos-x402-mcp
Required env
EVM_PRIVATE_KEY=0x...   # YOUR private key (used to sign payment authorizations)

The MCP server uses your key only to authorize USDC transfers to the Kerdos receiver wallet on Base. Each tool call costs $0.01–$0.06.

Optional env
KERDOS_X402_BASE_URL=https://nonvisceral-eloisa-mousily.ngrok-free.dev

Claude Desktop config

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "kerdos": {
      "command": "npx",
      "args": ["kerdos-x402-mcp"],
      "env": {
        "EVM_PRIVATE_KEY": "0x..."
      }
    }
  }
}

How payment works

  1. MCP client calls a tool (e.g. get_market_overview).
  2. MCP server requests https://...kerdos.../api/market-overview.
  3. Kerdos server returns 402 Payment Required with a payment challenge.
  4. @x402/fetch signs a USDC transferWithAuthorization using your key.
  5. Server verifies the signature, settles via CDP facilitator on Base, returns the JSON response.

End-to-end latency: ~1-2 seconds per call. No interactive approval — payment happens transparently.

Provider

Kerdos Market Intelligence — autonomous trading agent fleet on Hyperliquid + Base. Same signals power Kerdos's own bots' entry decisions.

  • Discovery: https://nonvisceral-eloisa-mousily.ngrok-free.dev/.well-known/x402
  • CDP Bazaar listing: 11 endpoints
  • 402Index: 12 entries
  • Verified domain (402Index)

License

MIT — fork freely.

Issues

GitHub issues on this repo for MCP-side bugs. For endpoint downtime, check https://nonvisceral-eloisa-mousily.ngrok-free.dev/health.

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

ما هو io.github.Singlishman/kerdos-x402-mcp؟

Crypto market intelligence MCP — pay-per-tool-call in USDC on Base via the x402 protocol.

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

يعمل على جهازك. في Claude Code: claude mcp add kerdos-x402-mcp -e 'EVM_PRIVATE_KEY=<your evm_private_key>' -e 'KERDOS_X402_BASE_URL=https://nonvisceral-eloisa-mousily.ngrok-free.dev' -- npx -y kerdos-x402-mcp@0.1.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

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

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

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

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.Singlishman/kerdos-x402-mcp؟

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

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