MCP server for AI agents to detect flash loan arbitrage opportunities across DEXes on Base. Scan Uni
Most developer tooling work still happens through a UI a human drives. Base MCP server moves it into the conversation instead. MCP server for AI agents to detect flash loan arbitrage opportunities across DEXes on Base. Scan Uni.
The server publishes 7 tools. What each one is for:
detect_arb_opportunity — Compare token prices across Uniswap V2, V3, and Aerodrome. Find profitable arb routesget_pool_reserves — Get reserves/liquidity for a token across all known DEX pools on Baseestimate_flash_profit — Estimate flash loan profit between two pools after gas costsscan_top_tokens — Scan top traded tokens on Base for arb opportunities via DexScreenerget_price_across_dexes — Get current price of a token on all available DEXescheck_sandwich_risk — Analyze recent trades for sandwich attack patterns (bot activity)get_mempool_pending — Check pending transactions for front-run detectionConfiguration is passed through the environment: RPC_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
base-flash-arb-mcp on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Base's toolset — detect_arb_opportunity, get_pool_reserves, estimate_flash_profit and 4 more — is a fair guide to whether it matches your workflow. It is maintained by lordbasilaiassistant-sudo; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| detect_arb_opportunity | Compare token prices across Uniswap V2, V3, and Aerodrome. Find profitable arb routes. |
| get_pool_reserves | Get reserves/liquidity for a token across all known DEX pools on Base. |
| estimate_flash_profit | Estimate flash loan profit between two pools after gas costs. |
| scan_top_tokens | Scan top traded tokens on Base for arb opportunities via DexScreener. |
| get_price_across_dexes | Get current price of a token on all available DEXes. |
| check_sandwich_risk | Analyze recent trades for sandwich attack patterns (bot activity). |
| get_mempool_pending | Check pending transactions for front-run detection. |
{
"mcpServers": {
"base-flash-arb": {
"command": "npx",
"args": ["-y", "base-flash-arb-mcp"],
"env": {
"RPC_URL": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| RPC_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.