ReverseFCFFMCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ReverseFCFFMCPFor a $1T target EV, what EBIT margin is needed assuming 10% growth and 8% WACC?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ReverseFCFFMCP
A specialized Model Context Protocol (MCP) server for running Reverse DCF / FCFF Valuations.
Instead of asking "What is the value given my assumptions?", this engine asks: "Given a target value (e.g., $2T), what combination of growth, margins, reinvestment, and market share must be true?"
Features
Three Reinvestment Methods: Sales-to-Capital, ROIC-based, and Explicit.
Discounting Conventions: Mid-year (Damodaran default) and End-year.
Terminal Value Consistency: Enforces terminal reinvestment rate = g / ROIC.
Reverse Solvers: Root-finding (
brentq) to solve for Margin, Growth, Sales-to-Capital, or ROIC to hit a target Enterprise Value.AI Market Layer: Translate terminal revenue into required AI market share or required industry size.
Governance Layer: Input sanitization, math guardrails (e.g., preventing WACC ≤ Terminal Growth singularities), and automated evals.
Related MCP server: agentladle-mcp-reoi
Available MCP Tools
This server exposes the following tools to the MCP client:
1. forward_dcf
Runs a standard forward Discounted Cash Flow valuation.
Inputs:
current_revenue,revenue_cagr,ebit_margin,wacc,terminal_growth,forecast_years,net_cash,reinvestment_method,sales_to_capital/roic, etc.Output: JSON containing projected Revenues, EBITs, NOPATs, Reinvestments, FCFFs, Discount Factors, Present Values, Terminal Value, Enterprise Value, and Equity Value.
2. reverse_solve_margin
Solves for the exact EBIT margin required to achieve a target Enterprise Value, given fixed assumptions for growth and reinvestment.
Inputs:
target_ev,fixed(a dictionary of the remaining DCF assumptions).Output:
ebit_margin(float) andconverged(boolean).
3. reverse_solve_growth
Solves for the exact Revenue CAGR required to achieve a target Enterprise Value, given fixed assumptions for margin and reinvestment.
Inputs:
target_ev,fixed(a dictionary of the remaining DCF assumptions).Output:
revenue_cagr(float) andconverged(boolean).
4. validate_damodaran_consistency
Runs structural validation checks on a set of DCF inputs to catch common modeling errors.
Inputs: A full
DCFInputobject.Output: A list of warning objects detailing any violated rules (e.g.,
wacc_le_terminal_growth,terminal_growth_ceiling,fundamental_growth_ceiling).
5. feasibility_grid
Performs a grid search across combinations of growth, margin, and sales-to-capital to determine which combinations successfully hit a target EV within a specified tolerance.
Inputs:
target_ev,fixed(base assumptions),param_grid(dictionary of arrays to test),tolerance.Output: A list of dictionaries representing each scenario, its resulting EV, and a
feasibleboolean flag.
6. run_evals
Runs automated governance evaluations to verify the engine's mathematical integrity.
Inputs: None.
Output: JSON verifying if the reverse-solver round-trips accurately and if the hard guardrails successfully block invalid inputs.
Claude Desktop Integration (Local stdio)
To use this MCP server locally with Claude Desktop, you must have the uv package manager installed (pip install uv).
Open Claude Desktop and navigate to Settings > Developer > Edit Config.
This will open your
claude_desktop_config.jsonfile.Add the
reverse-fcff-mcpconfiguration to yourmcpServersobject. It should look like this:
{
"mcpServers": {
"reverse-fcff-mcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/YOUR_USERNAME/reverse-fcff-mcp.git",
"python",
"-m",
"reverse_fcff_mcp.server"
]
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
Deterministic company valuation and corporate finance tools for AI agents — IRR, NPV, MOIC, DCF, WACC, enterprise value, EV multiples, CAPM, beta and sensitivity analysis via Model Context Protocol. Useful for financial analysis, equity analysis, quantitative analysis, financial projections, financial formulas and financial modeling.
- mcpOAuthcom.hotelvalora
Institutional hotel valuations in seconds: NOI/cap rate, USALI P&L, IRR/MOIC, markets, compsets.
Deterministic finance tools for AI agents — IRR, NPV, MOIC, DCF, WACC and sensitivity.
Your stock research journal: watchlists, reverse-DCF valuations, ratios, theses and news.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceFinancial model factory MCP server: turns a spec into a live-formula Excel workbook. 14 templates (LBO, DCF, M\&A, IPO, restructuring, project finance, NPL, structured credit, 3-statement) with every cell formulated and every number source-traced to its document page.2Academic Free v1.1
- AlicenseBqualityDmaintenanceEnables AI assistants to perform multi-stage residual income projections, discounting, and enterprise value bridging analysis using standardized financial data inputs.1MIT
- AlicenseNot gradedqualityBmaintenanceStandardized DCF valuation engine for stocks (A-shares, Hong Kong, US, Japan). One run_dcf tool with an analyst-style two-phase flow: baseline valuation from 5-year historicals, then a final valuation with reasoned assumptions — value bridge, sensitivity matrix, reverse DCF. Deterministic: same inputs, same result.1AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceProvides quantitative analytics and statistical inference for financial data, including Monte Carlo DCF valuation, risk metrics, and trend regression diagnostics, enabling natural language-driven financial analysis via Claude Desktop.MIT