FinanceToolkit is an open-source Python package that computes financial ratios and models from statements with documented formulas. It pulls market data via API keys and can pair with a large symbol database.
Overview
FinanceToolkit addresses inconsistent financial metrics across websites by implementing a large catalog of calculation methods in plain, inspectable Python. Given financial statements, you run the same formulas locally instead of trusting opaque third-party definitions.
Beyond equities, the toolkit covers options, currencies, cryptocurrencies, ETFs, mutual funds, indices, money markets, commodities, and key economic indicators. Modules support discovery through screeners and lists, historical prices, statements, technical indicators, profitability and valuation ratios, risk metrics such as Sharpe ratio and value at risk, options analytics, and portfolio-oriented workflows described in the documentation.
Data access typically uses a Financial Modeling Prep API key for decades of statements, with automatic fallback to Yahoo Finance unless you force a single source. An optional MCP server exposes many methods to compatible AI clients without hand-written scripts.
The project is meant to work alongside the Finance Database collection of symbols for competitive analysis: discover tickers in the database and feed them into toolkit calculations. Free-tier API limits apply to the upstream data provider.
Key features
- Documented ratio and model catalog
- Financial Modeling Prep data access
- Yahoo Finance fallback option
- Discovery screeners and lists
- Technical and risk metric modules
- Optional MCP server integration
- Multi-asset-class coverage
- Custom ratio support
Use cases
- Equity fundamental comparison
- Sector screening and benchmarking
- Risk-return analysis in Python
- Transparent metric replication