# Actuarial Experience Refund Calculator AI Agent Connect

> Actuarial Experience Refund Calculator MCP connects your AI agent to core underwriting logic. It handles the heavy lifting of calculating expected versus actual results, checking refund eligibility against specific contract formulas, and determining the final margins an insurer retains. It ensures all calculations stay within valid policy periods.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_YNW8w8APR2UUivdYZsnTc2VY2DkNk73bDN66GlvL/ai-agent-connect
- **Tags:** actuarial, insurance, premium, underwriting, refund

## Description

You can now give your AI client the ability to run complex actuarial math without manual data entry or spreadsheet errors. This MCP bridges the gap between your agent and the specific underwriting formulas required for experience-based premium refunds. Instead of you manually checking if a policy is still active or calculating the delta between expected and actual losses, your agent does it instantly. 

You can use it to establish a financial baseline for a policy period, verify if a client qualifies for a refund based on their actual performance, and see exactly what the insurer keeps after the payout. It's built to follow the strict logic of insurance contracts, ensuring that each calculation respects the policy dates and the specific formulas defined in the underwriting agreement. This moves the math from a manual task to a direct command within your AI-driven workflow.

## Tools

### calculate_final_retention
This tool determines the exact margin an insurer keeps after a refund is issued.

### calculate_underwriting_performance
This tool calculates the core financial outcomes, including expected and actual results, for a policy period.

### determine_refund_eligibility
This tool identifies if a refund is owed by comparing performance against contract formulas.

### verify_policy_period_status
This tool checks if a specific date falls within the active coverage window of a policy.

## Prompt Examples

**Prompt:** 
```
Calculate the underwriting performance for a premium of 10000, expected losses of 6000, actual losses of 5000, expenses of 1000, and a retention of 0.8.
```

**Response:** 
```
The expected underwriting result is 3000, the actual underwriting result is 4000, and the loss ratio is 0.5.
```

**Prompt:** 
```
Is a refund eligible for an actual result of 500 with a refund percentage of 0.5 using the SURPLUS_MARGIN_BASED formula?
```

**Response:** 
```
Yes, the refund is eligible for an amount of 250 based on the Surplus Margin.
```

**Prompt:** 
```
Check if the date 2024-05-01 is within the policy period from 2024-01-01 to 2024-12-31.
```

**Response:** 
```
Yes, the calculation date is within the valid policy period.
```

## Capabilities

### Performance Benchmarking
Your agent uses this to compare expected underwriting results against actual outcomes.

### Eligibility Verification
Your agent checks performance against contract formulas to see if a refund is owed.

### Margin Analysis
Your agent calculates the final amount an insurer retains after payouts.

### Date Validation
Your agent confirms that calculation dates align with the policy period.

## Use Cases

### End-of-Period Refunds
Run calculations at the end of a policy term to see if a client earned a premium refund.

### Underwriting Audits
Verify that previous refund calculations matched the contractual formulas.

### Margin Monitoring
Check how much margin is being retained after experience-based adjustments are applied.

### Policy Compliance
Confirm that requested calculations are being performed within the correct coverage dates.

## Benefits

- Removes manual calculation errors by using direct underwriting formulas.
- Speeds up the refund determination process for policyholders.
- Ensures all math stays within the bounds of the active policy period.
- Provides clear visibility into insurer retention after refunds.

## How It Works

You connect the MCP to your AI client and start issuing commands for underwriting math.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide your agent with policy data like premium, losses, and expenses.
3. Your agent calls the necessary tools to run the underwriting formulas.
4. Your agent returns the calculated performance, eligibility, or retention results.

## Frequently Asked Questions

**What does this MCP actually calculate?**
It calculates experience-based premium refunds, underwriting performance, and the final margins retained by an insurer.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client like Claude, Cursor, or Windsurf.

**Does it handle policy date validation?**
Yes, it includes a tool to verify that calculation dates fall within the valid policy period.

**How are refunds determined?**
Refunds are determined by checking performance against specific contractual formulas through the eligibility tool.

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

**How is the underwriting result calculated?**
The underwriting result is determined by subtracting the sum of losses and expenses from the total premium collected.

**Can I verify if a policy is still active?**
Yes, you can use `verify_policy_period_status` to check if the calculation date falls within the policy's effective dates.

**What determines if a refund is eligible?**
Eligibility is determined by the specific `contractFormula` provided and whether the actual underwriting result is positive.
