Repository avatar
AI Tools
v5.0.0
active

sage-x402-mcp-tools

io.github.mazhic87/sage-x402-mcp-tools

22 Base USDC x402 tools: DeFi honeypot guard, DEX arb, Tavily/Exa search, 550B AI & FLUX GPU.

Documentation

Sage Agent x402 & Remote MCP Suite (v5.0.0)

Glama MCP Verified Cloudflare Workers Protocol: x402 Base USDC MCP Streamable HTTP

22 pay-per-call x402 APIs + Native Streamable-HTTP Remote MCP Server running globally on Cloudflare Edge.
Zero API keys. Zero accounts. Zero monthly subscriptions. Instant Base Mainnet USDC (eip155:8453) micropayments via PayAI Facilitator.


Connect in 10 Seconds

Claude Desktop / Cursor / Windsurf / Cline / OpenClaw (Streamable-HTTP MCP)

{
  "mcpServers": {
    "sage-x402-tools": {
      "url": "https://sage-x402-tools.sage-ibis.workers.dev/mcp"
    }
  }
}
  • Calling catalog_list_tools is 100% free (lists all 22 paid tools, Base USDC prices, and free sample URLs).
  • Calling any paid tool without an x402 payment proof safely returns an unpaid x402 v2 quote challenge and never charges.
  • Invalid inputs return HTTP 400 and are never charged.

Direct HTTP / Trading Bot Quickstart (Pre-Trade Honeypot & Rug Guard — $0.015 USDC)

# 1. Inspect free sample output first (HTTP 200, no payment)
curl -s https://sage-x402-tools.sage-ibis.workers.dev/v1/security/pre-trade-audit/sample

# 2. Request live audit (returns x402 v2 PAYMENT-REQUIRED header; pay automatically with x402-fetch / AgentKit / PayAI)
curl -i -X POST https://sage-x402-tools.sage-ibis.workers.dev/v1/security/pre-trade-audit \
  -H "Content-Type: application/json" \
  -d '{"address":"0x940181a94a35a4569e4529a3cdfb74e38fd98631","chain":"base"}'
// Node.js / TypeScript with any x402-enabled fetch wrapper (e.g. x402-fetch / @coinbase/agentkit)
const res = await fetchWithPayment(
  "https://sage-x402-tools.sage-ibis.workers.dev/v1/security/pre-trade-audit",
  {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      address: "0x940181a94a35a4569e4529a3cdfb74e38fd98631",
      chain: "base",
    }),
  }
);
const audit = await res.json();
// -> { decision: "ALLOW" | "CAUTION" | "BLOCK", risk_score_0_100, taxes, security, liquidity }

All 22 Live Paid Tools (Base Mainnet USDC)

Every endpoint also exposes a free static preview at GET <endpoint>/sample.

1. Pre-Trade Security & DeFi Alpha

MCP Tool NameHTTP EndpointPrice (USDC)Description
security_pre_trade_auditPOST /v1/security/pre-trade-audit0.0154-source honeypot, buy/sell tax & rug guard (GoPlus + Honeypot.is + RugCheck + DexScreener) across Base, EVM & Solana
defi_base_dex_arbPOST /v1/defi/base-dex-arb0.010Cross-DEX price spread (bps) & trending pool arbitrage radar (Aerodrome, Uniswap v3, PancakeSwap, Raydium)
crypto_token_intelPOST /v1/crypto/token-intel0.005Fast real-time DEX price, liquidity, 24h volume, FDV & buy/sell order-flow intel
crypto_funding_arbPOST /v1/crypto/funding-arb0.015Hyperliquid 150+ perpetual funding rates, annualized carry APY & crowding signals
crypto_market_pulsePOST /v1/crypto/market-pulse0.015Fear & Greed Index (today + 7d avg), perp majors & DeFiLlama Top-12 chain TVL
crypto_wallet_profilePOST /v1/crypto/wallet-profile0.020Parallel 5-chain EVM wallet balances (native + USDC), nonce counts & contract detection

2. Live Web Search & Semantic Discovery (No API Keys Needed)

MCP Tool NameHTTP EndpointPrice (USDC)Description
search_web_livePOST /v1/search/web-live0.015Fast Tavily real-time web & breaking news search with direct answer synthesis
search_deep_researchPOST /v1/search/deep-research0.040Tavily Advanced multi-source deep crawl research (up to 10 deep excerpts)
search_exa_neuralPOST /v1/search/exa-neural0.025Exa neural semantic search & full-text extraction (papers, companies, GitHub, news)
search_exa_similarPOST /v1/search/exa-similar0.025Exa competitor & lookalike website discovery from any seed URL

3. Heavy GPU Compute, Multimodal Vision & Frontier Reasoning

MCP Tool NameHTTP EndpointPrice (USDC)Description
ai_nemotron_550bPOST /v1/ai/nemotron-550b0.045NVIDIA Nemotron-3 Ultra 550B deep reasoning (single prompt or multi-turn chat)
ai_reasoning_120bPOST /v1/ai/reasoning-120b0.050OpenAI gpt-oss-120b chain-of-thought reasoning with low/medium/high effort & json_mode
ai_vision_analyzePOST /v1/ai/vision-analyze0.040Multimodal Vision OCR, chart/table extraction & UI screenshot analysis
gpu_flux_imagePOST /v1/gpu/flux-image0.030Black Forest Labs FLUX.1 Schnell Edge GPU text-to-image (JPEG base64 + data URL)
gpu_audio_transcribePOST /v1/gpu/audio-transcribe0.030OpenAI Whisper Large v3 Turbo Edge GPU speech-to-text transcription & English translation
ai_code_security_reviewPOST /v1/ai/code-security-review0.040Qwen2.5-Coder-32B vulnerability & smart-contract audit with CWE tags & exact fixes
ai_web_research_briefPOST /v1/ai/web-research-brief0.030Live URL fetch + Llama-3.3-70B grounded JSON executive brief
ai_token_verdictPOST /v1/ai/token-verdict0.035Live multi-chain DEX orderflow + Llama-3.3-70B structured trading verdict

4. KYB Underwriting, Web Extraction & Deterministic Dev Utilities

MCP Tool NameHTTP EndpointPrice (USDC)Description
web_merchant_riskPOST /v1/web/merchant-risk0.020Automated KYB underwriting score (ICANN RDAP domain age, SPF/DMARC, HTTPS & legal pages)
web_extractPOST /v1/web/extract0.005Deterministic HTML-to-Markdown + OpenGraph/JSON-LD metadata & link extractor
web_dns_auditPOST /v1/web/dns-audit0.003Live Cloudflare DoH DNS records, security header score & AI agent-readiness check
dev_deterministic_toolsPOST /v1/dev/deterministic-tools0.002Zero-hallucination UTC Cron solver, RFC-6902 JSON diff, JWT decoder & SemVer sorter

Privacy & Security

  • Stateless Execution: Runs on Cloudflare Workers with zero user accounts, zero API keys, and zero persistent storage of request payloads or responses.
  • Pay-After-Success Settlement: Payment verification runs before execution and on-chain USDC settlement completes only when the handler returns a 2xx response; invalid inputs return 400 uncharged.
  • Read-Only Surface: Every exposed MCP tool is strictly read-only (readOnlyHint: true, destructiveHint: false).

License

MIT — see LICENSE.

No installation packages available.