MCP.so
登录
Y

Yahoo Finance unofficial MCP Server

@barvhaim

关于 Yahoo Finance unofficial MCP Server

This server enables AI agents to access real-time stock market data, historical prices, financial statements, and market analysis.

基本信息

分类

金融与商务

传输方式

stdio

发布者

barvhaim

提交者

Bar Haim

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "yfinance": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/yfinance-mcp-server",
        "run",
        "main.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Yahoo Finance unofficial MCP Server?

A Model Context Protocol (MCP) server that provides financial data through Yahoo Finance API integration. It enables AI agents to access real-time stock market data, historical prices, financial statements, and market analysis.

How to use Yahoo Finance unofficial MCP Server?

Invoke the server via an MCP client. It exposes 10 tools that accept stock ticker symbols and optional parameters, returning structured JSON data.

Key features of Yahoo Finance unofficial MCP Server

  • 10 comprehensive financial tools for market data access
  • Real-time stock information with prices and key metrics
  • Historical data analysis with flexible periods and intervals
  • Financial statements (income, balance sheet, cash flow)
  • Earnings data (annual and quarterly)
  • Dividend and split history
  • News and analyst recommendations
  • Stock search and multi-quote support
  • Robust error handling with structured JSON responses
  • FastMCP framework with async support

Use cases of Yahoo Finance unofficial MCP Server

  • Retrieve current stock prices and fundamentals for portfolio tracking
  • Analyze historical price trends and volatility with OHLCV data
  • Fetch earnings and financial statements for company valuation
  • Search stocks by name or ticker to discover investment opportunities
  • Get analyst recommendations and recent news for market sentiment

FAQ from Yahoo Finance unofficial MCP Server

What tools does Yahoo Finance unofficial MCP Server provide?

It provides 10 tools: get_stock_info, get_historical_data, get_dividends, get_splits, get_financials, get_earnings, get_news, get_recommendations, search_stocks, and get_multiple_quotes.

How do I get historical stock data?

Use the get_historical_data tool with a symbol, period (e.g., 1d, 1y, max), and interval (e.g., 1m, 1d, 1wk). It returns OHLCV data with dates and volume.

Can I search for stocks by company name?

Yes, use the search_stocks tool with a query (company name or ticker) and optional limit. It returns matching symbols, names, and exchange information.

Does it support multiple stocks at once?

Yes, the get_multiple_quotes tool accepts a list of ticker symbols and returns current prices, changes, and basic metrics for all of them.

What financial statements are available?

Use get_financials with a symbol and quarterly flag. It returns income statement, balance sheet, and cash flow statement data (annual or quarterly).

评论

金融与商务 分类下的更多 MCP 服务器