原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

yfinance-ai: Yahoo Finance

作者:lkcair版本 5.0.5i★ –i在你的电脑上运行
注册名称io.github.lkcair/yfinance-ai

安装

概览

作者提供的说明(英文原文)

Yahoo Finance in 68 tools: stocks, crypto, forex, commodities, funds, options, analysts, calendars.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 会计、财务与税务

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "yfinance-ai": {
      "command": "uvx",
      "args": [
        "yfinance-ai"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add yfinance-ai -- uvx yfinance-ai

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "yfinance-ai": {
      "command": "uvx",
      "args": [
        "yfinance-ai"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "yfinance-ai": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "yfinance-ai"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 lkcair 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“会计、财务与税务”中的其他服务器比较i

  • 星标数多于此分类中其他 2933 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2933 个服务器的 64% 更新
  • 基础检查结果等于或优于此分类中其他 2933 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

yfinance-ai: Yahoo Finance 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(5.0.5)于18天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Finance Toolkit

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

作者:JerBouma广泛使用↓ 1.6万/周★ 5496昨天更新

电脑或云端

SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

作者:SolidInvoice正在增长★ 9819天前更新

在云端运行✓ solidinvoice.co

Korea Tax Calculator

Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.

作者:UpstageAI正在增长↓ 3172/周★ 97前天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

yfinance-ai MCP server

World's first AI-powered Yahoo Finance integration: 68 tools for stocks, ETFs, mutual funds, crypto, forex and commodities, in one Python file.

🚀 Thousands of downloads on ClawHub and OpenWebUI

Prices and history, financial statements, ratios and valuation history, analyst estimates and price targets, earnings, dividends, options, holders and insiders, funds and ETFs, market movers, sectors and industries, and earnings, IPO, economic and split calendars.

Use it inInstallRepo
Claude, Cursor, VS Code, LangChain, Google ADK, Strands Agents and other MCP clientsuvx yfinance-ai@latestyfinance-ai-mcp
ClawHub skill for OpenClaw 🚀 Thousands of downloadsopenclaw skills install @lkcair/stocksyfinance-ai-skill
OpenWebUI tool 🚀 Thousands of downloadsGet it on openwebui.comyfinance-ai
Pythonfrom yfinance_ai import Toolsyfinance-ai

Install

Needs uv. No API key.

Claude Code:

claude mcp add yfinance-ai -- uvx yfinance-ai@latest

VS Code:

code --add-mcp '{"name":"yfinance-ai","type":"stdio","command":"uvx","args":["yfinance-ai@latest"]}'

Claude Desktop, Cursor, Windsurf and other clients, in the client's MCP config file:

{

"mcpServers": { "yfinance-ai": { "command": "uvx", "args": [ "yfinance-ai@latest" ] } } }

@latest picks up new releases when the client starts. Without uv: pip install yfinance-ai, then use "command": "yfinance-ai" with no args.

Listed in the MCP Registry as io.github.lkcair/yfinance-ai. Every tool is read-only.

Agent frameworks

The server runs over stdio with uvx yfinance-ai@latest, so any framework with MCP support can load all its tools.

LangChain: pip install "langchain[mcp]" langchain-anthropic

import asyncio

from langchain.agents import create_agent from langchain.mcp import MCPAdapter

async def main(): config = {"mcpServers": {"yfinance-ai": { "command": "uvx", "args": ["yfinance-ai@latest"], }}} async with MCPAdapter(config) as adapter: tools = await adapter.list_tools() agent = create_agent("claude-sonnet-5", tools) result = await agent.ainvoke({"messages": [{"role": "user", "content": "What is Apple's P/E, and how does it compare with Microsoft and Google?"}]}) print(result"messages".content)

asyncio.run(main())

Google ADK: pip install "google-adk[mcp]"

from google.adk.agents import LlmAgent

from google.adk.tools.mcp_tool import McpToolset from google.adk.tools.mcp_tool.mcp_session_manager import StdioConnectionParams from mcp import StdioServerParameters

root_agent = LlmAgent( model="gemini-flash-latest", name="yfinance_ai", instruction="Answer with the yfinance-ai tools.", tools=[McpToolset(connection_params=StdioConnectionParams( server_params=StdioServerParameters(command="uvx", args=["yfinance-ai@latest"]), timeout=60, ))], )

Strands Agents: pip install strands-agents

from mcp import stdio_client, StdioServerParameters

from strands import Agent from strands.tools.mcp import MCPClient

yfinance_ai = MCPClient(lambda: stdio_client(StdioServerParameters( command="uvx", args=["yfinance-ai@latest"], ))) agent = Agent(tools=[yfinance_ai]) agent("What is Apple's P/E, and how does it compare with Microsoft and Google?")

Example questions

  • What is Apple's P/E, and how does it compare with Microsoft and Google?
  • What are analysts saying about NVIDIA? Price targets and recent upgrades.
  • Who reports earnings this week?
  • Bitcoin price, EUR/USD rate and gold today.

MCP tools (68)

Quotes and history
ToolParametersDescription
get_stock_pricetickerGet current stock price and key metrics for a ticker symbol
get_stock_quotetickerGet detailed quote with bid/ask, day range, and trading info
get_fast_infotickerGet fast-access ticker information (lightweight, quick response)
get_historical_dataticker, period="1y", interval="1d"Get historical price data for a stock
get_historical_price_on_dateticker, dateGet historical price for a specific date
download_multiple_tickerstickers, period="1mo", interval="1d"Historical data for several tickers at once
Company
ToolParametersDescription
get_company_infotickerGet detailed company information and business description
get_company_overviewtickerCompany overview with context for every metric
get_company_officerstickerGet company officers and key management
get_isintickerGet International Securities Identification Number (ISIN) for a ticker
Financials
ToolParametersDescription
get_income_statementticker, period="annual"Get income statement data
get_balance_sheetticker, period="annual"Get balance sheet data
get_cash_flowticker, period="annual"Get cash flow statement data
get_ttm_financialstickerGet trailing-twelve-month (TTM) income statement and cash flow
get_key_ratiostickerGet key financial ratios and valuation metrics
get_valuation_historytickerGet valuation measures now and for the last quarters (market cap, EV, P/E, PEG, P/S, P/B, EV/EBITDA)
get_financial_summarytickerGet a comprehensive one-page financial summary of a stock
get_shares_historyticker, years=3Get shares outstanding over time (dilution or buybacks)
Earnings and estimates
ToolParametersDescription
get_earnings_datestickerGet upcoming and past earnings dates with estimates
get_earnings_historytickerGet historical earnings data with annual and quarterly figures
get_earnings_calendartickerGet earnings calendar including next earnings date and dividend dates
get_analyst_estimatestickerGet analyst estimates for earnings, revenue, and EPS
get_growth_estimatestickerGet analyst growth estimates
get_eps_trendtickerGet EPS (Earnings Per Share) trend data showing how estimates have changed
get_eps_revisionstickerGet EPS revision data showing analyst estimate changes
Analysts
ToolParametersDescription
get_analyst_recommendationstickerGet analyst recommendations and ratings
get_analyst_price_targetstickerGet detailed analyst price targets for a stock
get_upgrades_downgradesticker, limit=20Get detailed analyst upgrades and downgrades history
Holders and insiders
ToolParametersDescription
get_institutional_holderstickerGet major institutional holders and their ownership
get_major_holderstickerGet major holders summary (institutions, insiders, public float)
get_mutualfund_holderstickerGet mutual fund holders
get_insider_transactionstickerGet recent insider trading activity
get_insider_purchasestickerGet insider purchases only (filtered for buys)
get_insider_roster_holderstickerGet insider roster (list of company insiders)
Dividends and corporate actions
ToolParametersDescription
get_dividendsticker, period="5y"Get dividend payment history and current metrics
get_stock_splitstickerGet stock split history
get_corporate_actionstickerGet all corporate actions (dividends + splits combined)
get_capital_gainstickerGet capital gains distributions (primarily for funds/ETFs)
Options
ToolParametersDescription
get_options_chainticker, expiration=""Get options chain data (calls and puts)
get_options_expirationstickerGet all available options expiration dates
Market-wide
ToolParametersDescription
get_market_statusCheck if US stock markets are currently open
get_market_summaryregion="US"Get a market overview for a region: open/closed status plus main indices, futures, bonds and FX
get_market_indicesGet current prices for major market indices
get_market_moverscategory="day_gainers", count=10Get today's market movers from Yahoo Finance screeners
get_trending_tickerscount=10Get today's most active (trending) US tickers
get_sector_performanceGet performance of major market sectors
get_sector_overviewsector="technology"Get a sector overview: size, weight, largest companies, industries and sector ETFs
get_industry_overviewindustry="semiconductors"Get an industry overview: largest, best-performing and fastest-growing companies
Calendars
ToolParametersDescription
get_upcoming_earningsdays=7, limit=25Get the market-wide earnings calendar (which companies report in the next N days)
get_ipo_calendardays=14, limit=25Get upcoming IPOs (exchange, expected date, price range, shares)
get_economic_calendardays=7, limit=30Get upcoming economic events (CPI, jobs, GDP, rate decisions) with expected and prior values
get_splits_calendardays=14, limit=25Get upcoming stock splits
Funds and ETFs
ToolParametersDescription
get_fund_overviewtickerGet overview data for an ETF or mutual fund
get_fund_holdingsticker, limit=25Get top holdings for an ETF or mutual fund
get_fund_sector_weightstickerGet sector allocation/weights for an ETF or mutual fund
Crypto, forex and commodities
ToolParametersDescription
get_crypto_pricesymbolGet cryptocurrency price and market data
get_forex_ratepairGet foreign exchange (forex) rate for a currency pair
get_commodity_pricecommodityGet commodity/futures price data
Compare
ToolParametersDescription
compare_stockstickersCompare key metrics across multiple stocks
get_peer_comparisonticker, peers=nullCompare a stock with its peers on key metrics
get_historical_comparisontickers, period="1y"Compare historical price performance of multiple stocks
get_complete_analysisticker, peers=""Complete analysis of a stock, calling every relevant tool
News and filings
ToolParametersDescription
get_stock_newsticker, limit=10Get recent news articles about a stock
get_sec_filingstickerGet recent SEC filings (10-K, 10-Q, 8-K, etc.)
Utility
ToolParametersDescription
search_tickerquerySearch for ticker symbols by company name or keyword

| validate_ticker | ticker | Validate if a ticker symbol e

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx