Sage AI Frontier & x402 MCP

v6.2.3
io.github.mazhic87/sage-x402-mcp-tools Checked 1 day ago Published 4 days ago

39 Base+Solana x402 tools: $0.002-$0.030 Claude/GPT/Gemini, Jupiter, Solana guard & weather.

Settle per request in Base USDC (eip155:8453) or Solana USDC (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) with zero credit card, or generate a prepaid API key at /topup. All 38 endpoints are listed in /openapi.json and /llms.txt. Use full-strength Claude 5.5, GPT-6.2, and Gemini 4 in Claude Code, Cursor, Cline, or any OpenAI/Anthropic SDK with Base or Solana USDC (mazhic87/x402-llm-proxy):

Summary extracted from the README.

Sage Frontier AI & x402 API Gateway (v6.2.2)

Glama MCP Verified Cloudflare Workers x402 Dual-Chain MCP Streamable HTTP

38 pay-per-call x402 APIs + Native Streamable-HTTP Remote MCP Server on Cloudflare Edge — direct access to full-strength Anthropic Claude 5.5 (Sonnet / Opus / Haiku), OpenAI GPT-6.2 (Astra / Sol), and Google Gemini 4 Argon / 3.8 Flash, plus real-time Solana and Polymarket trading oracles.

Settle per request in Base USDC (eip155:8453) or Solana USDC (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) with zero credit card, or generate a prepaid API key at /topup.


Frontier Models (Full-Strength Passthrough)

Endpoint Upstream Model Price (USDC) Limits
POST /v1/llm/claude-sonnet claude-sonnet-5-5 0.015 14k chars / 1,200 tok
POST /v1/llm/claude-opus claude-opus-5-5 0.030 14k chars / 1,200 tok
POST /v1/llm/claude-haiku claude-haiku-5-5 0.002 12k chars / 1,024 tok
POST /v1/llm/gpt-flagship gpt-6.2-astra 0.005 16k chars / 1,200 tok
POST /v1/llm/gpt-fast gpt-6.2-sol 0.002 12k chars / 1,024 tok
POST /v1/llm/gemini-pro gemini-4-argon 0.006 16k chars / 1,200 tok
POST /v1/llm/gemini-flash gemini-3.8-flash 0.003 16k chars / 1,200 tok
POST /v1/chat/completions gpt-6.2-sol / claude-haiku-5-5 / gemini-3.8-flash 0.002 OpenAI drop-in

Solana, Prediction Markets & Live Data

Endpoint Price (USDC) Cache Service
POST /v1/solana/jupiter-quote 0.001 10s Live Jupiter v1 swap quote, price impact & MEV slippage risk
POST /v1/solana/token-guard 0.003 30s GoPlus Solana + RPC mint/freeze authority + Top-10 holder concentration
POST /v1/solana/wallet-portfolio 0.003 20s Live SOL + SPL + Token-2022 balances with USD valuation
POST /v1/crypto/fast-price 0.001 15s Multi-venue median spot price & spread bps (Coinbase/Kraken/OKX/Hyperliquid)
POST /v1/weather/polymarket-consensus 0.002 120s 5-model ECMWF/GFS/ICON/GEM/NOAA consensus + Polymarket CDF brackets
POST /v1/markets/prediction-edge 0.005 45s Polymarket + Kalshi live spreads & cross-venue divergences
POST /v1/security/pre-trade-audit 0.008 Live Multi-chain EVM honeypot, tax & liquidity rug-guard audit
POST /v1/defi/base-dex-arb 0.005 Live Base Mainnet Aerodrome / Uniswap / PancakeSwap arbitrage scanner
POST /v1/crypto/funding-arb 0.005 Live Cross-exchange perpetual funding rate arbitrage scanner
POST /v1/search/web-live 0.010 Live Live web search & structured citation extraction

All 38 endpoints are listed in /openapi.json and /llms.txt.


Quickstart

1. Claude Code / Cursor / Cline Local Proxy (npx x402-llm-proxy)

Use full-strength Claude 5.5, GPT-6.2, and Gemini 4 in Claude Code, Cursor, Cline, or any OpenAI/Anthropic SDK with Base or Solana USDC (mazhic87/x402-llm-proxy):

# Free quote & connectivity test
npx x402-llm-proxy --test

# Pay per call with Base USDC (no API key, no credit card)
BASE_PRIVATE_KEY=0x... npx x402-llm-proxy

# Or use a prepaid Base/Solana USDC key from /topup
SAGE_API_KEY=sk-sage-... npx x402-llm-proxy

2. Claude Desktop / Cursor / Windsurf / OpenClaw (Remote MCP)

{
  "mcpServers": {
    "sage-x402-tools": {
      "url": "https://sagex402.xyz/mcp"
    }
  }
}

3. Companion Open-Source Tools

Settlement & Protocol

  • Protocol: HTTP x402 v2 (PAYMENT-REQUIRED / PAYMENT-SIGNATURE headers) + v1 JSON body via PayAI Facilitator
  • Base Mainnet USDC: 0x9552e7d327499a5cfcf3b250bab908da447a2666
  • Solana Mainnet USDC: GswD6zmVCTcjLVkgCzCTP9JgehARqhBfMQbTcdzLShet

License

MIT