Skip to main content
Glama
tdnupe3

Coin Railz MCP Server

by tdnupe3

get_arbitrage_opportunities

Scan cross-chain crypto markets to identify profitable arbitrage opportunities based on specified chains and minimum profit thresholds.

Instructions

Scan for cross-chain arbitrage opportunities.

Args: chains: List of chains to scan for arbitrage min_profit_pct: Minimum profit percentage to report

Returns: List of arbitrage opportunities with routes and expected profit.

Price: $1.00

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainsNo
min_profit_pctNo

Implementation Reference

  • Implementation of the get_arbitrage_opportunities tool, which acts as an MCP tool to scan for cross-chain arbitrage opportunities using the Coin Railz arbitrage-scanner service.
    @mcp.tool()
    async def get_arbitrage_opportunities(chains: List[str] = None, min_profit_pct: float = 0.5) -> str:
        """
        Scan for cross-chain arbitrage opportunities.
        
        Args:
            chains: List of chains to scan for arbitrage
            min_profit_pct: Minimum profit percentage to report
        
        Returns:
            List of arbitrage opportunities with routes and expected profit.
        
        Price: $1.00
        """
        payload = {
            "chains": chains or ["ethereum", "base", "polygon", "arbitrum"],
            "minProfitPct": min_profit_pct
        }
        result = await call_coinrailz_service("arbitrage-scanner", payload)
        return json.dumps(result, indent=2)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tdnupe3/mcp-server-coinrailz'

If you have feedback or need assistance with the MCP directory API, please join our Discord server