br0ski777 avatar

DEX Swap Quotes API

br0ski777/dex-quotes-x402

This gives Claude direct access to DEX aggregation across Uniswap, SushiSwap, and Aerodrome on Base and Ethereum networks. It's built around the x402 USDC micropayment protocol, so each quote request costs a small amount but routes through a dedicated API endpoint rather than requiring your own RPC infrastructure. Reach for this when you're building trading tools or portfolio management agents that need real-time swap pricing without maintaining DEX integrations yourself. The SSE transport keeps quote streams live, and the micropayment model means you pay per call rather than dealing with API keys or rate limits.

tool
1
transport
SSE
last updated
May 16, 2026

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

dex_get_swap_quoteUse this when you need a swap quote before trading tokens on-chain. Returns the best price across multiple DEXes in JSON. 1. bestDex: which DEX offers the best rate (Uniswap, SushiSwap, Aerodrome) 2.4 params

Use this when you need a swap quote before trading tokens on-chain. Returns the best price across multiple DEXes in JSON. 1. bestDex: which DEX offers the best rate (Uniswap, SushiSwap, Aerodrome) 2.

Parameters* required
amountstring
Amount of input token in raw units (wei/smallest unit, e.g. 1000000 for 1 USDC)
chainstring
Blockchain network: base or ethereum (default: base)one of base · ethereum
tokenInstring
Contract address of input token (e.g. 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 for USDC on Base)
tokenOutstring
Contract address of output token (e.g. 0x4200000000000000000000000000000000000006 for WETH on Base)

Sponsors

Readme

DEX Swap Quotes API

MCP Server x402 License: MIT

Best swap quotes across Uniswap, SushiSwap, Aerodrome -- price impact, route, slippage. Pre-trade essential. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

{
  "mcpServers": {
    "dex-quotes": {
      "url": "https://dex-quotes.api.klymax402.com/mcp"
    }
  }
}

Quickstart -- HTTP (x402)

curl "https://dex-quotes.api.klymax402.com/api/quote?tokenIn=...&tokenOut=...&amount=..."
# -> 402 Payment Required, with an x402 payment challenge in the response body

View the full README on GitHub

Details

Repository
github.com/br0ski777/dex-quotes-x402
Website
github.com/Br0ski777/dex-quotes-x402
Category
Finance & Commerce
Transport
SSE
Registry
MCP registry, active

More from br0ski777

Related Finance & Commerce MCP servers

View all
1br0ski777 avatarENS Resolver APIbr0ski777/ens-resolver-x402Resolve ENS names to Ethereum addresses and reverse. x402 micropayment.0stars
2br0ski777 avatarFunding Rate Arbitrage Scanner APIbr0ski777/funding-arb-x402Cross-venue perp funding rate arb — Hyperliquid, Binance, Bybit, OKX spreads. x402.0stars
3br0ski777 avatarPerpetual Funding Rates APIbr0ski777/funding-rates-x402Perp funding rates across Binance, Bybit, OKX — open interest, sentiment. x402.0stars
4br0ski777 avatarGas Oracle APIbr0ski777/gas-oracle-x402Real-time gas prices, gwei tiers, USD cost estimates for Base and Ethereum. x402.0stars
5br0ski777 avatarHyperliquid Perp Market Data APIbr0ski777/hyperliquid-data-x402Hyperliquid perp order book, prices, funding, OI, candles. x402 paid.0stars
6br0ski777 avatarJupiter Solana Swap Quote APIbr0ski777/jupiter-quotes-x402Solana swap quotes via Jupiter — best route, price impact, priority fees, USD pricing. x402.0stars