Skip to main content
FinMCP provides over 50 tools for accessing market data, company information, financial statements, and more through the yfinance library. All tools support common output parameters for flexible data formatting and export.

Common Parameters

All tools support these optional output parameters:
ParameterTypeDescription
response_format"json" | "markdown"Output format (default: "json")
preview_limitnumberNumber of rows to show in markdown tables (default: 25, max: 200)
saveobjectSave data to file with format ("csv" | "json") and optional filename
Example with output options:
{
  "ticker": "AAPL",
  "response_format": "markdown",
  "preview_limit": 50,
  "save": {
    "format": "csv",
    "filename": "aapl_data.csv"
  }
}

Tools by Category

Market Data

Download historical prices and data for single or multiple tickers

Company Information

Company profiles, fast info, and news feeds

Financial Statements

Income statements, balance sheets, and cash flow data

Corporate Actions

Dividends, stock splits, and capital gains

Analyst Data

Recommendations, price targets, and earnings estimates

Ownership

Institutional holders, insiders, and mutual fund ownership

Options

Options chains and expiration dates

Screening

Search, lookup, screen, and calendar tools

Markets & Sectors

Market summaries, sector performance, and industry data

Reference

Field definitions and data schema documentation

Market Data

Tools for downloading and accessing historical market data.
ToolDescription
yf_downloadDownload market data for multiple tickers with various intervals and periods
yf_ticker_historyGet historical market data for a single ticker with OHLCV data
yf_tickers_historyGet historical market data for multiple tickers with grouping options
Key Parameters:
  • period: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max
  • interval: 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo
  • start/end: Date strings for custom ranges
  • auto_adjust: Apply dividend/split adjustments
  • actions: Include dividends and splits in data

Company Information

Basic company data and news feeds.
ToolDescription
yf_ticker_infoComplete info dictionary with company details, financials, and metrics
yf_ticker_fast_infoLightweight info for quick access to key metrics
yf_ticker_newsNews articles for a single ticker
yf_tickers_newsNews articles for multiple tickers
Info includes: sector, industry, market cap, employee count, description, contact info, key executives, and more.

Financial Statements

Complete financial statement data with multiple frequency options.
ToolDescription
yf_ticker_income_stmtIncome statement data (revenue, expenses, net income)
yf_ticker_balance_sheetBalance sheet data (assets, liabilities, equity)
yf_ticker_cash_flowCash flow statement (operating, investing, financing activities)
yf_ticker_earningsEarnings data including quarterly and annual results
yf_ticker_calendarUpcoming calendar events (earnings dates, ex-dividend dates)
yf_ticker_earnings_datesHistorical and upcoming earnings announcement dates
Key Parameters:
  • freq: "yearly", "quarterly", or "trailing" (TTM)
  • as_dict: Return as dictionary instead of DataFrame
  • pretty: Human-readable formatting

Corporate Actions

Historical corporate action events.
ToolDescription
yf_ticker_actionsAll corporate actions (dividends and splits combined)
yf_ticker_dividendsDividend payment history
yf_ticker_splitsStock split history
yf_ticker_capital_gainsCapital gains distributions (mutual funds/ETFs)

Analyst Data

Analyst recommendations, price targets, and earnings estimates.
ToolDescription
yf_ticker_recommendationsDetailed analyst recommendations over time
yf_ticker_recommendations_summarySummary of current recommendation consensus
yf_ticker_upgrades_downgradesRecent analyst upgrades and downgrades
yf_ticker_analyst_price_targetsAnalyst price target data
yf_ticker_earnings_estimateEarnings estimates by analysts
yf_ticker_revenue_estimateRevenue estimates by analysts
yf_ticker_earnings_historyHistorical earnings vs. estimates
yf_ticker_eps_trendEPS trend analysis
yf_ticker_eps_revisionsEPS estimate revisions
yf_ticker_growth_estimatesGrowth rate estimates

Ownership

Shareholder and ownership data.
ToolDescription
yf_ticker_major_holdersMajor holder breakdown percentages
yf_ticker_institutional_holdersTop institutional shareholders
yf_ticker_mutualfund_holdersTop mutual fund holders
yf_ticker_insider_purchasesRecent insider purchase transactions
yf_ticker_insider_transactionsAll insider transaction history
yf_ticker_insider_roster_holdersCurrent insider roster
yf_ticker_sharesOutstanding shares data
yf_ticker_shares_fullFull historical shares outstanding with date range

Options

Options chain data and analysis.
ToolDescription
yf_ticker_optionsOptions chain for calls and puts at a specific expiration date
Parameters:
  • date: Expiration date (optional, defaults to nearest expiration)
  • tz: Timezone for the data

Screening

Search, discovery, and screening tools.
ToolDescription
yf_searchSearch for quotes, news, and research by query string
yf_lookupLookup ticker symbols and asset types
yf_screenRun equity or fund screener queries with custom filters
yf_calendarsFetch earnings calendars, IPO calendars, splits, and economic events
Screener query types:
  • equity: Screen stocks with custom filters
  • fund: Screen mutual funds and ETFs
Calendar types:
  • earnings: Upcoming earnings announcements
  • ipo: Upcoming IPO dates
  • splits: Upcoming stock splits
  • economic_events: Economic calendar events

Markets & Sectors

Market-level, sector, and industry data.
ToolDescription
yf_marketFetch market summary or trading status for a specific market
yf_sectorSector-level data including overview, top companies, ETFs, and industries
yf_industryIndustry-level data including overview, top companies, and performance metrics
Market keys: EUROPE, US, ASIA, etc. Sector fields: overview, top_companies, research_reports, top_etfs, top_mutual_funds, industries Industry fields: overview, top_companies, top_performing_companies, top_growth_companies, sector_key

Reference

Data schema and field reference documentation.
ToolDescription
yf_field_definitionsComplete list of available fields and valid modules in yfinance
yf_field_categoriesField category groups for organizing yfinance data
Use these tools to discover available fields for company info, financial statements, and other data structures.

Additional Features

SEC Filings

ToolDescription
yf_ticker_sec_filingsRecent SEC filing documents and links

Sustainability

ToolDescription
yf_ticker_sustainabilityESG (Environmental, Social, Governance) scores and sustainability metrics

Fund Data

ToolDescription
yf_ticker_funds_dataDetailed fund data for ETFs and mutual funds (holdings, allocations, etc.)

Next Steps

Market Data Guide

Learn how to download and work with historical price data

Financial Analysis

Analyze financial statements and company metrics

Screening Stocks

Use screeners and calendars to discover opportunities

Options Analysis

Work with options chains and derivatives data

Build docs developers (and LLMs) love