# Actuarial Economic Capital Calculator AI Agent Connect

> Actuarial Economic Capital Calculator MCP gives your AI client the mathematical tools needed for complex risk aggregation. It handles standalone risk metrics, capital aggregation using copulas or correlation matrices, and tail risk analysis to identify loss drivers. You can verify dependency models and calculate diversification benefits directly within your existing AI workflow.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_0myByMz2b8aU8UE6y5AOCQ6U9iszyR1DptCxPpFh/ai-agent-connect
- **Tags:** actuarial, risk, capital, var, copula, statistics

## Description

You can now run complex actuarial computations directly through your AI client. This MCP handles the heavy lifting for risk aggregation, allowing your agent to move from raw risk factors to a complete capital view. Instead of manually running models in separate software, you can ask your agent to evaluate individual risk factors or aggregate them into a total portfolio capital figure. 

It works by applying advanced dependence models, including copulas and correlation matrices, to determine how different risks interact. This makes it easy to see how much capital you actually need and how much diversification benefit you're getting. If you're worried about extreme events, the MCP can pinpoint exactly which risks are driving your tail risk. It also includes a validation step to ensure your mathematical dependency models are consistent before you rely on the results. It's a specialized engine designed to turn your agent into a capable actuarial assistant.

## Tools

### aggregate_risk_capital
This tool combines individual risk factors into a single total capital figure. It accounts for dependencies to show the combined portfolio impact.

### analyze_tail_contributions
This tool identifies the primary drivers of extreme losses in your aggregated portfolio. It helps you see which specific risks are pushing you into the tail.

### calculate_standalone_metrics
This tool calculates individual risk metrics for each risk factor. You can use it to get baseline VaR or expected loss for single components.

### validate_dependence_structure
This tool verifies that your provided mathematical dependency model is valid. It ensures the math holds up before you run aggregations.

## Prompt Examples

**Prompt:** 
```
Calculate the standalone metrics for a risk factor with frequency 10 and severity 500 at a 0.95 confidence level.
```

**Response:** 
```
The standalone metrics for the risk factor are: VaR: 1250.00, Expected Shortfall: 1450.00, and Expected Loss: 5000.00.
```

**Prompt:** 
```
What is the total VaR and diversification benefit for these two risks using a correlation matrix?
```

**Response:** 
```
The total VaR is 1850.00 and the diversification benefit is 150.00.
```

**Prompt:** 
```
Which risk factors are driving the tail risk in my portfolio?
```

**Response:** 
```
The primary driver of tail risk is 'Market Volatility' with a tail contribution value of 75.50.
```

## Capabilities

### Risk Aggregation
Your agent uses this to combine separate risk factors into a total capital requirement.

### Tail Risk Identification
Your agent uses this to find which specific risks are responsible for extreme loss events.

### Dependency Validation
Your agent runs this to check the mathematical consistency of your copulas or correlation models.

### Standalone Analysis
Your agent uses this to compute individual VaR and expected loss for single risk components.

### Diversification Calculation
Your agent uses this to determine the capital savings gained from combining correlated risks.

## Use Cases

### Portfolio Capital Assessment
You can ask your agent to aggregate multiple risk factors to find the total economic capital required.

### Extreme Event Analysis
Use the tail contribution tool to see which specific market or credit risks are driving your worst-case scenarios.

### Model Integrity Checks
Run validation on your dependency structures to ensure your math is sound before finalizing reports.

### Risk Component Evaluation
Quickly get standalone VaR and expected loss for individual risk factors to compare them against the total portfolio.

## Benefits

- Reduces the time between defining risk factors and seeing aggregated capital results.
- Provides mathematical validation for dependency models within your agent chat.
- Identifies specific loss drivers through direct tail contribution analysis.
- Calculates diversification benefits using correlation matrices and copulas.

## How It Works

Connecting this MCP to your AI client gives your agent immediate access to actuarial math tools.

1. Connect your AI client to the Vinkius platform.
2. Select the Actuarial Economic Capital Calculator MCP.
3. Provide your risk data or dependency models in the chat.
4. Your agent executes the specific math tools to process the data.
5. Receive calculated metrics like VaR, capital, or tail drivers directly in your chat window.

## Frequently Asked Questions

**What kind of risk models does this MCP support?**
The MCP supports aggregation using correlation matrices and copulas to handle different dependency structures.

**Can I use this with any AI client?**
Yes, this MCP works with any client that supports the Model Context Protocol, such as Claude, Cursor, or Windsurf.

**How does it help with tail risk?**
It uses a specific tool to analyze tail contributions, which identifies which individual risks are the main drivers of extreme losses in a portfolio.

**Do I need to host the math engine myself?**
No, Vinkius hosts and manages the MCP, so it is ready to use as soon as you connect your client.

**Can it validate my mathematical models?**
Yes, the validate_dependence_structure tool is designed to check the mathematical consistency of your dependency models.

**What is the difference between VaR and Expected Shortfall?**
Value at Risk (VaR) is the maximum loss expected at a specific confidence level, while Expected Shortfall (ES) measures the average loss that occurs when the loss exceeds the VaR threshold.

**How is diversification benefit calculated?**
Diversification benefit is the difference between the sum of individual risk factor VaRs and the total aggregated VaR calculated via `aggregate_risk_capital`.

**Can I use copulas for dependency modeling?**
Yes, you can use copulas by specifying the 'copula' model in `aggregate_risk_capital` and providing the appropriate parameters in the dependence data.
