Cross-DEX price & spread for PancakeSwap v2+v3 on BSC via x402. Tool get_dex_spread(pair, fee?).
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
One MCP tool β get_dex_spread β returning live cross-DEX price and spread for
PancakeSwap v2 + v3 on BSC, paid $0.01 USDC per call from your own wallet.
Inspecting the server costs nothing and needs no wallet:
It starts on stdio and lists its one tool. Add it to Claude Code:
Without a key the tool is still listed, and a call tells you exactly what is missing rather than failing obscurely:
Before you fund anything, know the free alternative. If you do not
specifically need the paid, uncapped path, arb-dex-mcp
and dex-data-mcp return cross-DEX
spread keyless and free on six chains. This server exists for callers who
want per-call billing with no free-tier ceiling β it is not the cheapest way in.
An MCP server that gives your agent one tool β
get_dex_spread β returning real-time cross-DEX price & spread data for
PancakeSwap v2 + v3 on BSC. Each call is a paid API call: $0.01 USDC on Base
mainnet, settled automatically over x402 from your own
wallet. No subscription, no account, no API key to request β the agent pays
per call.
Backed by a live x402 gateway: https://x402.donnyautomation.com Public usage/proof page: https://x402.donnyautomation.com/stats
get_dex_spread(pair, fee?)Real-time cross-DEX price & spread for PancakeSwap v2+v3 on BSC.
pair (required) β token pair as SYM/SYM; the first symbol is the
USD-priceable side. Examples: WBNB/USDC, WBNB/USDT, CAKE/WBNB.fee (optional) β a PancakeSwap v3 fee tier (100, 500, 2500, 10000)
to restrict the v3 probe. Omit to probe all v3 tiers and v2.Returns per-venue prices, best buy / best sell venue, the gross cross-DEX spread in bps, liquidity (per-venue TVL + totals), and the source block number. Example:
Cross-DEX spread is the raw signal behind arbitrage, best-execution routing, and slippage estimation. Instead of running BSC RPC infrastructure and multi-DEX pool math itself, an agent calls one tool and pays a cent for a fresh, block-stamped answer across PancakeSwap v2 + v3 venues.
You bring the wallet. This package ships no keys. The server signs each
payment with a private key it reads from its own environment
(EVM_PRIVATE_KEY), which you set in your MCP client's server config. That is
the design: the buyer (you) pays for the data with the buyer's wallet.
eip155:8453).exact scheme is EIP-3009
transferWithAuthorization: you sign an off-chain USDC authorization and the
facilitator broadcasts it and pays the gas. A 0-ETH wallet settles fine.Add it to your MCP client. Claude Desktop / Claude Code
(claude_desktop_config.json or .mcp.json):
EVM_PRIVATE_KEY β your Base-mainnet buyer wallet key (0x-prefixed), funded with
a few dollars of USDC on Base. Optional GATEWAY_URL overrides the endpoint
(defaults to https://x402.donnyautomation.com).
Restart your client; the agent will have get_dex_spread available and will pay
$0.01 USDC each time it calls it.
Checked against the published artifacts on 2026-08-21:
npm install -g bsc-dex-spread-mcp and npx -y bsc-dex-spread-mcp both
install and start; npm 0.1.0 matches this repo.GET /call?pair=WBNB/USDC with a valid x402
V2 challenge β 402, a payment-required header, $0.01 USDC
(10000 at 6 decimals) on Base eip155:8453.arb-dex-mcp
(6 chains) or dex-data-mcp (22 tools).agent-utils-mcp.approval-queue-starter.MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/bsc-dex-spread)<a href="https://allmcps.com/mcp/bsc-dex-spread"><img src="https://allmcps.com/api/badge/bsc-dex-spread?style=directory" alt="Bsc Dex Spread on AllMCPs" /></a>