Skip to main content
Glama
agentladle-mcp-reoi

agentladle-mcp-reoi

by agentladle

AgentLadle MCP REOI

δΈ­ζ–‡ | English

A Model Context Protocol (MCP) server for Residual Operating Income (REOI) Valuation, built with Python and FastMCP.

πŸ“ˆ Financial Data & Valuation Engine β€” A professional quantitative analysis tool for Residual Operating Income modeling.

It enables AI assistants (like Claude, Cursor, etc.) to perform multi-stage residual income projections, discounting, and enterprise value bridging analysis via standardized data input interfaces.

Features

  • 1 Professional MCP Tool providing comprehensive financial valuation capabilities.

  • Standardized REOI Framework, incorporating base period analysis, forecast period discounting, and terminal value estimation.

  • Multi-stage Profit Forecasting, allowing independent revenue growth rates and operating margins configuration for each year.

  • Smart Markdown Formatting, returning not only precise valuation figures but also built-in markdown tables for elegant rendering inside LLM clients.

  • Zero Configuration Installation β€” Add one line to your MCP client without cloning or manual setup.

  • Pure Python, cross-platform (Windows / macOS / Linux).

Related MCP server: dingdawg-finance-agent

Prerequisites

Tip: After installing uv, restart your terminal and MCP client (e.g., Claude Desktop) to ensure the uv command is recognized.

Quick Start

Add the following to your MCP client configuration (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "agentladle-mcp-reoi": {
      "command": "uvx",
      "args": ["agentladle-mcp-reoi"]
    }
  }
}

That's it. uvx automatically downloads the package and its dependencies from PyPI β€” no cloning, manual installation, or path configuration required.

Alternative: pip install

If you prefer managing the environment yourself:

pip install agentladle-mcp-reoi

Then configure:

{
  "mcpServers": {
    "agentladle-mcp-reoi": {
      "command": "agentladle-mcp-reoi"
    }
  }
}

Alternative: Run from Source (Local Dev)

Clone the repository and run directly:

git clone https://github.com/agentladle/mcp-reoi.git

Configure your MCP client:

{
  "mcpServers": {
    "agentladle-mcp-reoi": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/mcp-reoi", "agentladle-mcp-reoi"]
    }
  }
}

Replace /path/to/mcp-reoi with the actual path to the cloned repository.

Tool List

#

Tool

Description

1

reoi_valuation_model

Residual Operating Income valuation model. Outputs value per share and detailed breakdown based on financial statements and assumptions.

Tool 1: reoi_valuation_model

Calculates enterprise equity value and suggested value per share by taking base period financial data and future forecast assumptions.

Parameter List (request object)

Parameter

Type

Required

Description

version

string

Version, default "1.0"

ticker

string

Stock ticker

companyName

string

Company Name

currency

string

Currency, default "CNY"

baseData

object

βœ…

Base period financial data

parameters

object

βœ…

Valuation parameters

marketConsensus

object

Optional market consensus data

assumptions

object

Optional forecast assumptions

baseData object

Parameter

Type

Required

Description

totalAssets

float

βœ…

Total Assets (millions)

financialAssets

float

βœ…

Financial Assets (millions)

totalLiabilities

float

βœ…

Total Liabilities (millions)

financialLiabilities

float

βœ…

Financial Liabilities (millions)

preferredStock

float

βœ…

Preferred Stock Value (millions)

minorityEquity

float

βœ…

Minority Equity (millions)

sales0

float

βœ…

Base Period Sales (millions), must be > 0

op0

float

Base Period Operating Profit (millions)

oi0

float

Base Period Core Profit (millions)

salesGrowthRate

float

Base Period Sales Growth Rate

operatingMargin

float

Base Period Operating Margin

sharesOutstanding

float

βœ…

Total Shares Outstanding (millions), must be > 0

parameters object

Parameter

Type

Required

Description

forecastYears

int

Number of Forecast Years (default: 5)

costOfCapitalRate

float

βœ…

Discount Rate/WACC, e.g., 0.10 for 10%

terminalGrowthRate

float

βœ…

Terminal Growth Rate, e.g., 0.03 for 3%

marketConsensus object (Optional)

Parameter

Type

Required

Description

revenues

float[]

Array of annual revenue consensus

eps

float[]

Array of annual EPS consensus

assumptions object (Optional)

Parameter

Type

Required

Description

salesGrowthRates

float[]

Array of annual revenue growth rates

operatingMargins

float[]

Array of annual operating margins

Data Flow

Model Input (Financials & Assumptions)
        β”‚
        β–Ό
   Input Validation
        β”‚
        β”œβ”€β”€ 1. Derive Base Net Operating Assets (NOA) and Asset Turnover
        β”‚
        β”œβ”€β”€ 2. Forecast Period Projection (Compute sales, OI, ending NOA, residual income)
        β”‚
        β”œβ”€β”€ 3. Terminal Value Calculation (Compute terminal value and discount to present)
        β”‚
        └── 4. Value Bridging (Core operating value + Financial Assets - Liabilities - Minority Equity)
        β”‚
        β–Ό
Markdown Detailed Output (Value per share, Data Tables)

Tech Stack

Component

Choice

Purpose

MCP Framework

mcp (FastMCP)

MCP server with stdio transport

Data Validation

pydantic

Strong typing and JSON Schema generation

Build Tool

hatchling + uv

Project configuration and dependency management

Testing

pytest

Unit testing for the core valuation engine

License

MIT

Available Tools

1 tool
reoi_valuation_modelB

Residual Operating Income Valuation Model (Strict Replica based on Ladleagent frontend). Accepts a full JSON state object for valuation calculation.

Inputs: request (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no risk of confusion. The tool's purpose is clear and distinct.

    Naming Consistency5/5

    Only one tool exists, so consistency is trivially maintained. The name is clear and descriptive.

    Tool Count3/5

    A single tool for a valuation model feels thin. Typically, a valuation server would benefit from multiple tools for different operations (e.g., parameter input, analysis, comparison).

    Completeness2/5

    The tool provides only a single calculation endpoint. Missing are tools for data management, scenario comparison, or model configuration, leading to significant gaps for a full valuation workflow.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to perform financial analysis, budget forecasting, compliance checks, expense categorization, and risk assessment, returning structured JSON with audit-ready governance receipts.
      5
      102 npm
      1
      Business Source 1.1
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI agents to compute valuation models for digital assets, premium domains, and web properties using liquid floors and enterprise multiples. Also calculates target acquisition value from annual revenue or EBITDA and industry-standard multiples.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to perform variance analysis, generate reconciling driver bridges and three-statement forecasts, export Excel workbooks, and analyze SEC or private-company financial data locally with engine-verified calculations.
      MIT