Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyFinance

Yahoo Finance

Lets your AI agent get stock data, news, financials, options, analyst ratings and charts from Yahoo Finance.

207 stars on GitHubby narumirunaLicense MITUpdated 22 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add yfinance -- uvx yfmcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Show me Apple's income statement and balance sheet for the last four years.
Draw a candlestick chart with volume for MSFT over six months.

What it is

This server gives your AI assistant access to Yahoo Finance data through the yfinance library. You can ask about companies, prices, financial statements, news and holders. It can also run screeners and draw candlestick, VWAP and volume profile charts.

What it can do

  • yfinance_get_ticker_info: company info, valuation and trading data
  • yfinance_get_price_history: price history as a table or chart
  • yfinance_get_financials: income statement, balance sheet and cash flow
  • yfinance_get_analyst_price_targets: analyst consensus targets
  • yfinance_get_ticker_news: recent news for a stock
  • yfinance_search: search stocks, ETFs and news
  • yfinance_screen: run Yahoo screeners
  • yfinance_get_holders: major, institutional and insider holders

When to use

  • β€ΊWhen you want a quick summary of a company's financials and valuation.
  • β€ΊWhen you want a candlestick or VWAP chart for a ticker.
  • β€ΊWhen you want to scan for stocks that gapped up or find top ETFs in a sector.

What you need

Python and a way to run the yfmcp package from PyPI. No account or API key is mentioned in the readme.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

It is MIT licensed. The readme does not mention any price or API key.

Where does the data come from?

From Yahoo Finance through the yfinance library.

What kind of charts can it make?

Candlestick with volume, VWAP and volume profile charts, returned as WebP images.

Can it screen stocks?

Yes. It supports predefined Yahoo screeners, custom equity, fund and ETF queries and a gappers screener.

Are there result limits?

Screeners return up to 250 rows. Some tools have row limits you can change, such as max_rows.

Does a ticker format matter?

Yes. Symbols may use letters, digits and . - ^ = & _. Examples are BRK.B, 2330.TW, ^GSPC, EURUSD=X and BTC-USD.

If it does not work

  • β€ΊIf a ticker is rejected with INVALID_PARAMS, check the symbol format; it only accepts letters, digits and . - ^ = & _.
  • β€ΊAnalyst and holder data can be missing for some symbols; this is normal.
  • β€ΊCheck that Python is installed and that the package can be started by your client.

5 new skills a week. 1 minute to read.