Skip to main content
Glama
joshthecoder-hub

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"}

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    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.
    15
    191
    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.
    26
    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
    C
    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