Skip to main content
Glama
MCP Yahoo Finance

MCP Yahoo Finance

by maxscheijen

MCP 야후 파이낸스

Yahoo Finance 상호작용을 위한 모델 컨텍스트 프로토콜 (MCP) 서버입니다. 이 서버는 가격, 회사 정보 등을 얻을 수 있는 도구를 제공합니다.

mcp-yahoo-finance 현재 초기 개발 단계에 있습니다. 서버 개발 및 개선 과정에서 기능 및 사용 가능한 도구가 변경 및 확장될 수 있습니다.

설치

uv 사용하시는 경우 mcp-yahoo-finance 수동으로 설치할 필요가 없습니다. uvx 사용하여 mcp-yahoo-finance 직접 실행하겠습니다.

단순히 MCP 서버를 사용하려는 경우 이 방법을 사용하는 것이 좋습니다.

pip 사용하기

pip 사용합니다.

지엑스피1

Git 사용하기

저장소를 컴퓨터에 복제한 후에 패키지를 설치할 수도 있습니다.

git clone git@github.com:maxscheijen/mcp-yahoo-finance.git
cd mcp-yahoo-finance
uv sync

Related MCP server: MCP Yahoo Finance

구성

클로드 데스크탑

claude_desktop_config.json 에 다음을 추가하세요:

{
    "mcpServers": {
        "yahoo-finance": {
            "command": "uvx",
            "args": ["mcp-yahoo-finance"]
        }
    }
}

docker를 사용할 수도 있습니다.

{
    "mcpServers": {
        "yahoo-finance": {
            "command": "docker",
            "args": ["run", "-i", "--rm", "IMAGE"]
        }
    }
}

VS코드

.vscode/mcp.json 에 다음을 추가하세요:

{
    "servers": {
        "yahoo-finance": {
            "command": "uvx",
            "args": ["mcp-yahoo-finance"]
        }
    }
}

질문의 예

  1. "애플의 주가는 얼마예요?"

  2. "애플과 구글의 주가 차이는 얼마입니까?"

  3. "2024년 1월 1일부터 2025년 1월 1일까지 Apple 주가는 얼마나 변동했나요?"

짓다

도커:

docker build -t [IMAGE] .

MCP Inspector로 테스트

npx @modelcontextprotocol/inspector uv run mcp-yahoo-finance

Available Tools

21 tools
get_capital_gainsB

Get normalized capital-gains distributions for a symbol.

Inputs: symbol (required).

get_cashflowB

Get the cashflow statement for a given stock symbol.

Inputs: symbol (required), freq.

get_company_overviewC

Get a normalized company overview for one stock symbol.

Inputs: symbol (required).

get_current_stock_priceC

Get the current stock price based on stock symbol.

Inputs: symbol (required).

get_dividendsB

Get normalized dividend history for a given stock symbol.

Inputs: symbol (required).

get_earning_datesB

Get recent and upcoming earnings dates.

Inputs: symbol (required), limit.

get_earnings_analyticsC

Get earnings surprise history and analyst estimate history.

Inputs: symbol (required), limit.

get_historical_stock_pricesC

Get historical stock prices for a given stock symbol.

Inputs: symbol (required), period, adjusted, interval.

get_income_statementC

Get the income statement for a given stock symbol.

Inputs: symbol (required), freq.

get_newsB

Get normalized, bounded news for a stock symbol.

Inputs: symbol (required), limit, end_date, start_date.

get_option_chainC

Get a filtered, bounded option chain for one expiration date.

Inputs: symbol (required), expiration_date (required), limit, moneyness, +6 more.

get_option_expiration_datesB

Get available option expiration dates for a stock symbol.

Inputs: symbol (required).

get_option_summaryB

Summarize option interest, volume, volatility, ratios, and max pain.

Inputs: symbol (required), expiration_date (required), limit.

get_performance_analysisC

Analyze adjusted performance for multiple symbols over a date range.

Inputs: symbols (required), end_date (required), start_date (required), limit, +1 more.

get_recommendationsC

Get analyst recommendations for a given symbol.

Inputs: symbol (required).

get_rich_quoteC

Get a normalized quote snapshot for one stock symbol.

Inputs: symbol (required).

get_stock_price_by_dateB

Get the stock price for a given stock symbol on a specific date.

Inputs: date (required), symbol (required).

get_stock_price_date_rangeC

Get stock prices for a symbol over an inclusive date range.

Inputs: symbol (required), end_date (required), start_date (required).

get_stock_splitsB

Get normalized stock split history for a symbol.

Inputs: symbol (required).

get_symbol_comparisonB

Compare current quote data for multiple stock symbols.

Inputs: symbols (required).

get_upcoming_dividendsC

Get upcoming dividend dates and rates when Yahoo provides them.

Inputs: symbol (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 21 tools

    Disambiguation3/5

    Several price-related tools overlap significantly: get_current_stock_price, get_rich_quote, get_stock_price_by_date, get_stock_price_date_range, and get_historical_stock_prices all return price data with only subtle scope differences. Other tool groups (options, earnings, dividends) are more clearly distinct, but the price cluster will likely cause misselection.

    Naming Consistency5/5

    All tools follow a consistent get_<noun> snake_case pattern. The vocabulary varies slightly (e.g., stock_price vs. symbol), but the verb and casing convention is uniform throughout.

    Tool Count3/5

    With 21 tools, the set is on the heavy side for a single finance data server. Many tools are justified, but the price-related group feels inflated with overlapping endpoints.

    Completeness4/5

    The surface covers quotes, historical prices, financial statements, options, earnings, dividends, splits, news, and recommendations. A balance sheet tool is missing, and some advanced Yahoo Finance capabilities (e.g., insider transactions, fund data) are absent, but core workflows are well supported.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      A Model Context Protocol server providing real-time stock data and options analysis through Yahoo Finance, enabling LLMs to access market data, analyze stocks, and evaluate options strategies.
      3
      27
      MIT
    • A
      license
      C
      quality
      Not graded
      maintenance
      A Model Context Protocol server that provides tools for interacting with Yahoo Finance, allowing users to retrieve stock prices, company information, and perform financial data comparisons.
      11
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      A Model Context Protocol server providing comprehensive financial data from Yahoo Finance, allowing users to retrieve detailed stock information, financial statements, options data, and market news.
      34
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A Model Context Protocol server providing comprehensive access to Yahoo Finance data through the yahooquery library, enabling AI assistants to retrieve stock prices, financial statements, market data, and company analytics.
      12
      MIT