yfinance_get_analyst_estimates
Fetch consensus estimates, EPS/revenue trends, revisions, recommendations, and earnings history.
Pull Yahoo Finance data straight into a conversation — quotes and fundamentals, analyst targets and rating changes, option chains, holders, and screeners including one tuned for opening gappers.
LABSCO SUMMARY
Most free market-data servers stop at quotes; this one carries option chains, institutional holders, fund composition and a screener query tree in the same tool list, which is what lets a single conversation go from "what is this company" to "what does the chain look like at that expiry". The trade is that every answer inherits Yahoo's coverage and Yahoo's field names, so a thinly covered symbol returns thin analyst data rather than an error. Row-heavy sections come back capped by default and report that they were truncated — ask for all rows explicitly when you need the whole list.
A server over Yahoo Finance: quotes and fundamentals, analyst coverage, price history and charts, options, holders, screeners, news and search.
Python 3.12 or newer and uv, or the published Docker image. Nothing else — no account, no key. What comes back is whatever Yahoo Finance carries for that symbol: analyst coverage and available fields vary from symbol to symbol, and a section that fails does not discard the ones that worked. MIT.
One command — uvx yfmcp@latest
USE CASES
Resolve the name to a symbol, pull the one-call profile with price, valuation and business summary, then read what has been written about it lately.
Read the consensus target spread first, then the dated actions behind it, and the estimate revisions that say which way the numbers are heading.
Screen for names gapping on the criteria you set, then pull each one's recent bars — as a table, or as a chart when the shape matters more than the numbers.
Ask which expirations exist before requesting a chain, then pull calls or puts for the one you want with strikes, quotes and implied volatility.
Read the ownership split and the institutions behind it, and where the holder is a fund, look through to what that fund is holding.
Ask for the top companies, growth leaders or performing names in a sector, then take the interesting ones into the profile and price tools.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
yfinance_get_analyst_estimatesFetch consensus estimates, EPS/revenue trends, revisions, recommendations, and earnings history.
yfinance_get_analyst_price_targetsFetch the current price and analyst consensus price targets for a stock.
Returns a JSON object with the fields supplied by Yahoo Finance:
Analyst coverage and available fields vary by symbol.
yfinance_get_financialsFetch financial statements (income statement, balance sheet, and cash flow) with historical data.
Returns JSON with income statement, balance sheet, and cash flow data across reporting periods.
Use the data to analyze trends, calculate ratios, or compare periods.
yfinance_get_fund_dataFetch ETF or mutual-fund composition, holdings, exposures, ratings, and operating details.
yfinance_get_holdersFetch major holders, institutional holders, mutual fund holders, and insider data.
Returns JSON with:
Use this to analyze ownership concentration, insider activity, and institutional interest.
yfinance_get_option_chainFetch option chain data (calls and puts) for a stock with available strike prices.
Returns JSON with calls and/or puts data for each expiration date.
JSON fields include:
Use this to analyze options pricing, IV surfaces, and strike levels.
yfinance_get_option_datesFetch available option expiration dates for a stock.
Returns JSON array of expiration dates in YYYY-MM-DD format.
Use these dates with the 'yfinance_get_option_chain' tool to fetch the options chain for a specific date.
yfinance_get_price_historyFetch historical price data and optionally generate technical analysis charts.
When chart_type is None, returns Markdown table with columns:
When chart_type is specified, returns a chart image:
Set prepost=True to include pre-market and post-market data when available.
Note: Not all period/interval combinations are valid. Minute intervals (1m, 5m, etc.) only work with short periods (1d, 5d).
yfinance_get_ticker_infoRetrieve comprehensive stock data including company information, financials, trading metrics and governance.
Returns JSON object with fields including:
Note: Available fields vary by security type. Timestamps are converted to readable dates.
yfinance_get_ticker_newsFetch recent news articles and press releases for a specific stock.
Returns JSON array where each news item has:
Use this to track company announcements, market sentiment, and breaking news.
yfinance_get_topGet top-ranked financial entities within a sector.
This unified tool provides access to various rankings:
Returns JSON data with relevant metrics for each entity type.
yfinance_get_upgrades_downgradesFetch analyst upgrades, downgrades, initiations, and price target changes.
Returns analyst actions newest first. Fields supplied by Yahoo Finance can include:
Available fields vary by symbol and analyst action.
yfinance_screenRun a Yahoo Finance screener query.
Supports predefined Yahoo screener keys and custom equity, mutual-fund, or ETF query trees.
yfinance_screen_gappersRun a custom equity screener tuned for opening-session stock gappers.
yfinance_searchSearch Yahoo Finance for stocks, ETFs, and news articles.
Returns JSON with search results based on search_type:
Use this to find ticker symbols, discover related securities, or search financial news.
BEFORE YOU INSTALL
15 tools when we connected.
Both documented setups run the server on your machine.
CONTEXT COST
Rated by the size of the 15 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
uvx yfmcp@latest{
"mcpServers": {
"yfmcp": {
"command": "uvx",
"args": [
"yfmcp@latest"
]
}
}
}{
"mcpServers": {
"yfmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"narumi/yfinance-mcp"
]
}
}
}