# Capacity Charge Calculator AI Agent Connect

> Capacity Charge Calculator MCP handles the heavy lifting for energy demand modeling. It manages complex billing logic like ratchet effects and coincident peak rules, allowing your AI client to calculate exact monetary costs and evaluate demand reduction strategies without manual spreadsheet work.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_DksyZhoTXzdZdtrIt9fdt3O7ToSYaRtGAQCMmWmH/ai-agent-connect
- **Tags:** electricity, demand, capacity, billing, tariff

## Description

You can use this MCP to model complex electricity billing scenarios directly within your AI client. Instead of building nested formulas to account for contractual constraints or coincident peak rules, you let your agent handle the math. It processes interval demand data to find core metrics and applies specific tariff rules to determine what you'll actually be billed. You can also run sensitivity tests to see how much a specific reduction in peak demand would save you in real dollars. It's built for energy professionals who need to move from raw demand data to final cost analysis without the manual errors common in manual calculations.

## Tools

### analyze_peak_sensitivity
This tool calculates the financial impact of reducing your demand. It shows you exactly how much money stays in your pocket if you lower your peak usage.

### calculate_billed_peak
This tool determines the specific demand value used for your actual bill. It accounts for contractual constraints to find the final billed amount.

### compute_capacity_charges
This tool calculates total monetary costs. It takes your determined peak and applies the relevant tariff to get a final dollar amount.

### get_peak_analysis
This tool identifies core demand metrics for a specific billing period. It pulls the essential data points needed for further billing calculations.

## Prompt Examples

**Prompt:** 
```
Calculate the peak analysis for these interval demands: [10, 15, 20, 18, 25, 22] with a coincident peak of 20 and coincident rule applied.
```

**Response:** 
```
The measured peak is 25, and the coincident peak is 20.
```

**Prompt:** 
```
What would be the total charge for a billed peak of 100 kW at a tariff rate of 15 per kW with a contracted capacity of 80 kW?
```

**Response:** 
```
The total charge is 1700, consisting of a 1500 base demand charge and a 200 capacity surcharge.
```

**Prompt:** 
```
How much can I save if I reduce my billed peak of 150 kW by 20 kW at a rate of 10 per kW?
```

**Response:** 
```
Reducing the demand by 20 kW will result in potential savings of 200.
```

## Capabilities

### Demand Metric Identification
Your agent uses this to pull core demand data from a set of interval readings.

### Contractual Constraint Application
Your agent applies contracted capacity and coincident peak rules to find the true billed peak.

### Monetary Cost Calculation
Your agent calculates total charges by applying specific tariffs to demand values.

### Financial Sensitivity Modeling
Your agent evaluates how much money you save by lowering specific demand levels.

## Use Cases

### Demand Reduction Planning
Run sensitivity tests to see if investing in demand response equipment pays off based on your current tariff.

### Bill Verification
Check if your utility is applying coincident peak rules and contracted capacity correctly.

### Budget Forecasting
Estimate upcoming capacity charges by analyzing historical peak trends.

### Tariff Comparison
Model how different peak demand levels interact with various tariff rates.

## Benefits

- Eliminates manual errors in complex ratchet and coincident peak calculations.
- Provides immediate financial feedback on demand reduction strategies.
- Translates raw interval data into billable peak values automatically.
- Handles contracted capacity constraints within the calculation logic.

## How It Works

Connect your AI client to Vinkius and start running energy models immediately.

1. Connect your preferred MCP-compatible client like Claude or Cursor to Vinkius.
2. Provide your interval demand data or peak metrics to your agent.
3. Ask your agent to apply specific tariff rules or capacity constraints.
4. Receive calculated costs or savings analysis directly in your chat interface.

## Frequently Asked Questions

**What kind of electricity billing logic does this MCP handle?**
It handles complex scenarios including ratchet effects, coincident peak rules, and contracted capacity constraints.

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

**How do I calculate potential savings from reducing my peak?**
You can use the analyze_peak_sensitivity tool to evaluate the financial impact of reducing your demand.

**Does this MCP require me to host anything?**
No, Vinkius hosts and manages the MCP for you. You connect your client and start using the tools.

**Can it calculate the final amount I owe on a bill?**
Yes, the compute_capacity_charges tool calculates the total monetary cost based on the peak and the tariff.

**What is the ratchet effect?**
The ratchet effect is a mechanism where a portion of a previous period's peak demand is carried forward to the current period to prevent charge avoidance.

**How does this tool handle coincident peak rules?**
By using `get_peak_analysis`, the tool determines if the user's peak demand coincides with the utility's peak event to apply the correct tariff logic.

**Can I simulate demand reduction savings?**
Yes, you can use `analyze_peak_sensitivity` to calculate potential savings based on a specific reduction in demand.
