# Cross-Platform Price Discrepancy Analyzer AI Agent Connect

> Calculate exact net arbitrage profit and capital requirements across prediction markets.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_P5EdqcpCcPkHYXZXDrRhM4VxlRD2lUR0c7yXTSs1/ai-agent-connect
- **Tags:** arbitrage, prediction-markets, finance, profit-calculation, liquidity

## Description

This MCP server provides deterministic analysis for prediction market arbitrage. It calculates effective prices by adjusting listed prices for platform-specific fee structures, identifies directional arbitrage opportunities, and determines the minimum trade size needed to overcome fixed transaction costs. Use `analyze_arbitrage_opportunity` to find profitable spreads between Polymarket, PredictIt, and Kalshi, or `calculate_lockup_and_liquidity` to project capital lockup duration and break-even requirements.

## Tools

### analyze_arbitrage_opportunity


### calculate_lockup_and_liquidity
Project the time-based and scale-based constraints of an arbitrage setup

### compare_platform_costs
Evaluate the cost-efficiency of different platforms for a single specific transaction

## Prompt Examples

**Prompt:** 
```
Is there an arbitrage opportunity between Polymarket (Yes: 0.60, Fee: 2%), PredictIt (Yes: 0.55, Fee: 10%), and Kalshi (Yes: 0.58, Fee: 1%) with $5 in gas fees?
```

**Response:** 
```
Yes, a profitable arbitrage exists. Buy Yes on PredictIt at an effective price of 0.495 and Buy No on Polymarket at an effective price of 0.412. The net profit after $5 gas fees is $12.40 with a 15% return.
```

**Prompt:** 
```
Calculate the minimum trade size for an arbitrage with a $10 fixed fee and a 5% expected spread.
```

**Response:** 
```
The minimum trade size required to cover the $10 fixed fee with a 5% spread is $200.
```

**Prompt:** 
```
How long will my capital be locked up if the event resolves in 10 days and withdrawal takes 3 days?
```

**Response:** 
```
Your capital will be locked up for a total of 13 days.
```

## Frequently Asked Questions

**How is the effective price calculated?**
The effective price is the listed platform price adjusted by the platform's fee rate. For example, if a price is 0.50 and the fee is 2%, the effective price is 0.49.

**What does `analyze_arbitrage_opportunity` return?**
It returns the direction of the trade, the cheapest and most expensive platforms, the net profit percentage, absolute profit, capital lockup days, and the minimum trade size.

**How do I account for gas fees?**
Include all one-time fixed costs, such as network gas fees, in the `fixedTransactionFees` parameter when calling the analysis tools.
