# Bühlmann Credibility Calculator AI Agent Connect

> Bühlmann Credibility Calculator MCP gives your AI client the actuarial math needed to handle credibility estimation. It calculates the k parameter, adjusts weights based on exposure, and provides variance diagnostics to help you decide how much to trust individual data points versus collective group means.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_uKAMg4EkgM1y1RDWtrF6kQzOMv4vWp1LkTIPWJql/ai-agent-connect
- **Tags:** actuary, credibility, buhlmann, variance, risk-assessment

## Description

You can use this MCP to automate the heavy lifting of credibility theory. Instead of manually calculating weights, you tell your AI client to determine how much weight to assign to a specific risk observation. It uses variance components to find the right balance between individual data and the group average. You can quickly find the k parameter and the resulting Z weight, or adjust those weights when you have specific exposure data to consider. If you need to understand why a weight is high or low, the tool provides diagnostics to show you the underlying variance drivers. It's a direct way to bring precise actuarial calculations into your existing AI workflows in Cursor, VS Code, or Claude.

## Tools

### calculate_blended_estimate
This tool computes the final actuarial estimate by merging individual data with the collective average.

### get_credibility_weight
This tool calculates the Bühlmann credibility parameter k and the resulting weight Z based on your variance components.

### get_exposure_adjusted_weight
This tool determines how much an individual's specific exposure increases their credibility weight.

### get_variance_diagnostics
This tool compares variance components to show you exactly what is driving your credibility weights.

## Prompt Examples

**Prompt:** 
```
Calculate the credibility weight for a risk with a within-risk variance of 50 and a between-risk variance of 150.
```

**Response:** 
```
The credibility parameter (k) is 0.75 and the resulting weight (Z) is 0.75.
```

**Prompt:** 
```
What is the blended estimate if the individual observation is 1200, the collective mean is 1000, and the credibility weight is 0.6?
```

**Response:** 
```
The individual estimate is 1200, the collective estimate is 1000, and the final blended estimate is 1120.
```

**Prompt:** 
```
Adjust a base k parameter of 0.5 for an exposure of 4 years.
```

**Response:** 
```
The adjusted weight for an exposure of 4 years with a k parameter of 0.5 is 0.4.
```

## Capabilities

### Parameter Calculation
Your agent calculates the k parameter and Z weight using variance components.

### Exposure Adjustment
Your agent adjusts credibility weights based on the amount of exposure provided.

### Estimate Blending
Your client combines individual observations with group means to produce a final estimate.

### Variance Analysis
The tool provides diagnostics to explain the drivers behind specific credibility weights.

## Use Cases

### Risk Weighting
Decide how much to trust a single policyholder's history versus the entire pool.

### Exposure Scaling
Increase the credibility of a risk when you have more years of exposure data.

### Blended Pricing
Generate final estimates by mixing individual observations with collective means.

### Variance Auditing
Check the drivers of a credibility weight using variance diagnostics.

## Benefits

- Automates the calculation of k and Z parameters.
- Adjusts credibility based on specific exposure levels.
- Provides clear diagnostics for variance-driven weights.
- Combines individual and group data into single estimates.

## How It Works

Connect your AI client to Vinkius to start running actuarial calculations immediately.

1. Connect your client like Claude or Cursor to the Vinkius hosted MCP.
2. Provide your variance components or exposure data to your AI agent.
3. Your agent calls the specific tool needed for your calculation.
4. Receive the calculated weight, estimate, or diagnostic report.

## Frequently Asked Questions

**What is this MCP used for?**
It is used to calculate Bühlmann credibility estimates, which helps in weighting individual risk observations against group averages.

**Which AI clients can use this tool?**
You can use this MCP with any compatible client, including Claude, Cursor, Windsurf, and VS Code.

**How does exposure affect the weight?**
The get_exposure_adjusted_weight tool calculates exactly how much exposure increases the credibility of an individual's data.

**Can I see why a weight was assigned?**
Yes, you can use the get_variance_diagnostics tool to see a comparison of variance components and understand the drivers of the weight.

**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.

**What is the purpose of the `get_credibility_weight` tool?**
The `get_credibility_weight` tool calculates the Bühlmann credibility parameter (k) and the resulting weight (Z) based on the provided within-risk and between-risk variances.

**How does exposure affect the credibility weight?**
You can use `get_exposure_adjusted_weight` to see how increasing exposure increases the reliability of an individual's data, bringing the weight closer to the limit defined by the k parameter.

**Can I get diagnostics on my variance components?**
Yes, the `get_variance_diagnostics` tool provides a comparison of variance components to help identify if individual differences or noise are the primary drivers of credibility.
