MCP Catalogs
首页yahoo-finance-mcp screenshot

yahoo-finance-mcp

by Alex2Yang97·286·综合分 49

功能全面的 Yahoo Finance MCP 服务器,提供股票数据、财务报表、期权和新闻信息。

financeai-llmdeveloper-tools
136
Forks
7
活跃 Issue
2 个月前
最近提交
2 天前
收录于

概述

这个 MCP 服务器通过结构良好的接口访问 Yahoo Finance 的全面金融数据。它提供检索历史股价、公司信息、财务报表、期权数据和新闻的工具。该服务器最近有更新提交,并包含与 Claude Desktop 集成的清晰文档。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:使用历史数据分析股票表现和趋势
:比较不同公司的财务报表
:监控市场新闻和分析师建议
:这个 MCP 服务器使用什么数据源?
:我能使用此服务器获取实时股价吗?

什么时候选它

如果您需要通过 MCP 获取 Yahoo Finance 的全面金融数据进行股票分析、市场研究或投资研究,请选择此 MCP 服务器。

什么时候不要选它

如果您需要实时数据(Yahoo Finance 有一定延迟)、需要 Yahoo Finance 之外的数据源,或需要身份验证/企业功能,则不太适合。

此 server 暴露的工具

从 README 抽取出 9 个工具
  • get_historical_stock_prices

    Get historical OHLCV data for a stock with customizable period and interval

  • get_stock_info

    Get comprehensive stock data including price, metrics, and company details

  • get_yahoo_finance_news

    Get latest news articles for a stock

  • get_stock_actions

    Get stock dividends and splits history

  • get_financial_statement

    Get income statement, balance sheet, or cash flow statement (annual/quarterly)

  • get_holder_info

    Get major holders, institutional holders, mutual funds, or insider transactions

  • get_option_expiration_dates

    Get available options expiration dates

  • get_option_chain

    Get options chain for a specific expiration date and type (calls/puts)

  • get_recommendations

    Get analyst recommendations or upgrades/downgrades history

可对比工具

polygon-mcpalphavantage-mcpquandl-mcpfinancial-modeling-prep-mcp

安装

推荐方式:使用 uvx 运行

直接从仓库运行服务器:

uvx --from git+https://github.com/Alex2Yang97/yahoo-finance-mcp yahoo-finance-mcp

Claude Desktop 集成

  1. 编辑 Claude Desktop 配置文件:

**macOS:**

{
  "mcpServers": {
    "yfinance": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/Alex2Yang97/yahoo-finance-mcp",
        "yahoo-finance-mcp"
      ]
    }
  }
}

**Windows:**

{
  "mcpServers": {
    "yfinance": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/Alex2Yang97/yahoo-finance-mcp",
        "yahoo-finance-mcp"
      ]
    }
  }
}
  1. 重启 Claude Desktop

FAQ

这个 MCP 服务器使用什么数据源?
服务器主要使用 Yahoo Finance 作为数据源,通过 yfinance 库获取信息。
我能使用此服务器获取实时股价吗?
服务器提供历史股价和当前市场数据,但实时价格可能存在轻微延迟,因为数据来自 Yahoo Finance。

yahoo-finance-mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。