yfinance vs akshare
yfinance is the more adopted project, with 25,998 GitHub stars against 23,472 for akshare. akshare was updated more recently: on 25 November 2026, against on 22 November 2026 for yfinance. Both are written in Python.
| yfinance | akshare | |
|---|---|---|
| Description | Download market data from Yahoo! Finance's API | AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库 |
| Author | ranaroussi | akfamily |
| Stars | 25998 | 23472 |
| Language | Python | Python |
| License | Apache-2.0 | MIT |
| Last update | 2026-11-22T13:22:52Z | 2026-11-25T08:27:44Z |
| Source | https://github.com/ranaroussi/yfinance | https://github.com/akfamily/akshare |
| Stars this week | +46 | +85 |
Which should you choose?
- yfinance describes itself as: "Download market data from Yahoo! Finance's API"
- akshare describes itself as: "AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库"
Stars measure adoption, not fit. Read both READMEs for the tools each server exposes, then try them side by side in your client: the install guide shows how to add both.
Frequently asked questions
Which is more popular, yfinance or akshare?
yfinance has more GitHub stars: 25,998 against 23,472. This week yfinance gained 46 stars and akshare gained 85, which says more about current momentum than the all-time total. Both figures are refreshed daily from GitHub.
Are yfinance and akshare open source?
yfinance: Apache-2.0 (open source). akshare: MIT (open source). An open-source license covers the code: you can read, modify and run it. An app or API that either project connects to can still have its own price, so read each README for the accounts and keys it needs.
Can I use yfinance and akshare together?
Yes, if both run as MCP servers. MCP clients such as Claude Code, Cursor and VS Code can connect to several servers at once, and the agent picks tools from each. Give them distinct names in your config, and keep the number of active servers small so tool definitions do not crowd the context window.
Related comparisons
- ccxt vs yfinance
- ccxt vs akshare
- Vibe-Trading vs yfinance
- Vibe-Trading vs akshare
- yfinance vs QuantDinger
- yfinance vs tradingview-mcp
- yfinance vs vapi-network
- yfinance vs binance-trading-bot
yfinance details · akshare details · All Finance & Crypto MCP servers
Data last updated . Stars and downloads are refreshed every day from GitHub and npm.