MCP.so
登录

Yahoo Fianace MCP

@a05031113

关于 Yahoo Fianace MCP

暂无概览

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

a05031113

提交者

HY Yang

配置

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

{
  "mcpServers": {
    "yahoo_finance_engine": {
      "command": "/path/to/your/yahoo-finance/.venv/bin/python",
      "args": [
        "/path/to/your/yahoo-finance/main.py"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is Yahoo Finance MCP?

Yahoo Finance MCP is a Model Context Protocol (MCP) server that exposes functions from the yfinance library as individual tools, enabling MCP clients like Claude Desktop to query Yahoo Finance data.

How to use Yahoo Finance MCP?

Clone the repository, create and activate a virtual environment with uv, install dependencies from requirements.txt, then run python main.py. Configure your MCP client to execute the Python interpreter with the main.py script as a command.

Key features of Yahoo Finance MCP

  • Provides 20+ tools for stock and financial data.
  • Covers current price, historical data, dividends, and splits.
  • Includes income statement, cash flow, and balance sheet.
  • Offers news, company info, and analyst recommendations.
  • Supports option chains, sustainability, and holder data.

Use cases of Yahoo Finance MCP

  • Retrieve real-time and historical stock prices for analysis.
  • Access financial statements for fundamental research.
  • Fetch earnings dates and analyst price targets.
  • Get news and company information for due diligence.
  • Query option expiration dates and chains for trading.

FAQ from Yahoo Finance MCP

What data does Yahoo Finance MCP access?

It accesses Yahoo Finance data through the yfinance library, covering stocks, financials, news, options, and more.

What are the runtime requirements?

Python 3.8+ and the uv package manager are required. Dependencies are listed in requirements.txt.

How does the server communicate?

It uses standard input/output (stdio) for JSON-RPC requests, as expected by the MCP protocol.

Does it require authentication or API keys?

No authentication or API keys are mentioned in the README; it relies on the public yfinance library.

What tools are available?

Tools include get_current_stock_price, get_historical_stock_prices, get_income_statement, get_news, get_option_chain, and many more (see the full list in the README).

评论

其他 分类下的更多 MCP 服务器