Logo Unusual Whales MCP

Unusual Whales MCP

Tổ chức
unusual-whales

The official Unusual Whales MCP server. Connect any MCP-compatible client to 200+ market data endpoints covering options flow, dark pool, congressional trading, Greek exposure, volatility, futures,…

Nhà phát hànhunusual-whales
Kho mãunusual-whales-official-mcp
Ngôn ngữTypeScript
Bản fork
14
Sao
93
Công cụ có sẵn
0
Phương thức truyền tảistdio, streamable-http
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Unusual Whales MCP cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    93 sao và 14 bản fork từ kho mã được liên kết.

Unusual Whales MCP

Inspired by erikmaday/unusual-whales-mcp - the original community MCP server for Unusual Whales by Erik Maday.

npm License: MIT

The official Unusual Whales MCP server. Connect any MCP-compatible client to 200+ market data endpoints covering options flow, dark pool, congressional trading, Greek exposure, volatility, futures, and more.

Quick Start

1. Get an API Key

Get your key at unusualwhales.com/settings/api-dashboard.

2. Connect

Remote (recommended) — no install, connects to the hosted endpoint:

bash
# Claude Code
claude mcp add --transport http unusualwhales \
  https://api.unusualwhales.com/api/mcp \
  --header "Authorization: Bearer YOUR_KEY"
json
// Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS)
{
  "mcpServers": {
    "unusualwhales": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.unusualwhales.com/api/mcp",
        "--header",
        "Authorization: Bearer YOUR_KEY"
      ]
    }
  }
}

Claude Desktop does not natively support remote MCP servers yet, so we use mcp-remote to bridge the connection. Requires Node.js 18+.

json
// Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "unusualwhales": {
      "type": "url",
      "url": "https://api.unusualwhales.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}
json
// VS Code (.vscode/mcp.json) — uses "servers" instead of "mcpServers"
{
  "servers": {
    "unusualwhales": {
      "type": "url",
      "url": "https://api.unusualwhales.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}
json
// Windsurf (~/.codeium/windsurf/mcp_config.json) — uses "serverUrl" instead of "url"
{
  "mcpServers": {
    "unusualwhales": {
      "serverUrl": "https://api.unusualwhales.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}

After adding the config, fully quit and reopen your AI assistant. Just saving the file is not enough — the MCP server connects at startup.

bash
# Claude Code
claude mcp add unusualwhales -e UW_API_KEY=YOUR_KEY -- npx -y @unusualwhales/mcp
json
// Claude Desktop, Cursor
{
  "mcpServers": {
    "unusualwhales": {
      "command": "npx",
      "args": ["-y", "@unusualwhales/mcp"],
      "env": {
        "UW_API_KEY": "YOUR_KEY"
      }
    }
  }
}
json
// VS Code (.vscode/mcp.json)
{
  "servers": {
    "unusualwhales": {
      "command": "npx",
      "args": ["-y", "@unusualwhales/mcp"],
      "env": {
        "UW_API_KEY": "YOUR_KEY"
      }
    }
  }
}

Config file locations:

  • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
  • Cursor: .cursor/mcp.json or ~/.cursor/mcp.json
  • VS Code: .vscode/mcp.json
  • Windsurf: ~/.codeium/windsurf/mcp_config.json

Troubleshooting

ProblemFix
Server not connectingMake sure the URL is exactly https://api.unusualwhales.com/api/mcp. Common mistake: using unusualwhales.com/public-api/mcp (that's the docs page, not the server).
Tools not appearingFully quit and reopen your client after adding the config. Verify your JSON has no trailing commas.
401 UnauthorizedCheck your API key is correct and active. Remote config needs "Authorization: Bearer YOUR_KEY" in the --header arg. Local config needs UW_API_KEY in env.
npx not found (nvm users)Claude Desktop doesn't inherit your shell PATH. Use the full path to npx in the command field (e.g. /Users/you/.nvm/versions/node/v20.x.x/bin/npx) and add "env": { "PATH": "/Users/you/.nvm/versions/node/v20.x.x/bin:/usr/local/bin:/usr/bin:/bin" }.

3. Ask Questions

Once connected, just ask about the market in natural language:

What's the options flow for AAPL today?
Show me the latest congressional trades
What's the dark pool activity for TSLA?
Get the max pain for SPY options expiring this Friday
Deep dive on NVDA - options, dark pool, insider activity

Tools

The server exposes tools across 16 data categories. Your MCP client will call them automatically based on your questions.

CategoryExamples
StockOptions chains, Greeks, IV rank, OHLC candles, max pain, OI, volatility, quotes
OptionsContract flow, historic prices, intraday data, volume profiles
FlowOptions flow alerts, the full trades tape, multi-leg strategies, net flow by expiry, sector flow
Dark PoolTransactions with NBBO context, price level filtering, volume by price level
Futures (Premium)CME contracts, cross-contract flow, time & sales, OHLCV candles, session stats — requires the Advanced tier or futures add-on
CongressCongressional trades, late filings, individual member activity
Politicians (Premium)Portfolios, recent trades, holdings by ticker — contact support to upgrade
InsiderInsider transactions, sector flow, ticker flow
Institutions13F filings, holdings, sector exposure, ownership changes
MarketMarket tide, sector tide, economic calendar, FDA calendar, correlations
EarningsPremarket and afterhours schedules, historical earnings
ETFHoldings, exposure, inflows/outflows, sector weights
ShortsShort interest, FTDs, short volume ratio, borrow rates
SeasonalityMonthly performers, yearly patterns, historical seasonality
ScreenerStock screener, options screener, unusual options activity, analyst ratings
NewsMarket news headlines

Public Stock Fundamentals and Technicals

The MCP now includes public-style stock tools that map directly to the stock fundamentals and technical indicator endpoints.

ToolWhat it returns
get_fundamental_breakdownFiling-based fundamentals, revenue segmentation, EPS, dividends, and balance-sheet trends
get_stock_financialsCombined financials payload with income statements, balance sheets, cash flows, and earnings
get_income_statementsIncome statement history with optional report_type filter
get_balance_sheetsBalance sheet history with optional report_type filter
get_cash_flowsCash flow history with optional report_type filter
get_earnings_historyHistorical reported/estimated EPS and earnings surprises with optional report_type filter
get_technical_indicatorIndicator series for SMA, EMA, RSI, MACD, BBANDS, STOCH, ADX, ATR, OBV, VWAP, CCI, WILLR, AROON, and MFI

The grouped local-package tools uw_fundamentals and uw_technicals remain available for clients that prefer the existing action-based interface.

Prompts

The server includes 30+ ready-to-use analysis prompts. Ask to use any prompt by name.

PromptWhat it does
daily-summaryMarket overview with tide, sectors, flow, dark pool
morning-briefingMorning tide, earnings, and key activity
end-of-day-recapEOD top movers, sectors, and themes
weekly-expirationMax pain, gamma, and OI for weekly expiry
top-moversTop tickers by net premium and options impact
PromptWhat it does
ticker-analysisDeep dive: options, dark pool, insiders, catalysts
options-setupIV rank, term structure, max pain analysis
pre-earningsHistorical moves, IV, positioning before earnings
greek-exposureGamma, delta, vanna exposure by strike
short-interestShort interest, FTDs, squeeze potential
option-contractDeep dive on a specific option contract
correlation-analysisCross-ticker correlation analysis
PromptWhat it does
unusual-flowScan for unusual options activity
dark-pool-scannerLarge dark pool prints and institutional activity
sector-flowOptions flow sentiment by sector group
PromptWhat it does
congress-trackerRecent congressional trading with patterns
politician-portfolioPortfolio holdings for a specific politician
insider-scannerInsider buying/selling patterns
institutional-activity13F filings, holdings changes, sector rotation
analyst-trackerAnalyst ratings with options flow correlation
PromptWhat it does
earnings-calendarEarnings with IV and expected moves
fda-calendarFDA events with biotech options activity
economic-calendarFOMC, CPI, jobs data with positioning
PromptWhat it does
iv-screenerHigh/low IV rank stocks for options strategies
bullish-confluenceBullish flow + dark pool + insider buying
bearish-confluenceBearish flow + distribution + insider selling
news-scannerHeadlines with related options flow
seasonalityHistorical seasonal patterns
etf-flowETF inflows/outflows and exposure

Chain prompts for deeper analysis:

Use morning-briefing, then unusual-flow to dig into top movers
Use pre-earnings for NVDA, then greek-exposure to see dealer positioning
Use bullish-confluence to find candidates, then ticker-analysis on the top result

Configuration

All optional. The defaults work for most users.

VariableDefaultDescription
UW_API_KEYrequiredYour Unusual Whales API key
UW_RATE_LIMIT_PER_MINUTE120Max requests per minute
UW_MAX_RETRIES3Retry attempts for failed requests
UW_CIRCUIT_BREAKER_THRESHOLD5Failures before circuit opens
UW_CIRCUIT_BREAKER_RESET_TIMEOUT30000Ms before retrying after circuit opens
LOG_LEVELinfoLogging verbosity (debug, info, warn, error)
UW_ENABLE_PREMIUM_TOOLSunsetSet to 1/true to expose every premium tool and command
UW_PREMIUM_TOOLSunsetComma-separated allowlist of premium tools/commands to expose, e.g. uw_futures,uw_flow.full_tape

Endpoint Schema

Every endpoint the server exposes is published as machine-readable JSON, generated from the same catalog the server registers from:

FileContents
docs/endpoints.jsonFull JSON Schema for every command's parameters, plus route and query-param renames
docs/endpoints-compact.jsonOne row per endpoint — route, description, required/optional params. Use this to find an endpoint, then look it up in the full file

Both are regenerated with npm run docs and verified in CI, so they cannot drift from the server. To check the catalog against the live upstream API:

bash
npm run fetch-spec   # download the current OpenAPI spec
npm run check-api    # report missing endpoints, unknown routes, and param drift

WebSocket channels (/api/socket/*) are intentionally not exposed: MCP is request/response. Use the REST endpoints directly for streaming.

Contributing

See CONTRIBUTING.md.

Acknowledgments

This project builds on the foundational work of Erik Maday, whose unusual-whales-mcp was the first community MCP server for Unusual Whales and demonstrated how to bring market data into the MCP ecosystem.

License

MIT - see LICENSE.


Originally inspired by the UW community MCP erikmaday/unusual-whales-mcp.

Cài đặt

TypingMind
{
  "mcpServers": {
    "unusual-whales-official-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@unusualwhales/mcp"
      ],
      "env": {
        "UW_API_KEY": "<UW_API_KEY>"
      }
    }
  }
}

Dùng MCP Unusual Whales MCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Unusual Whales MCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. Bạn có thể chạy MCP ngay trên thiết bị của mình hoặc kết nối qua URL của máy chủ MCP từ xa.

Cách 1: Dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm Unusual Whales MCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Unusual Whales MCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "unusual-whales-official-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@unusualwhales/mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Unusual Whales MCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Unusual Whales MCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng Unusual Whales MCP giúp tôi làm việc này không?
Unusual Whales MCP
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng Unusual Whales MCP.

Cách 2: Thêm URL máy chủ MCP

Dùng cách này khi Unusual Whales MCP đã chạy trên máy chủ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập https://api.unusualwhales.com/api/mcp vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán https://api.unusualwhales.com/api/mcp vào trường URL máy chủ.
  2. Nhập tên kết nối cho Unusual Whales MCP.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối Unusual Whales MCP hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của Unusual Whales MCP trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của Unusual Whales MCP trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và tiếp tục dùng kết nối MCP hiện có.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng Unusual Whales MCP giúp tôi làm việc này không?
Unusual Whales MCP
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng Unusual Whales MCP.

Câu hỏi thường gặp

Máy chủ MCP Unusual Whales MCP dùng để làm gì?

Unusual Whales MCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Unusual Whales MCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Unusual Whales MCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Unusual Whales MCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Unusual Whales MCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Unusual Whales MCP với TypingMind?

Bạn có thể kết nối Unusual Whales MCP trong TypingMind bằng trình kết nối MCP cục bộ hoặc bằng cách thêm URL máy chủ MCP từ xa. Dùng trình kết nối cục bộ khi máy chủ cần truy cập tệp, ứng dụng hoặc tài nguyên riêng trên thiết bị của bạn; dùng URL máy chủ khi máy chủ MCP được lưu trữ từ xa.

MCP Unusual Whales MCP cung cấp những công cụ nào trong TypingMind?

Unusual Whales MCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Unusual Whales MCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Unusual Whales MCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇