stockscreen (yahoo finance).com
stockscreen (yahoo finance).com logo

Stockscreen (Yahoo Finance)

Integrates with Yahoo Finance to provide advanced stock screening and analysis capabilities for technical, fundamental,...

Created byApr 22, 2025

StockScreen MCP Server

A Model Context Protocol (MCP) server providing comprehensive stock screening capabilities through Yahoo Finance. Enables LLMs to screen stocks based on technical, fundamental, and options criteria, with support for watchlist management and result storage.

Features

Stock Screening

  • Technical Analysis Screening
  • Fundamental Screening
  • Options Screening

Data Management

  • Watchlist Creation and Management
  • Screening Result Storage
  • Default Symbol Categories

Installation

Usage

  1. Add to your Claude configuration: In your claude-desktop-config.json, add the following to the mcpServers section:
Replace "path/to/stockscreen.py" with the full path to where you saved the stockscreen.py file.

Available Tools

Available Tools

  1. run_stock_screen

Technical Screen Criteria

Fundamental Screen Criteria

Options Screen Criteria

News Screen Criteria

Custom Screen Criteria

Category Values

Ava1ilable market cap categories for filtering:
  • "mega_cap": >$200B
  • "large_cap": $10B-$200B
  • "mid_cap": $2B-$10B
  • "small_cap": $300M-$2B
  • "micro_cap": <$300M
  • "etf": ETF instruments
  1. manage_watchlist
  1. get_screening_result

Response Formats

Technical Screen Response

Usage Prompt for Claude

"I've enabled the stockscreen tools which provide stock screening capabilities. You can use three main functions:
  1. Screen stocks with various criteria types:
  1. Manage watchlists:
  1. Access saved screening results:
All functions include error handling, detailed market data, and comprehensive responses."

Requirements

  • Python 3.12+
  • MCP Server
  • yfinance
  • pandas
  • numpy
  • asyncio

Limitations

  • Data sourced from Yahoo Finance with potential delays
  • Rate limits based on Yahoo Finance API restrictions
  • Options data availability depends on market hours
  • Some financial metrics may be delayed or unavailable

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Acknowledgments

  • Built with the Model Context Protocol (MCP) by Anthropic
  • Developed for use with Anthropic's Claude

StockScreen MCP Server

A Model Context Protocol (MCP) server providing comprehensive stock screening capabilities through Yahoo Finance. Enables LLMs to screen stocks based on technical, fundamental, and options criteria, with support for watchlist management and result storage.

Features

Stock Screening

  • Technical Analysis Screening
  • Fundamental Screening
  • Options Screening

Data Management

  • Watchlist Creation and Management
  • Screening Result Storage
  • Default Symbol Categories

Installation

Usage

  1. Add to your Claude configuration: In your claude-desktop-config.json, add the following to the mcpServers section:
Replace "path/to/stockscreen.py" with the full path to where you saved the stockscreen.py file.

Available Tools

Available Tools

  1. run_stock_screen

Technical Screen Criteria

Fundamental Screen Criteria

Options Screen Criteria

News Screen Criteria

Custom Screen Criteria

Category Values

Ava1ilable market cap categories for filtering:
  • "mega_cap": >$200B
  • "large_cap": $10B-$200B
  • "mid_cap": $2B-$10B
  • "small_cap": $300M-$2B
  • "micro_cap": <$300M
  • "etf": ETF instruments
  1. manage_watchlist
  1. get_screening_result

Response Formats

Technical Screen Response

Usage Prompt for Claude

"I've enabled the stockscreen tools which provide stock screening capabilities. You can use three main functions:
  1. Screen stocks with various criteria types:
  1. Manage watchlists:
  1. Access saved screening results:
All functions include error handling, detailed market data, and comprehensive responses."

Requirements

  • Python 3.12+
  • MCP Server
  • yfinance
  • pandas
  • numpy
  • asyncio

Limitations

  • Data sourced from Yahoo Finance with potential delays
  • Rate limits based on Yahoo Finance API restrictions
  • Options data availability depends on market hours
  • Some financial metrics may be delayed or unavailable

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Acknowledgments

  • Built with the Model Context Protocol (MCP) by Anthropic
  • Developed for use with Anthropic's Claude