agentladle-mcp-reoi
Enables AI assistants to perform multi-stage residual income projections, discounting, and enterprise value bridging analysis using standardized financial data inputs.
README
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).
Prerequisites
- Python 3.10+ β Download Python
- uv β Install uv
Tip: After installing uv, restart your terminal and MCP client (e.g., Claude Desktop) to ensure the
uvcommand 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.