npx claudepluginhub ahnazary/stockdexRead-only stock data for Claude: prices, quotes, financial statements, margins and ratios, valuation, analyst estimates, earnings reactions, revenue breakdowns, holders and insider trades, SEC filings, dividends, splits, options and funds from Yahoo Finance, Macrotrends, Digrin and Finviz.
Full documentation: ahnazary.github.io/stockdex
Stockdex is a Python package that provides a simple interface to get financial data from various sources in pandas DataFrames and Plotly figures.
Stockdex over similar packagesVarious data sources: Stockdex provides data from Yahoo Finance and other sources like Digrin, Finviz, Macrotrends and JustETF (for EU ETFs).
Historical data: Stockdex provides a wide time range of data, e.g. Digrin and Macrotrends sources provide historical data in a span of years.
Numerous data categories: Stockdex provides financials criteria including financial statements, earnings, dividends, stock splits, list of key executives, major shareholders and more.
Plotting: Stockdex plots financial data as bar, line and Sankey charts, and multiple plots can be combined in a Dash app.
Install the package using pip:
pip install stockdex -U
A quick check that the package works:
from stockdex import Ticker
ticker = Ticker(ticker="NVDA")
result = ticker.yahoo_api_income_statement(frequency='quarterly')
Stockdex ships a local, read-only MCP server with 24 tools so Claude can fetch prices, financial statements, margins, dividends, insider trades, earnings reactions, analyst forecasts, European ETF profiles and more for you.
Claude Desktop: download stockdex.mcpb from the latest release and double-click it.
Claude Code: install the plugin, which requires uv:
/plugin marketplace add ahnazary/stockdex
/plugin install stockdex@stockdex
Other MCP clients: run uvx --from "stockdex[mcp]" stockdex-mcp.
See Use with Claude for arguments, limits and output format.
Stockdex is an independent, unofficial open-source project. It is not affiliated with, endorsed by, or sponsored by Yahoo, Nasdaq, Digrin, Macrotrends, JustETF, Finviz or any other data provider it supports. All product names, trademarks and registered trademarks (including "Yahoo" and "Yahoo Finance") belong to their respective owners and are used here only to identify the data sources.
Stockdex does not host, store or redistribute any data. All data belongs to its respective providers, and you are responsible for complying with each provider's terms of use (e.g. Yahoo's Terms of Service). Stockdex is intended for personal, research and educational use only.
This project is licensed under the MIT License.
Stockdex is an open-source project, and contributions of any kind are welcome and appreciated!
Whether you want to report a bug, suggest a new feature, improve documentation, or submit code via Pull Requests or Issues — every contribution helps.
There are no Guidelines as of now :)
❤️ Thank you in advance for your contribution! ❤️
7-day visitors to each marketplace page
UI/UX design intelligence skill with 80 styles, 194 palettes, 74 font pairings, 25 charts, and 22 stack guidelines
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Editorial diagrams in your brand, as self-contained HTML and SVG. Architecture, flowcharts, sequence, state machines, ER and database schemas, timelines, swimlanes, org charts, Gantt, Wardley maps, user journeys, service blueprints, UML class, lifecycle phase maps, and charts from bar, line and scatter to Sankey, treemap and heatmap, plus many more. Redraws draw.io, Mermaid, Excalidraw and PlantUML files. Exports SVG and PNG.