Labsco
tradermonty logo

Finviz MCP Server

β˜… 36

from tradermonty

Provides stock screening and fundamental analysis using Finviz data. Requires a Finviz Elite subscription.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedPaid serviceAdvanced setup

Finviz MCP Server

English | ζ—₯本θͺž

A Model Context Protocol (MCP) server that provides comprehensive stock screening and fundamental analysis capabilities using Finviz data.

Features

Stock Screening Tools

  • Earnings Screener: Find stocks with upcoming earnings announcements
  • Volume Surge Screener: Detect stocks with unusual volume and price movements
  • Trend Analysis: Identify uptrend and momentum stocks
  • Dividend Growth Screener: Find dividend-paying stocks with growth potential
  • ETF Screener: Screen exchange-traded funds
  • Premarket/Afterhours Earnings: Track earnings reactions in extended hours

Fundamental Analysis

  • Individual stock fundamental data retrieval
  • Multiple stock comparison
  • Sector and industry performance analysis
  • News and sentiment tracking

Technical Analysis

  • RSI, Beta, and volatility metrics
  • Moving average analysis (SMA 20/50/200)
    • NEW: get_moving_average_position – see how far price sits above/below the 20-, 50-, and 200-day SMAs in a single call
  • Relative volume analysis
  • 52-week high/low tracking

πŸ“„ SEC Filing Features

  1. SEC Filing List Retrieval
    # All AAPL filings (past 30 days)
    finviz_get_sec_filings(ticker="AAPL", days_back=30)
    
    # Major forms only (10-K, 10-Q, 8-K, etc.)
    finviz_get_major_sec_filings(ticker="AAPL", days_back=90)
    
    # Insider trading related (Form 3, 4, 5, etc.)
    finviz_get_insider_sec_filings(ticker="AAPL", days_back=30)

Advanced Screening Examples

Earnings-Based Strategies

Premarket Earnings Momentum

earnings_premarket_screener(
    earnings_timing="today_before",
    market_cap="large",
    min_price=25,
    min_price_change=2.0,
    include_premarket_data=True
)

Afterhours Earnings Reactions

earnings_afterhours_screener(
    earnings_timing="today_after",
    min_afterhours_change=5.0,
    market_cap="mid",
    include_afterhours_data=True
)

Technical Analysis Strategies

Trend Reversal Candidates

trend_reversion_screener(
    market_cap="large",
    eps_growth_qoq=10.0,
    rsi_max=30,
    sectors=["Technology", "Healthcare"]
)

Strong Uptrend Stocks

uptrend_screener(
    trend_type="strong_uptrend",
    sma_period="20",
    relative_volume=2.0,
    price_change=5.0
)

Value Investment Strategies

Dividend Growth

dividend_growth_screener(
    min_dividend_yield=2.0,
    max_dividend_yield=6.0,
    min_dividend_growth=5.0,
    min_roe=15.0
)

Data Models

StockData

Comprehensive stock information including:

  • Basic info (ticker, company, sector, industry)
  • Price and volume data
  • Technical indicators (RSI, Beta, moving averages)
  • Fundamental metrics (P/E, EPS, dividend yield)
  • Earnings data (surprises, estimates, growth rates)
  • Performance metrics (1w, 1m, YTD)

Screening Results

Structured results with:

  • Query parameters used
  • List of matching stocks
  • Total count and execution time
  • Formatted output for easy reading

Error Handling

The server includes comprehensive error handling:

  • Input validation for all parameters
  • Rate limiting protection
  • Network error recovery with retries
  • Detailed error messages and logging

Rate Limiting

To respect Finviz's servers:

  • Default 1-second delay between requests
  • Configurable rate limiting
  • Automatic retry with exponential backoff
  • Finviz Elite API key support for higher limits

Logging

Configurable logging levels:

  • DEBUG: Detailed request/response information
  • INFO: General operation information (default)
  • WARNING: Non-critical issues
  • ERROR: Critical errors

Disclaimer

This tool is for educational and research purposes only. Always conduct your own research before making investment decisions. The authors are not responsible for any financial losses incurred using this software.

Finviz Elite Requirement: This MCP server requires a Finviz Elite subscription for full functionality. Free Finviz accounts have limited access to screening features and data. For comprehensive stock screening capabilities, please subscribe to Finviz Elite at https://elite.finviz.com/elite.ashx

Support

For issues and feature requests, please use the GitHub issue tracker.

Changelog

v1.0.0

  • Initial release
  • Basic screening tools implementation
  • Fundamental data retrieval
  • MCP server integration
  • Comprehensive error handling and validation