原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Cross-DEX Prices & Spreads

作者:donnywin85版本 1.0.1i★ –i在你的电脑上运行
注册名称io.github.donnywin85/arb-dex-mcp

安装

概览

作者提供的说明(英文原文)

Live cross-DEX pool prices, liquidity and spreads on 6 EVM chains, read from on-chain pool state.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 加密货币与区块链
  • 你需要填写:RAPIDAPI_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: RAPIDAPI_KEY, ARB_DEX_TIMEOUT_MS

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "arb-dex": {
      "command": "npx",
      "args": [
        "-y",
        "arb-dex-mcp"
      ],
      "env": {
        "RAPIDAPI_KEY": "your-value",
        "ARB_DEX_TIMEOUT_MS": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add arb-dex --env RAPIDAPI_KEY=your-value --env ARB_DEX_TIMEOUT_MS=your-value -- npx -y arb-dex-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "arb-dex": {
      "command": "npx",
      "args": [
        "-y",
        "arb-dex-mcp"
      ],
      "env": {
        "RAPIDAPI_KEY": "your-value",
        "ARB_DEX_TIMEOUT_MS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "arb-dex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "arb-dex-mcp"
      ],
      "env": {
        "RAPIDAPI_KEY": "your-value",
        "ARB_DEX_TIMEOUT_MS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • RAPIDAPI_KEY 机密 env
    Your own RapidAPI key for the Multi-Chain DEX Prices & Liquidity API (https://rapidapi.com/donnydev/api/multi-chain-dex-prices-liquidity). The free-tier subscription is enough to start. Required for…
  • ARB_DEX_TIMEOUT_MS env
    Optional request timeout in milliseconds. Defaults to 45000 — a full-chain live scan is a real on-chain sweep and can take ~30s.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 donnywin85 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“加密货币与区块链”中的其他服务器比较i

  • 星标数多于此分类中其他 1635 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1635 个服务器的 36% 更新
  • 基础检查结果等于或优于此分类中其他 1635 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Cross-DEX Prices & Spreads 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:RAPIDAPI_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.1)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:NEMO x402 Micro-Services, xytara MCP Executor, FairAgent

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

NEMO x402 Micro-Services

34 paid tools: site/SEO, weather, crypto+markets, podcasts, YouTube, Polymarket. x402/MPP/Stripe.

作者:floortomproductions-droid起步阶段今天更新

在云端运行

xytara MCP Executor

Pay-per-call MCP tools and signed on-chain attestations: 20 free/day, then x402 or a spend key.

作者:naxytra.com起步阶段今天更新

在云端运行✓ naxytra.com

FairAgent

Live state and unsigned mint/claim tx builder for FairAgent AI-agent NFTs on BNB Chain.

作者:fairagent.club起步阶段今天更新

在云端运行✓ fairagent.club

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

arb-dex-mcp

Live cross-DEX crypto prices for your AI agent — per-venue pool price, pool liquidity and the gross cross-venue spread on 6 EVM chains, read straight from on-chain pool state.

Chains: BSC · Polygon · Arbitrum · Base · Avalanche · Optimism. Venues: PancakeSwap (v2 + v3), Uniswap v3, SushiSwap, QuickSwap, Biswap, ApeSwap, BaseSwap, Trader Joe, Pangolin — every v2-style pool and every v3 fee tier separately, because a $12k 1% pool and a $19M 0.01% pool are not the same quote.

Nothing is modelled, estimated or backfilled. Every payload states its own block number and carries its own scope note, so an agent that quotes a figure also has the caveats attached to it.

Works with no API key against a free hourly public snapshot. Docs · npm


Quickstart

Nothing to clone or build. Your MCP client fetches the package. Requires Node 18+.

Claude Desktop

claude_desktop_config.json — macOS ~/Library/Application Support/Claude/, Windows %APPDATA%\Claude\:

{

"mcpServers": { "arb-dex": { "command": "npx", "args": ["-y", "arb-dex-mcp"], "env": { "RAPIDAPI_KEY": "your-rapidapi-key-here" } } } }

Restart Claude Desktop; the six tools appear under the connectors icon. Drop the `env` block entirely to run keyless — the server still starts and the free-snapshot tools still answer.

Claude Code
claude mcp add arb-dex --env RAPIDAPI_KEY=your-rapidapi-key-here -- npx -y arb-dex-mcp

Keyless:

claude mcp add arb-dex -- npx -y arb-dex-mcp

Then /mcp to confirm it connected.

Cursor

~/.cursor/mcp.json (global) or .cursor/mcp.json (per project):

{

"mcpServers": { "arb-dex": { "command": "npx", "args": ["-y", "arb-dex-mcp"], "env": { "RAPIDAPI_KEY": "your-rapidapi-key-here" } } } }

Cursor → Settings → MCP shows the server and its tools once the file is saved.

Any other MCP client

Same three facts: command npx, args ["-y", "arb-dex-mcp"], transport stdio, optional env RAPIDAPI_KEY.


Try it

Real prompts, and the real shape that comes back. Payloads below were measured live on 2026-08-15; they are trimmed for width but nothing is invented.

1. "What is WBNB/USDT trading at on every BSC venue right now?"

get_prices reads every pool holding the pair — v2 pairs and each v3 fee tier separately — at one stated block:

{

"pair": "WBNB/USDT", "network": "bsc", "chainId": 56, "blockNumber": 116151268, "pricesByVenue": [ { "venue": "pancake", "surface": "v2", "feeBps": 25, "price": 611.7347, "tvlUsd": 56834814.36 }, { "venue": "biswap", "surface": "v2", "feeBps": 10, "price": 610.8278, "tvlUsd": 415733.94 }, { "venue": "apeswap", "surface": "v2", "feeBps": 20, "price": 611.1244, "tvlUsd": 3659.06 }, { "venue": "pancakeV3:1", "surface": "v3", "feeBps": 1, "price": 610.5684, "tvlUsd": 18596810.32 }, { "venue": "pancakeV3:5", "surface": "v3", "feeBps": 5, "price": 610.6531, "tvlUsd": 4941099.44 }, { "venue": "pancakeV3:25", "surface": "v3", "feeBps": 25, "price": 610.6304, "tvlUsd": 52534.35 }, { "venue": "pancakeV3:100", "surface": "v3", "feeBps": 100, "price": 609.1025, "tvlUsd": 12206.21 } ], "bestBuy": { "venue": "pancakeV3:100", "price": 609.1025 }, "bestSell": { "venue": "pancake", "price": 611.7347 }, "midSpreadBps": 43.22, "crossDex": { "grossSpreadBps": 0, "grossUsd": 0, "optimalInput": { "amount": 0, "token": "WBNB", "usd": 0 }, "buyVenue": "-", "sellVenue": "-" }, "liquidity": { "venues": 7, "totalTvlUsd": 80856857.67 }, "source": "rpc" }

Read the two spread numbers against each other. The raw mid spread is 43 bps — and the gross capturable spread is 0. The 609.10 quote lives in a $12k pool; the size that would actually clear it moves the price past the gap before you get there. A tool that reported only the 43 bps would be handing an agent a number it cannot trade. This one reports both, and optimalInput is where the honesty lands.

2. "Show me the cross-DEX spreads on Base — are any actually capturable?"

get_spreads sweeps a whole chain and ranks by gross USD at the optimal size, not by headline basis points:

{

"network": "base", "chainId": 8453, "scannedPairs": 11, "opportunities": [], "found": 0, "filters": { "minSpreadBps": 10, "minVenueTvlUsd": 1000, "minGrossUsd": 0.01, "limit": 5 }, "ranking": "gross USD at the optimal trade size, NOT raw spread — a large spread with a tiny optimal size is not an opportunity", "scope": "GROSS cross-venue spread from live pool state, BEFORE gas, MEV and any slippage beyond the optimal size. Not a profit estimate and not trade advice. Venues below the liquidity floor are excluded because a spread against a dust pool is an artefact, not an opportunity.", "elapsedMs": 2847 }

`found: 0` is a real answer and it is the common one. Eleven pairs scanned, nothing cleared the floor. Venues under $1,000 TVL are dropped outright. When rows *do* come back, each carries capturable, warning and shallowestSideTvlUsd so a big basis-point number cannot mislead on its own. This tool will tell your agent there is nothing there — which is the whole point of asking it.

3. "How much history does arb-dex actually have, and for which chains?"

get_history_summary sizes the archive *before* you query it:

{

"rows": 133, "rowsWithPairDetail": 103, "rowsByEra": { "digest-totals-only": 30, "top-list-pairs": 5, "full-sweep": 98 }, "pairsTracked": 107, "firstAt": "2026-08-10T17:35:09.355Z", "lastAt": "2026-08-15T20:54:34.417Z", "spanHours": 123.32, "chainsSeen": ["arbitrum", "avalanche", "base", "bsc", "optimism", "polygon"], "pairs": [ { "chain": "polygon", "pair": "WBTC/USDC", "observations": 103, "qualifiedObservations": 39 }, { "chain": "bsc", "pair": "BTCB/USDT", "observations": 99, "qualifiedObservations": 15 }, { "chain": "arbitrum", "pair": "ARB/USDC", "observations": 98, "qualifiedObservations": 0 } ] }

Coverage is only what was measured. A gap stays a gap — rowsByEra says how much detail each era of rows carries, and ARB/USDC having 98 observations but 0 qualified is the archive telling you that pair has never once cleared the spread floor.


Tools

ToolWhat it answersAccess
get_chainsWhich chains are covered, their chain IDs, tokens and DEX venuesAny key · keyless returns the chain list only, and says so
get_pairsWhat is priceable on one chain: token universe, venues, pair syntaxAny key · keyless returns the measured subset, labelled as such
get_pricesOne pair's price at every venue holding a pool for it, plus reserves, TVL, fee tier and the cross-DEX spreadAny key
get_spreadsA whole chain's cross-venue dislocations, ranked by gross USD at the optimal sizeAny key for live: true · keyless serves the free hourly snapshot
get_history_summaryWhat the measurement archive covers: rows, pairs tracked, chains seen, span, retentionAny key (free tier included)
get_historyOne pair's per-venue price/liquidity series and gross cross-venue spread over 24h / 7d / 30dPRO plan — see Plans

The two history tools read the service's own measurement archive, so they answer the question the live tools cannot: whether a dislocation *persisted* or was a single sample. Sampling is roughly hourly, and gaps are never interpolated or backfilled. Call get_history_summary first to see what span exists before asking for a window.

What it will not do

  • Spreads are gross — before gas, MEV and slippage beyond the optimal size. Not a profit estimate and not trade advice.
  • It never fabricates a row. Without a key, get_chains, get_pairs and get_spreads answer from the free public surface and each carries a limitation field naming exactly what a key would add. get_prices, get_history_summary and get_history return an explicit key-required error with the signup link rather than a thinner answer dressed up as a full one.
  • It does not execute trades, hold funds, or touch a wallet. It is read-only market data.
  • This package ships no credentials of any kind. The key is yours and stays in your config.

Get a key

The paid tools call the API through RapidAPI using your own key.

  1. Subscribe — there is a free tier: https://rapidapi.com/donnydev/api/multi-chain-dex-prices-liquidity
  2. Copy your X-RapidAPI-Key from the RapidAPI dashboard.
  3. Put it in RAPIDAPI_KEY in the config above — never in code, and never in a commit.
Plans

Five of the six tools work on the free tier. Only the per-pair history series is gated:

PlanAdds
BASIC ($0)Live quotes on every chain, plus get_history_summary so you can size the archive before you buy it
PRO ($15/mo)get_history — the measured per-venue series for one pair, 24h window, 1000 calls/mo
ULTRA ($49/mo)No window limit and no history meter, plus depth/slippage and spread alerts
MEGA ($149/mo)Bulk paging over the complete archive for your own store

Calling get_history below PRO returns an explicit tier_required error naming the plan and the upgrade URL — it does not fail silently or return an empty series.

Configuration

Env varDefaultPurpose
RAPIDAPI_KEY—Your RapidAPI key. Required for the paid tools.
ARB_DEX_TIMEOUT_MS45000Request timeout. A live full-chain sweep is a real on-chain read and can take ~30s.
ARB_DEX_FREE_BASE_URLproduction originOverride the free-surface host.
ARB_DEX_RAPIDAPI_HOSTmulti-chain-dex-prices-liquidity.p.rapidapi.comOverride the RapidAPI host.

Set these in your MCP client's env block (see the configs above). .env.example ships in the package and documents the same variables for local runs from a clone.

Test

The test suite is not in the npm tarball — run it from a clone:

git clone https://github.com/donnywin85/arb-dex-mcp.git

cd arb-dex-mcp && npm install

npm run selftest # keyless: exercises the free fallbacks RAPIDAPI_KEY=... npm run selftest # keyed: exercises the paid routes

The test spawns the server over stdio and calls every tool against the real production API — nothing is mocked. It asserts on live values (block number, per-venue prices, scanned-pair counts), so a run that passes is evidence the data path works end to end.

Links

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx