Open Interest Analysis MCP Server
This is an MCP (Message Control Protocol) server that retrieves options open interest data from Alpha Vantage and calculates the put/call ratio to determine market sentiment for a given stock symbol.
You can use the prompts.
Calculate the max pain for symbol NVDA
Calculate put call ratio for symbol NVDA
Screenshots


Claude Desktop Setup
- Install the required dependencies:
pip install -r requirements.txt
-
Set up your Alpha Vantage API key:
- Get an API key from Alpha Vantage
- Create a
.envfile in the root directory
-
Add to your Claude Desktop config file (
claude_desktop_config.json): Add the following configuration to yourclaude_desktop_config.jsonfile under the root JSON object:
"mcpServers": {
"openinterest_stdio": {
"command": "/dir/to/python",
"args": ["/dir/mcp_open_interest/main.py"],
"env": {
"ALPHAVANTAGE_KEY": "your_api_key_here"
}
},
}
}
Sentiment Interpretation
- Bullish: Put/Call ratio < 1.0
- Bearish: Put/Call ratio > 1.0
Recommend MCP Servers 💡
@paperinvest/mcp-server
Enables AI assistants to interact with Paper's trading platform API for account management, portfolio operations, trading, and market data.
sanctions
A powerful MCP Server for sanctions screening, leveraging OFAC API for comprehensive risk assessments of individuals and organizations.
binance-alpha-mcp
An MCP server for tracking Binance Alpha trades, helping AI agents optimize alpha point accumulation.
@shinzolabs/coinmarketcap-mcp
An MCP server implementation for CoinMarketCap API, providing standardized access to cryptocurrency market data, exchange information, and blockchain-related metrics.
octagon-vc-agents
An MCP server that runs AI-driven venture capitalist agents, continuously enriched by Octagon Private Markets' real-time deals, valuations, and deep research intelligence, enabling programmable "VC brains" for pitch feedback, diligence simulations, and term sheet negotiations.
Marketaux MCP Server
A MCP Server Implementation that integrates the Marketaux api providing search based on entity, countries, industries, symbols etc.