/stockdex:stockdexfrom Stockdex
Fetches public market data via MCP tools: price history, live quotes, financial statements, margins, ratios, valuation, company profiles, analyst estimates, earnings, holders, insider trades, SEC filings, dividends, splits, options chains, and ETF holdings. Use when asked about a stock, ETF, index, or fund by name or ticker.
Ships in Stockdex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use the stockdex MCP tools for read-only financial data. They fetch from
Yahoo Finance (most data), Macrotrends (long statement history, margins and
ratios), Digrin (dividends, payout and growth, long quarterly fundamentals and
monthly prices), Finviz (revenue breakdowns, insider trades, earnings
reactions, annual dividends), Nasdaq (Zacks consensus forecasts) and justETF
(European ETFs by ISIN) on the user's machine.
Macrotrends sometimes blocks automated requests (provider_blocked); fall back
to the Yahoo Finance source for statements when that happens.
| Question | Tool | Key arguments |
|---|---|---|
| Company name, no ticker | search_ticker | query, limit 1–25 |
| Current price, compare several | get_quotes | symbols: 1–20 tickers |
| Price history | get_prices | range: 1mo (default), 3mo, 6mo, 1y; source: yahoo (daily) or digrin (monthly, decades) |
| Long quarterly balance sheet, cash flow, expenses, shares | get_quarterly_fundamentals | dataset: assets_liabilities (default), cash_and_debt, free_cash_flow, net_income, revenue_and_cost, expenses, shares_outstanding, estimated_eps (Digrin) |
| Revenue, earnings, cash flow, balance sheet | get_financial_statement | statement, frequency, start_date/end_date, metrics, source: yahoo (default, ≤5 years) or macrotrends (~15 years) |
| Market cap, P/E, beta, margins, price targets | get_key_statistics | dataset: summary (default), key_statistics, financial_data, market_price |
| P/E, EV/EBITDA, market cap over time | get_valuation_history | frequency: annual, quarterly (default), trailing |
| What the company does, executives, peers | get_company_profile | dataset: profile (default), officers, similar_symbols, trading_hours |
| Analyst estimates, ratings, EPS surprises | get_analyst_estimates | dataset: estimates (default), recommendations, upgrades_downgrades, earnings_history; Nasdaq: earnings_surprise, quarterly_forecast, yearly_forecast, pe_forecast, growth_forecast |
| Next earnings or dividend date | get_earnings_calendar | ticker |
| Who owns it, insider trades | get_holders | dataset: institutional_holders (default), fund_holders, ownership_breakdown, insiders, insider_transactions, insider_activity |
| Latest insider buys and sales with price and value | get_insider_trades | ticker (Finviz, US listings) |
| Revenue by segment, region or product | get_revenue_breakdown | dataset: segment (default), region, product |
| Stock move after earnings, EPS surprises, estimate revisions | get_earnings_reaction | dataset: price_reaction (default), surprises, revisions, annual (since ~2010) |
| 10-K, 10-Q, 8-K | get_sec_filings | ticker (US listings) |
| Dividends | get_dividends | source: digrin (default), yahoo, auto |
| Payout ratio, dividend growth, yield per year | get_dividend_metrics | dataset: payout_ratio (default), growth_3y, growth_5y, growth_10y (Digrin projections), annual, summary, ex_dividend_dates (Finviz) |
| Stock splits | get_splits | source: yahoo (default) or digrin |
| European ETF by ISIN: TER, size, price, holdings, countries, sectors | get_etf_profile | isin, dataset: basics (default), overview, description, price, holdings, countries, sectors; currency |
| Option expiration dates | get_option_expirations | ticker |
| Options | get_options_chain | expiration YYYY-MM-DD (default nearest), option_type: calls, puts, both |
| ETF/fund holdings, sectors, allocation | get_fund_holdings | dataset: fund_top_holdings (default), fund_sectors, fund_asset_allocation |
| ETF/fund fees and returns | get_fund_profile | dataset: fund_profile (default), fund_performance |
Most tools also take ticker and limit (rows, newest first). Tickers use
Yahoo symbols: AAPL, BRK-B, BMW.DE, 7203.T, ^GSPC, GC=F. If the
user names a company, call search_ticker and say which symbol you used; ask
when several listings fit. If Digrin dividends fail, retry once with
source="auto".
Defaults:
income_statement: TotalRevenue, NetIncome, BasicEPScash_flow: OperatingCashFlow, FreeCashFlow, CapitalExpenditurebalance_sheet: TotalAssets, TotalLiabilitiesNetMinorityInterest, StockholdersEquityfinancials (Yahoo only): EBITDA, EBIT, NormalizedEBITDAFor anything else, look up the exact name in
reference/metrics.md. Pass names unprefixed; output
columns are prefixed, such as annualTotalRevenue.
With source="macrotrends" use Macrotrends row names instead, e.g.
Revenue, Gross Profit, Operating Income, Net Income,
EPS - Earnings Per Share, Total Assets, Long Term Debt,
Share Holder Equity, Cash Flow From Operating Activities. Matching is
case-insensitive; an unknown name comes back null with a warning listing the
available rows. Amounts are in millions of the reporting currency, but
per-share figures (EPS) and ratios are not scaled. There is no five-year
window limit and output columns are not prefixed. Use it when the user asks
for more than five years of history.
Every result is a JSON envelope. Check ok first.
source, the observation dates and retrieved_at. Mention truncated
and any warnings.currency.0.031
means 3.1%.null means missing, never zero. no_data doesn't prove zero dividends or
income; fund tools return no_data for individual stocks.invalid_input, busy, rate_limited, network_error,
no_data, provider_schema_error, provider_error), explain the error and
stop. Don't retry in a loop, and don't make up replacement figures.provider_blocked (the website refused the request) and layout_changed
(a scraped page changed) are about the website, not the company. If the
tool has a source argument, you may try another source once.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
stock-market, financial-data, yahoo-finance, macrotrends, digrin, finviz, nasdaq, justetf
npx claudepluginhub ahnazary/stockdex --plugin stockdexOther plugins' skills for the same job