MCP.so
Sign In
Servers

Yahoo Finance

@danchev

A Model Context Protocol (MCP) server for agentic retrieval of financial data from Yahoo Finance. This server leverages YFinance to provide a simple and efficient way to access historical stock prices, dividends, stock splits, company information, and other financial metrics.

Overview

What is Yahoo Finance?

Yahoo Finance is a Model Context Protocol (MCP) server for agentic retrieval of financial data from Yahoo Finance. It leverages the YFinance library to provide structured access to historical stock prices, dividends, splits, company information, analyst recommendations, and other metrics, and is designed for use with LLM applications like Claude Desktop and Cursor.

How to use Yahoo Finance?

Install the server via uvx mcp-server-yfinance@latest. Configure it in your MCP client (e.g., Claude Desktop or VS Code) by adding the appropriate JSON block to the client’s configuration file. Once connected, invoke any of the available tools—such as get_stock_info, get_historical_data, or get_recommendations—by ticker symbol.

Key features of Yahoo Finance

  • Retrieve basic stock information (price, market cap, sector)
  • Fetch historical price data with customizable periods and intervals
  • Access analyst recommendations, price targets, and upgrades/downgrades
  • Download dividend and stock split history for tickers
  • Screen stocks by market cap, P/E, dividend yield, and sector
  • Get technical indicators, volatility metrics, and support/resistance levels

Use cases of Yahoo Finance

  • Building financial analysis chatbots or AI assistants for investment research
  • Automating stock screening and filtering based on custom criteria
  • Tracking portfolio performance and historical data across multiple tickers
  • Supporting market‑aware decision‑making with real‑time sector and index data

FAQ from Yahoo Finance

How do I install Yahoo Finance MCP server?

Use the command uvx mcp-server-yfinance@latest in your terminal. Then configure the server in your MCP client (e.g., Claude Desktop or VS Code) by adding the provided JSON block to the client’s settings.

Does Yahoo Finance require an API key or authentication?

No. The server uses the YFinance library, which accesses publicly available Yahoo Finance data without requiring an API key or credentials

Tags

More from Finance & Commerce