Skip to main content
Glama
README.md
# Sage Agent Heavy-Compute, Pre-Trade Security & DeFi x402 Suite (`v5.0.0`)

**22 pay-per-call x402 APIs + Native Streamable-HTTP Remote MCP Server** running globally on Cloudflare Edge.  
Zero API keys. Zero subscriptions. Instant **Base Mainnet USDC (`eip155:8453`)** micropayments via [PayAI Facilitator](https://facilitator.payai.network). Invalid inputs return HTTP `400` and are never charged.

- **Live Base URL**: `https://sage-x402-tools.sage-ibis.workers.dev`
- **Native Remote MCP Endpoint**: `https://sage-x402-tools.sage-ibis.workers.dev/mcp`
- **Machine Discovery**: [`/.well-known/x402`](https://sage-x402-tools.sage-ibis.workers.dev/.well-known/x402) | [`/.well-known/mcp.json`](https://sage-x402-tools.sage-ibis.workers.dev/.well-known/mcp.json) | [`/openapi.json`](https://sage-x402-tools.sage-ibis.workers.dev/openapi.json) | [`/llms.txt`](https://sage-x402-tools.sage-ibis.workers.dev/llms.txt) | [`/health`](https://sage-x402-tools.sage-ibis.workers.dev/health)

---

## Connect in 10 Seconds (Claude Desktop / Cursor / OpenClaw / AgentKit)

Add this Streamable-HTTP MCP server to your MCP client config:

```json
{
  "mcpServers": {
    "sage-x402-tools": {
      "url": "https://sage-x402-tools.sage-ibis.workers.dev/mcp"
    }
  }
}
```

### Direct x402 Trading Bot Example (Pre-Trade Honeypot & Rug Guard — 0.015 USDC)

```bash
# 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. Call live endpoint with any x402 client (x402-fetch, Coinbase 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"}'
```

---

## All 22 Live Paid Endpoints (Base Mainnet USDC)

### 1. High-Frequency Trading-Bot Alpha & Pre-Trade Security
| Endpoint | Price (USDC) | Description |
| :--- | :--- | :--- |
| `POST /v1/security/pre-trade-audit` | **0.015** | **4-Source Pre-Trade Honeypot & Rug Guard (Base/EVM/Solana)**: GoPlus + Honeypot.is live swap simulation + RugCheck + DexScreener -> deterministic `SAFE_TO_TRADE / CAUTION / BLOCK_TRADE` |
| `POST /v1/defi/base-dex-arb` | **0.010** | **Cross-DEX Price Spread & Trending Pool Arbitrage Radar**: Aerodrome vs Uniswap v3 vs PancakeSwap vs Raydium spread bps + GeckoTerminal high-turnover trending pools |
| `POST /v1/crypto/funding-arb` | **0.015** | Hyperliquid 150+ perpetual funding rates, carry APY & crowding signals |
| `POST /v1/crypto/market-pulse` | **0.015** | Fear & Greed + perp majors + DeFiLlama Top 12 TVL |
| `POST /v1/crypto/wallet-profile` | **0.020** | 5-chain EVM wallet balances, USDC, tx count & contract detection |
| `POST /v1/crypto/token-intel` | **0.005** | Multi-chain DEX liquidity, volume & buy/sell ratio |

### 2. Live Search & Semantic Discovery (No API Keys Needed)
| Endpoint | Price (USDC) | Description |
| :--- | :--- | :--- |
| `POST /v1/search/web-live` | **0.015** | Tavily real-time web & news search + synthesized direct answer |
| `POST /v1/search/deep-research` | **0.040** | Tavily Advanced multi-source deep research (up to 10 deep excerpts) |
| `POST /v1/search/exa-neural` | **0.025** | Exa neural semantic search + clean full-text extraction (papers, companies, GitHub) |
| `POST /v1/search/exa-similar` | **0.025** | Exa competitor & similar-site discovery from any URL |

### 3. Heavy GPU Compute, Multimodal Vision & Reasoning
| Endpoint | Price (USDC) | Description |
| :--- | :--- | :--- |
| `POST /v1/ai/nemotron-550b` | **0.045** | NVIDIA Nemotron-3 Ultra 550B deep reasoning (1M context + automatic fallback) |
| `POST /v1/ai/reasoning-120b` | **0.050** | OpenAI `gpt-oss-120b` multi-step chain-of-thought reasoning |
| `POST /v1/ai/vision-analyze` | **0.040** | Multimodal image OCR, chart reading & UI screenshot analyzer |
| `POST /v1/gpu/flux-image` | **0.030** | Black Forest Labs `FLUX.1 Schnell` GPU text-to-image (JPEG base64) |
| `POST /v1/gpu/audio-transcribe` | **0.030** | OpenAI `Whisper Large v3 Turbo` GPU speech-to-text ASR |
| `POST /v1/ai/code-security-review` | **0.040** | `Qwen2.5-Coder-32B` vulnerability & smart-contract audit |
| `POST /v1/ai/web-research-brief` | **0.030** | Live URL fetch + grounded structured executive brief |
| `POST /v1/ai/token-verdict` | **0.035** | Live DEX orderflow + quantitative AI trading verdict |

### 4. KYB Underwriting, Web Extraction & Deterministic Dev Utilities
| Endpoint | Price (USDC) | Description |
| :--- | :--- | :--- |
| `POST /v1/web/merchant-risk` | **0.020** | KYB domain age (ICANN RDAP), SPF/DMARC, HTTPS & policy underwriting |
| `POST /v1/web/extract` | **0.005** | Clean Web-to-Markdown + OpenGraph/JSON-LD metadata extractor |
| `POST /v1/web/dns-audit` | **0.003** | Cloudflare DoH DNS, security headers & agent-readiness audit |
| `POST /v1/dev/deterministic-tools` | **0.002** | Zero-hallucination UTC Cron solver, RFC-6902 JSON diff, JWT & SemVer |

---

## Free Developer Distribution Checklist (Top-1% Growth Channels)
1. **GitHub Public Repo**: Push this directory (zero secrets are stored here—all keys live strictly in Cloudflare `secret_text`) as `sage-x402-mcp-tools`.
2. **Smithery.ai & Glama.ai & MCP.so**: Submit remote Streamable-HTTP URL `https://sage-x402-tools.sage-ibis.workers.dev/mcp` (free listing; lets thousands of Claude/Cursor/OpenClaw users install in 1 click).
3. **`awesome-x402` / Coinbase x402 Ecosystem PR**: Open a 1-line PR adding `Sage Agent x402 Suite (Pre-Trade Honeypot Guard, Cross-DEX Arb & Native MCP)`.
4. **x402scan.com**: Submit `https://sage-x402-tools.sage-ibis.workers.dev` at `https://www.x402scan.com/resources/register` once a browser wallet connects.