Cross-DEX Prices & Spreads

v1.0.1
io.github.donnywin85/arb-dex-mcp Checked 2 days ago Published 3 months ago

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

Values you need

VariableWhat it is
RAPIDAPI_KEYoptional secret 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 live pool prices and fresh sweeps; without it get_chains, get_pairs and get_spreads fall back to a fr
ARB_DEX_TIMEOUT_MSoptional Optional request timeout in milliseconds. Defaults to 45000 — a full-chain live scan is a real on-chain sweep and can take ~30s.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add arb-dex-mcp -- npx -y arb-dex-mcp@1.0.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "arb-dex-mcp": {
      "args": [
        "-y",
        "arb-dex-mcp@1.0.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "arb-dex-mcp": {
      "args": [
        "-y",
        "arb-dex-mcp@1.0.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "arb-dex-mcp": {
      "args": [
        "-y",
        "arb-dex-mcp@1.0.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.arb-dex-mcp]
command = "npx"
args = ["-y", "arb-dex-mcp@1.0.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_chains, get_pairs, get_prices, get_spreads, get_history_summary, get_history.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json