Yahoo Finance MCP server
Real-time Yahoo Finance data: quotes, history, financials, analyst ratings, options, and news.
21 stars163 downloads/wk
Reviews
Write oneNobody has reviewed Yahoo Finance yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Yahoo Finance tools (13)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
compare_stocksSide-by-side comparison of 2-10 stocks across key metrics (price, market cap, P/E, EPS, dividend yield, 52-week range, and period performance) with brief auto-generated insights.
get_analyst_estimatesForward-looking analyst estimates for one stock: price targets, EPS and revenue estimates by period (current and next quarter and year), and growth estimates.
get_analyst_recommendationsWall Street analyst view on one stock: price targets (high/mean/low), consensus rating, the buy/hold/sell recommendation-trend breakdown, and recent upgrades/downgrades.
get_company_infoDetailed company profile for one stock: long business summary, sector/industry, key executives, headquarters/website/employee count, and valuation & financial-highlight stats (market cap, P/E, margins, and similar).
get_dividends_splitsFull dividend payment history (with a trailing-period summary) and the stock-split history for one stock.
get_financial_statementsAnnual financial statements for one company: income statement, balance sheet, and cash flow statement, each with multiple years of data.
get_historical_pricesHistorical OHLCV price series for one stock over a chosen period/interval, plus summary stats (highest/lowest/average close, average volume) and total return over the window.
get_holdersOwnership and insider activity for one stock, selected by holder_type: 'institutional' (top institutional holders), 'mutualfund' (top fund holders), 'major' (insider-vs-institutional ownership % breakdown), or 'insider_transactions' (recent insider buys and sells).
get_market_newsLatest news articles for one stock; each item has a title, publisher/source, publish date, a short summary, and a link.
get_market_statusWhether a stock market is currently open or closed for a given region, with trading-session timing and a summary of that region's major indices.
get_options_chainEquity options data for one underlying, in two modes: call with no expiration_date to LIST every available expiration date; call again with a specific 'YYYY-MM-DD' to get that expiration's chain (strike, bid/ask, last, volume, open interest, implied volatility).
get_stock_quoteReal-time quote snapshot for ONE stock: last price, day change ($ and %), open, previous close, day range, 52-week range, volume and average volume, market cap, beta, trailing P/E, EPS, dividend yield, and sector/industry/website.
search_symbolsResolve a company name or keyword to ticker symbols; each match returns the symbol, name, exchange, and instrument type (equity, ETF, and so on).
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 20 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the Yahoo Finance repository's README, as published. We do not edit it. Read it on GitHub
Yahoo Finance MCP Server 📈
Real-time stock market data for Claude Desktop and any MCP-compatible client, powered by Yahoo Finance. Get quotes, historical prices, company profiles, financial statements, analyst ratings, and multi-stock comparisons, all from natural language.
npm package: yahoo-finance-mcp-server · GitHub repo: danishashko/yahoo-finance-mcp. The repo name is shorter than the package name; both refer to this project.
🎯 What You Get
- 📊 Real-time stock quotes with full market data
- 📈 Historical prices (OHLCV) with summary statistics
- 🏢 Company profiles, officers, and key statistics
- 💰 Financial statements (income, balance sheet, cash flow)
- 🎯 Analyst ratings, price targets, and the recent recommendation trend
- ⚖️ Multi-stock comparisons side by side
- 📰 Latest financial news per ticker
- 🧾 Options chains (calls/puts, strikes, IV, open interest)
- 🏦 Ownership data — institutional, mutual fund, and insider activity
- 💵 Dividend & split history
- 🔮 Forward analyst estimates (price targets, EPS/revenue, growth)
- 🔎 Symbol search by company name or keyword
Every tool returns human-readable markdown by default, or structured JSON on request (response_format: "json"). Requests share a single browser-impersonating HTTP session to reduce Yahoo Finance rate-limiting.
🚀 Quick Start
Add this to your Claude Desktop config and restart Claude:
- macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json
- Windows: %APPDATA%\Claude\claudedesktopconfig.json
{
"mcpServers": {
"yahoo-finance": {
"command": "npx",
"args": ["-y", "yahoo-finance-mcp-server"]
}
}
}That is it. On first launch the npx wrapper creates an isolated Python environment and installs the dependencies for you (a one-time step that can take a minute). You only need Python 3.10+ and Node.js 16+ on your machine.
Prefer a global install?
npm install -g yahoo-finance-mcp-server{
"mcpServers": {
"yahoo-finance": {
"command": "yahoo-finance-mcp-server"
}
}
}🌐 HTTP mode (n8n, remote agents, anything that connects to a URL)
Some clients spawn an MCP server as a child process and talk to it over stdio; others only take a URL. n8n's MCP Client Tool node is the second kind - it offers HTTP Streamable and SSE and no way to launch a command - so stdio alone puts the server out of reach.
--http serves the same 13 tools over Streamable HTTP at /mcp:
npx -y yahoo-finance-mcp-server --http
# -> http://127.0.0.1:8000/mcpNo authentication is added, so keep it on an interface you trust.
Reaching it from a container
n8n in Docker is not on your loopback interface, so bind wider and use the host alias:
npx -y yahoo-finance-mcp-server --http --host 0.0.0.0 --port 8931Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y yahoo-finance-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add yahoo-finance-mcp -- npx -y yahoo-finance-mcp-server
Yahoo Finance: common questions
- Is Yahoo Finance MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Yahoo Finance safety report
- How do I install Yahoo Finance?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Yahoo Finance need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Yahoo Finance maintained?
- The last commit was 20 days ago (2026-09-04). The latest release is v1.2.4.
- What can I use instead of Yahoo Finance?
- Servers from other publishers that do the same job: Yahoo Finance MCP server, Tapetide — Indian Stock Market (NSE & BSE) MCP server and Pse Edge MCP server. Compare all Yahoo Finance alternatives.
Alternatives to Yahoo Finance
Same job from other publishers: the closest match first, then the best rated.
- Yahoo FinanceAccess Yahoo Finance stock data, news, screeners, options, financials, and charts through MCP.not reviewedEstablishedA
- Tapetide — Indian Stock Market (NSE & BSE)52 tools for Indian stock markets — NSE & BSE quotes, screener, financials, FII/DII, optionsnot reviewedEstablishedA
- Pse EdgePhilippine Stock Exchange data via PSE Edge: EOD quotes, price history, disclosures, financials.not reviewedGrowingA
pigi.finance — DeFi Vault IntelligenceDeFi vault data from pigi.finance: yields, TVL, history and risk ratings across chains.not reviewedGrowingA- HPSILab Quant FinanceHPSILab Quant finance MCP for US stocks, ETFs, options, Monte Carlo, backtesting, and risk analysis.not reviewedGrowingA