Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Unusual Whales MCP Servershow me recent options flow for AAPL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unusual Whales MCP Server
A Model Context Protocol (MCP) server that provides access to the Unusual Whales API for financial data, options flow analysis, and market intelligence.
Features
š Fast and lightweight - Direct API access without heavy dependencies
š Comprehensive data - 33 tools covering 12 financial data categories
š Real-time insights - Options flow alerts, market sentiment, and live data
šļø Congressional tracking - Monitor politician trading activity
š Dark pool analysis - Track institutional block trades
š Market intelligence - ETF flows, earnings data, and volatility metrics
Requirements
Node.js 18+
Valid Unusual Whales API key
Compatible with Claude Desktop, VS Code, and other MCP clients
Installation
The server is available as an npm package and can be installed in multiple ways:
Quick Start
Global Installation
Local Installation
Configuration
Environment Setup
Obtain an API key from Unusual Whales
Set the environment variable:
Or create a .env file:
MCP Client Configuration
Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
VS Code (via MCP extension)
Other MCP Clients
The server works with any MCP-compatible client. Use the command:
Available Tools
š Stock Analysis
get_stock_info- Get comprehensive stock informationget_stock_flow_alerts- Get options flow alerts for a tickerget_stock_flow_recent- Get recent options flowsget_stock_option_chains- Get option chains dataget_stock_greek_exposure- Get Greeks exposure analysisget_stock_max_pain- Get max pain calculationsget_stock_iv_rank- Get IV rank percentilesget_stock_volatility_stats- Get volatility statistics
š Market Data
get_market_tide- Get overall market sentiment indicatorget_market_economic_calendar- Get economic events calendarget_market_fda_calendar- Get FDA calendar eventsget_market_spike- Get SPIKE volatility indicatorget_market_total_options_volume- Get market-wide options volume
šļø Congressional & Insider Trading
get_congress_trader- Get congress member trading dataget_congress_late_reports- Get late filing reportsget_congress_recent_trades- Get recent congressional trades
š Dark Pool Analysis
get_darkpool_recent- Get recent dark pool printsget_darkpool_ticker- Get dark pool data for specific ticker
š ETF Analysis
get_etf_exposure- Get ETF sector/geographic exposureget_etf_holdings- Get ETF holdings breakdownget_etf_in_outflow- Get ETF flow dataget_etf_info- Get ETF informationget_etf_weights- Get ETF sector weights
š Earnings & Events
get_earnings_afterhours- Get after-hours earningsget_earnings_premarket- Get pre-market earningsget_earnings_ticker- Get historical earnings for ticker
š Alerts & Screening
get_alerts- Get triggered user alertsget_alerts_configuration- Get alert configurationsget_option_trades_flow_alerts- Get options flow alertsget_screener_analysts- Get analyst ratings screenerget_screener_option_contracts- Get hottest chains screenerget_screener_stocks- Get stock screener results
š° News
get_news_headlines- Get financial news headlines
Usage Examples
Basic Stock Analysis
Market Sentiment
Congressional Trading
Dark Pool Activity
Using as a Package in Node.js Projects
This package can be imported and used directly in your Node.js applications, including web frameworks like Hono, Express, or Fastify.
Installation as Dependency
Basic Usage
Integration with Hono Web Framework
Environment Configuration
Advanced Usage with Custom Transport
TypeScript Support
The package includes full TypeScript definitions:
API Coverage
The server provides access to 81 API endpoints across 12 categories:
Category | Endpoints | Description |
Alerts | 2 | Custom alerts and configurations |
Congress | 3 | Congressional trading data |
Darkpool | 2 | Dark pool trading analysis |
Earnings | 3 | Earnings calendars and data |
ETFs | 5 | ETF analysis and holdings |
Group Flow | 2 | Grouped options flow data |
Insider | 4 | Insider trading information |
Institutions | 6 | Institutional holdings and activity |
Market | 9 | Market-wide data and indicators |
Net Flow | 1 | Net options flow by expiry |
News | 1 | Financial news headlines |
Option Contract | 4 | Individual contract analysis |
Option Trades | 2 | Options flow and alerts |
Screeners | 3 | Stock and options screening tools |
Seasonality | 4 | Seasonal market patterns |
Shorts | 5 | Short interest and volume data |
Stock | 27 | Comprehensive stock analysis |
Development
Local Development
Available Scripts
npm run build- Compile TypeScript and make executablenpm run watch- Watch for changes and recompilenpm run inspector- Launch MCP inspector for debuggingnpm run prepare- Prepare package for publishing
Project Structure
Rate Limits
Please be aware of Unusual Whales API rate limits. The server includes:
30-second timeout for requests
Proper error handling for rate limit responses
Retry logic for transient failures
License
This project is licensed under the MIT License - see the LICENSE file for details.
Disclaimer
ā ļø Important: This software is for educational and research purposes only. Always verify data independently before making trading decisions. The authors are not responsible for any financial losses incurred from using this software.
Support
Issues: GitHub Issues
API Documentation: Unusual Whales API Docs
Related Projects
Model Context Protocol - Official MCP implementation
Claude Desktop - AI assistant with MCP support
Unusual Whales - Financial data platform
Made with ā¤ļø for