Bellchain
Crypto alert chains in your AI assistant: check alerts, test ideas with the replay, build chains.
作者提供的说明(英文原文)
Cross-DEX price & spread for PancakeSwap v2+v3 on BSC via x402. Tool get_dex_spread(pair, fee?).
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
EVM_PRIVATE_KEY, GATEWAY_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"bsc-dex-spread": {
"command": "npx",
"args": [
"-y",
"bsc-dex-spread-mcp"
],
"env": {
"EVM_PRIVATE_KEY": "your-value",
"GATEWAY_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add bsc-dex-spread --env EVM_PRIVATE_KEY=your-value --env GATEWAY_URL=your-value -- npx -y bsc-dex-spread-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"bsc-dex-spread": {
"command": "npx",
"args": [
"-y",
"bsc-dex-spread-mcp"
],
"env": {
"EVM_PRIVATE_KEY": "your-value",
"GATEWAY_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"bsc-dex-spread": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"bsc-dex-spread-mcp"
],
"env": {
"EVM_PRIVATE_KEY": "your-value",
"GATEWAY_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
GATEWAY_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 donnywin85 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:EVM_PRIVATE_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Bellchain, Quidli Connect, Diamond Bitcoin Intelligence
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Crypto alert chains in your AI assistant: check alerts, test ideas with the replay, build chains.
Resolve social handles to wallets, score onchain reputation, pay in any ERC-20, SPL or native.
Bitcoin MCP: fee budgets, retained-block inclusion proofs and risk checks. Free service discovery.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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:
npx -y bsc-dex-spread-mcp
It starts on stdio and lists its one tool. Add it to Claude Code:
claude mcp add bsc-dex-spread --env EVM_PRIVATE_KEY=0xyour_disposable_base_key -- npx -y bsc-dex-spread-mcp
Without a key the tool is still listed, and a call tells you exactly what is missing rather than failing obscurely:
get_dex_spread failed: EVM_PRIVATE_KEY is not set. Add your funded Base-mainnet
buyer wallet key (0x-prefixed, USDC-only, low balance) to the MCP server env config.
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:
{
"pair": "WBNB/USDC", "network": "bsc", "chainId": 56, "blockNumber": 107562007, "nativeUsd": 546.6, "pricesByVenue": [ { "venue": "pancake", "surface": "v2", "price": 546.6, "tvlUsd": 1234567 }, ... ], "bestBuy": { "venue": "pancakeV3:500", "price": ... }, "bestSell": { "venue": "biswap", "price": ... }, "midSpreadBps": 27.4, "crossDex": { "grossSpreadBps": 14.05, "buyVenue": "...", "sellVenue": "...", "surface": "v2v3" }, "liquidity": { "venues": 7, "totalTvlUsd": ... }, "ts": "2026-07-01T...", "source": "rpc" }
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.npm install -g bsc-dex-spread-mcp
Add it to your MCP client. Claude Desktop / Claude Code (claude_desktop_config.json or .mcp.json):
{
"mcpServers": { "bsc-dex-spread": { "command": "npx", "args": ["-y", "bsc-dex-spread-mcp"], "env": { "EVM_PRIVATE_KEY": "0xYOUR_BASE_MAINNET_BUYER_KEY" } } } }
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.
agent → get_dex_spread(pair)
→ GET https://x402.donnyautomation.com/call?pair=... (HTTP 402 PAYMENT-REQUIRED) → sign EIP-3009 USDC auth with EVM_PRIVATE_KEY → x402 facilitator settles on Base → gateway proxies to its BSC DEX reader → 200 with the cross-DEX payload
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