Skip to main content
Glama
Yahoo Finance MCP Server

Yahoo Finance MCP Server

Moved to new github account: https://github.com/josh-g-s/Yahoo-Finance-MCP

Yahoo Finance MCP Server

A lightweight MCP server for accessing Yahoo Finance data. No persistent service required - the server runs only when needed.

Features

  • get-stock-price: Get current stock price and basic trading information

  • get-stock-history: Get historical price data for various time periods

  • get-stock-info: Get detailed company information

  • get-financials: Get financial statements (income, balance sheet, cash flow)

Related MCP server: YFinance MCP Server

Installation

pip install -e .

Usage

The server uses stdio for communication (no HTTP server needed). Configure it in your MCP client:

{
  "mcpServers": {
    "yahoo-finance": {
      "command": "python",
      "args": ["-m", "yahoo_finance_mcp"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "yahoo-finance": {
      "command": "yahoo-finance-mcp"
    }
  }
}

Examples

  • Get Apple stock price: get-stock-price with {"ticker": "AAPL"}

  • Get Tesla's last 6 months: get-stock-history with {"ticker": "TSLA", "period": "6mo"}

  • Get Microsoft info: get-stock-info with {"ticker": "MSFT"}

  • Get Amazon financials: get-financials with {"ticker": "AMZN", "statement_type": "income"}

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      A simple MCP server for Yahoo Finance using yfinance. This server provides a set of tools to fetch stock data, news, and other financial information.
      2
      15
      211
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A comprehensive MCP server that provides seamless access to Yahoo Finance stock market data, enabling retrieval of real-time quotes, historical data, charts, financial summaries, and market searches.
      28 npm
      ISC
    • A
      license
      A
      quality
      C
      maintenance
      An MCP server that exposes comprehensive Yahoo Finance data (quotes, financials, options, news, and more) to AI agents via the yfinance library, requiring no API key.
      24
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A lightweight MCP server that provides stock research tools for Japanese and US stocks, including price, dividends, valuation, and screening, powered by yfinance.
      MIT