Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

dcf-model

Skill by AI4Finance-Foundation

Builds discounted cash flow (DCF) models for equity valuation. It pulls financial data, projects cash flows, computes WACC and outputs an Excel model with sensitivity tables for analysts doing equity valuation.

  • Score 86
  • 8.5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install dcf-model

Built from the published package, never by AI.

git clone --depth 1 https://github.com/AI4Finance-Foundation/FinRobot /tmp/FinRobot && mkdir -p ~/.claude/skills && cp -r /tmp/FinRobot/finrobot_desktop/skills/financial-analysis/dcf-model ~/.claude/skills/dcf-model

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install dcf-model in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The DCF Model Builder skill guides an AI assistant through building a discounted cash flow model for equity valuation. It sources data from MCP servers, user-provided financials and web searches, then checks net debt, diluted shares, margins and the tax rate. The output is an Excel model with projections, WACC, terminal value and sensitivity tables.

The workflow runs in stages. The assistant shows the raw inputs, revenue projections, free cash flow, WACC and the equity bridge, and waits for the user to confirm each stage before continuing. Projection cells are live formulas, and sources are recorded as cell comments. It is intended for analysts building institutional-style equity valuations.

Written from the project's SKILL.md and checked against it.

What it can do

  • Data retrieval and validationPulls financials from MCP servers, user data and web search, then checks net debt, shares and tax rate.
  • Historical analysisSummarizes 3 to 5 years of growth, margins, capital intensity and return metrics.
  • Revenue projectionsBuilds bear, base and bull growth scenarios with a scenario switch.
  • Operating expense modelingModels sales and marketing, R&D and G&A as percentages of revenue.
  • Free cash flow buildCalculates NOPAT, D&A, CapEx and change in working capital to unlevered free cash flow.
  • WACC calculationComputes cost of equity with CAPM, after-tax cost of debt and capital structure weights.
  • DiscountingApplies a mid-year convention with discount factors and present values.
  • Terminal valueCalculates terminal value with the perpetuity growth method.
  • Sensitivity tablesBuilds 5x5 tables where the center cell matches the base case.

What you need

  • Python with openpyxl for standalone .xlsx output
  • recalc.py script to recalculate formulas before delivery
  • Excel with Office JS support, if working inside Excel
  • MCP servers for structured financial data, such as Daloopa (optional)

Try asking

  • Build a DCF model for this company using its last five years of financials
  • Run a bear, base and bull revenue scenario in my DCF
  • Create 5x5 sensitivity tables for WACC and terminal growth

Good to know

  • Works step by step and waits for user confirmation at each stage instead of building end to end.
  • Uses Office JS inside Excel, or Python with openpyxl for a standalone file.
  • Formula recalculation must show zero errors before delivery.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: finrobot_desktop/skills/financial-analysis/dcf-model/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md48 KB

Alternatives to dcf-model

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

dcf-model: common questions

What does the DCF model output look like?

The skill outputs an Excel model. Sensitivity analysis is included at the bottom of the DCF sheet.

Where does the financial data come from?

It uses MCP servers first, then user-provided data, and web search for items like current prices, beta, debt and cash.

Does the skill build the whole model at once?

No. The source says to show the user each stage and confirm it before moving on to the next.

How do I install dcf-model?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is dcf-model free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is dcf-model safe to use?

It scores 86 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to dcf-model?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

dcf-model Install

Add to stack

Loading.