# Accounting Expected Credit Loss Calculator AI Agent Connect

> Accounting Expected Credit Loss Calculator MCP provides the specialized logic needed to handle IFRS 9 and CECL frameworks. Your AI client uses this tool to run granular account metrics, aggregate portfolio data, and perform sensitivity testing on macroeconomic parameters without manual spreadsheet work.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_7gDtZDBXchz8aHimrRkXL7uohUk6j7fQ3McSsoZY/ai-agent-connect
- **Tags:** ifrs9, cecl, ecl, credit-risk, accounting

## Description

You can now bring complex credit impairment logic directly into your AI client. This MCP handles the heavy lifting for IFRS 9 and CECL compliance by providing the specific math required for expected credit loss (ECL) calculations. Instead of manually calculating stages or running sensitivity scenarios in a spreadsheet, you can ask your agent to process account data, determine staging based on aging, and factor in forward-looking macroeconomic shifts. It works by applying core credit impairment rules to your provided data, allowing you to move from individual account analysis to high-level portfolio reporting in seconds. Whether you need to check if your input data is complete or see how a shift in probability of default affects your total exposure, this MCP provides the direct computational link to your financial data.

## Tools

### analyze_ecl_sensitivity
This tool measures how a specific parameter shift impacts your total ECL. It helps you see the direct effect of changing variables like probability of default.

### calculate_ecl_by_account
This tool calculates detailed ECL metrics for a single account or a list of accounts. It automatically determines the correct stage based on days past due and performing status.

### calculate_portfolio_summary
This tool aggregates ECL data across a group of accounts. It provides high-level reporting for your entire portfolio.

### check_parameter_completeness
This tool identifies which accounts are missing the necessary data for a valid ECL calculation. It acts as a data quality check before you run your reports.

## Prompt Examples

**Prompt:** 
```
Calculate the ECL for account ID 123 with exposure of 10000, PD of 0.05, LGD of 0.4, EAD of 10000, 30 days past due, and is performing.
```

**Response:** 
```
The ECL for account 123 is 200.00, categorized as Stage 1.
```

**Prompt:** 
```
Provide a summary of the portfolio for these accounts: [{"accountId": "A1", "exposure": 5000, "pd": 0.02, "lgd": 0.5, "ead": 5000, "daysPastDue": 0, "isPerforming": true}] with a base scenario.
```

**Response:** 
```
The portfolio summary shows a total ECL of 50.00 and a total exposure of 5000.00.
```

**Prompt:** 
```
What happens to the ECL if I increase the PD by 10% for my accounts?
```

**Response:** 
```
Increasing the PD by 10% results in a total ECL of 220.00, which is an absolute increase of 20.00.
```

## Capabilities

### IFRS 9 and CECL Compliance
Your agent uses these frameworks to ensure all credit loss calculations meet regulatory standards.

### Automated Staging
The MCP determines account stages by looking at days past due and performing status.

### Sensitivity Testing
Your AI client runs scenarios to see how parameter shifts change the total expected credit loss.

### Portfolio Aggregation
The tool sums up individual account metrics into a single portfolio summary.

### Data Validation
The MCP checks your account data to find missing parameters before you run calculations.

## Use Cases

### Regulatory Reporting
Generate the necessary ECL metrics and staging data required for IFRS 9 compliance.

### Risk Scenario Testing
Test how a sudden increase in probability of default affects your total credit loss exposure.

### Portfolio Health Checks
Quickly aggregate data across thousands of accounts to see total exposure and loss metrics.

### Data Quality Audits
Run a completeness check to find accounts that lack the data needed for accurate modeling.

## Benefits

- Removes manual calculation errors by using standardized credit impairment logic.
- Speeds up reporting by aggregating account data into portfolio summaries instantly.
- Enables rapid sensitivity analysis to test macroeconomic scenario impacts.
- Reduces data prep time by identifying missing parameters automatically.

## How It Works

You connect the MCP to your AI client and then provide your financial data through natural language prompts.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide account data or portfolio lists to your AI agent.
3. Ask your agent to perform specific calculations or sensitivity tests.
4. Your agent invokes the necessary tool to process the math.
5. Receive the calculated metrics or summaries directly in your chat interface.

## Frequently Asked Questions

**What accounting standards does this MCP support?**
This MCP is designed specifically for IFRS 9 and CECL frameworks.

**How does the tool determine the stage of an account?**
The engine determines the stage based on the days past due and whether the account is performing.

**Can I run sensitivity analysis on my portfolio?**
Yes, you can use the analyze_ecl_sensitivity tool to measure how shifting a specific parameter impacts your total ECL.

**Do I need to host this MCP myself?**
No, Vinkius hosts and manages the MCP for you. You connect your client and start using the tools.

**How do I know if my data is ready for calculation?**
You can use the check_parameter_completeness tool to identify any accounts missing required data.

**How does the tool determine the credit stage?**
The stage is determined automatically using `calculate_ecl_by_account` based on the `daysPastDue` and `isPerforming` status provided in the account data.

**Can I perform sensitivity analysis on PD or LGD?**
Yes, you can use the `analyze_ecl_sensitivity` tool to measure how changes in Probability of Default (PD) or Loss Given Default (LGD) impact the total ECL.

**How do I ensure my input data is valid for calculation?**
You can use the `check_parameter_completeness` tool to identify any accounts that are missing critical fields like PD, LGD, or EAD before running full calculations.
