Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Finance CLI logo

Finance CLI

Financial research tools for your AI agent. Evidence you can check.

English | 简体中文

Website · AI Integration & Skills · Quick Start · Showcase · Research Examples

PyPI: finresearch-cli Python 3.10 or later Apache-2.0 license

Finance CLI gives your agent tools to retrieve SEC filings, inspect financial statements, read documents, and run calculations. Ask a company question in your own words, then follow the sources and inputs behind the answer. You can also run every command directly in your terminal.

See it work

A recorded agent session: Apple's Services share of net sales and gross margin, FY2020–FY2025

The Showcase has five recorded research sessions, each with a short video: Apple's shift to Services, R&D intensity at NVIDIA, AMD and Broadcom, Meta after the Year of Efficiency, a Costco thesis test, and a question the filing cannot answer. Every tool call, raw CLI output and calculation is published in showcase/, and a test checks that each figure still matches that evidence.

Start with a question

After setting up the CLI and skill, ask your agent:

Use Finance CLI to research Apple's latest annual filing. Explain how it
makes money and three risks it discloses. Cite the filing date and source
for each finding. Retrieve more evidence if an excerpt is truncated, and
report missing data or source errors.

Your agent chooses the commands and writes the explanation. Finance CLI supplies filing evidence and calculation results. Review the cited sources to check the agent's interpretation.

For a small, reproducible example, this command calculates annual compound growth from 100 to 150 over three years:

finance formula.cagr start=100 end=150 periods=3 --output md

Actual CLI output with illustrative inputs, requiring no external data:

**CAGR = 14.47%**

_Inputs_
| Field | Value |
| --- | --- |
| start | 100 |
| end | 150 |
| periods | 3 |

method: (end / start) ** (1 / periods) - 1

Why use Finance CLI?

  • Check the evidence. Filing commands retain source identifiers such as URLs and accessions when available. Missing data and provider errors stay visible.
  • Reproduce the calculation. Formula commands return their inputs and method. Save readable Markdown or structured JSON to rerun and inspect research steps.
  • Let your agent choose the workflow. Combine small tools for your question, from finding a filing to reading a table and calculating a metric. Reuse them across companies without writing another retrieval script.

Use with your AI agent

  1. Install the CLI using the command below. Your agent needs access to the terminal environment where finance is installed.
  2. Download the skill and follow the skill setup guide to add it to your agent's local skills directory.
  3. Ask the research question above. For SEC requests, first set your real contact identity using the Quick Start guide.

The skill teaches tool selection and source handling; downloading it alone does not install the CLI. You bring an agent that can run local commands and its AI model. Finance CLI does not include a hosted chat service.

Use directly in your terminal

Requires Python 3.10 or later. We recommend an isolated environment; Quick Start covers macOS, Linux, and Windows setup.

python -m pip install -U finresearch-cli
finance formula.cagr start=100 end=150 periods=3 --output md

To read an annual filing, set your name and real email for SEC requests. On macOS or Linux, replace the example contact below:

export FINANCE_SEC_USER_AGENT="Your Name your.email@example.com"
finance filings.read AAPL section=business max_chars=4000 --output md

This returns a filing excerpt. Check its date, source, and truncation information before drawing conclusions. The Quick Start includes the equivalent Windows setup.

What is included?

Research task Tools
Find and read company disclosures SEC filings, sections, XBRL financial statements, filing reports
Read research documents Native PDF/HTML text, text search, bounded reading windows
Add company and market context Quotes, price history, fundamentals, public transcripts, IR presentation discovery
Check assumptions and calculations Finance formulas, valuation scenarios, DCF/NPV/IRR

SEC research and basic calculators need no paid data key. Provider-backed results depend on availability and coverage; consensus estimates require an FMP key. See Data Sources for details.

Install advanced capabilities only when needed:

python -m pip install -U "finresearch-cli[tables]"
python -m pip install -U "finresearch-cli[ocr]"
python -m pip install -U "finresearch-cli[backtest]"

These add PDF table extraction, OCR, and VectorBT backtesting respectively. Combine them as "finresearch-cli[tables,ocr,backtest]". OCR may download models on first use.

Explore and contribute

English and Chinese READMEs follow the same structure and examples; please update both when changing setup or capabilities. The detailed documentation is currently in English.

Trust and license

The CLI runs locally and does not collect usage telemetry. API credentials are read from environment variables. See the trust guide and Apache-2.0 license.

Finance CLI is for research and automation. It does not provide investment advice or recommendations to buy or sell securities.

Metadata

Release files for finresearch-cli 0.1.0b4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for finresearch-cli 0.1.0b4
File Size Uploaded Provenance Actions
finresearch_cli-0.1.0b4.tar.gz 202.8 kB With provenance Details for finresearch_cli-0.1.0b4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for finresearch-cli 0.1.0b4
File Interpreter ABI Platform Actions
finresearch_cli-0.1.0b4-py3-none-any.whl Python 3 none any Details for finresearch_cli-0.1.0b4-py3-none-any.whl

Total release size: 385.5 kB

Release files / finresearch_cli-0.1.0b4.tar.gz

Download URL finresearch_cli-0.1.0b4.tar.gz
Size 202.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c00357f569f210a687bac01eca042f2f6558b6db8eb121ab9f0b97461d0e2804
BLAKE2b-256 checksum
How to use checksums
ab9a29a9f24de75885ea05a28544d3de76577f01b0c67a4f67f6515951b7989a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / finresearch_cli-0.1.0b4-py3-none-any.whl

Download URL finresearch_cli-0.1.0b4-py3-none-any.whl
Size 182.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36af770ee7b3acd050a8b3e5b7ff0c28205ea085494f03f19b94d69dffe7ee3f
BLAKE2b-256 checksum
How to use checksums
f9f35338659675762581fd7af69bee3959b7d78576c71381d11769d91c700be9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for finresearch-cli 0.1.0b4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for finresearch_cli-0.1.0b4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page