# Put/Call Open Interest Skew Calculator AI Agent Connect

> Deterministic analysis of put/call open interest skew, max pain, and market sentiment levels.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_dctsMriudC6MfJeKP92ExB9kZfLDx7iN1oEZgIXz/ai-agent-connect
- **Tags:** options, open-interest, skew, max-pain, sentiment

## Description

This MCP server provides deterministic tools for analyzing options market sentiment through open interest data. It calculates the Put/Call (PC) ratio per strike, identifies the Max Pain strike, and determines key support and resistance levels based on OI concentration. Users can also analyze the skew slope via linear regression of PC ratio against moneyness to detect fear or greed extremes. Use `analyze_strike_data` to extract core price levels, `calculate_skew_metrics` to evaluate the skew slope, and `get_market_sentiment_summary` for a qualitative market overview.

## Tools

### analyze_strike_data
Analyze strike data

### calculate_skew_metrics
Calculate skew

### get_market_sentiment_summary
Get sentiment

## Prompt Examples

**Prompt:** 
```
Analyze this strike data: strikes [100, 105, 110], callOis [50, 100, 150], putOis [100, 50, 20], underlyingPrice 105.
```

**Response:** 
```
The Max Pain strike is 105. Support is at 100 with 100 Put OI, and resistance is at 110 with 150 Call OI.
```

**Prompt:** 
```
What is the current market sentiment based on these metrics?
```

**Response:** 
```
The market sentiment is Bearish due to a high PC ratio and a positive skew slope.
```

**Prompt:** 
```
Calculate the skew metrics for these strike ratios.
```

**Response:** 
```
The skew slope is 0.45, and no extreme sentiment was detected.
```

## Frequently Asked Questions

**What is the purpose of this MCP?**
It provides mathematical analysis of options open interest, including skew, max pain, and support/resistance levels.

**How do I identify market support and resistance?**
The `analyze_strike_data` tool identifies the support strike as the highest Put OI and the resistance strike as the highest Call OI.

**Can I detect market fear using this tool?**
Yes, `calculate_skew_metrics` identifies fear extremes when there is an unusually high concentration of Put OI at OTM strikes.
