# Utility Bill Tariff Optimizer AI Agent Connect

> Utility Bill Tariff Optimizer MCP lets your AI client run detailed simulations of commercial and industrial electricity billing. It handles the heavy lifting of calculating costs against specific load profiles, comparing different tariff structures, and pinpointing exactly why your bills are spiking due to demand ratchets or power factor penalties.

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

## Description

You can use this MCP to run precise electricity cost simulations that account for the messy realities of industrial utility billing. Instead of guessing which tariff works best for your facility, you can feed your load profile into your AI client and get an immediate cost breakdown. The engine handles complex mechanics like time-of-use energy rates, demand ratchets, and power factor penalties that standard calculators usually miss. You can test how a change in your peak demand might impact your monthly bill or run a side-by-side comparison of multiple tariff options to find the cheapest path forward. It turns your agent into a specialized energy analyst that can decompose costs into energy versus demand components to find the real drivers of your utility spend.

## Tools

### calculate_single_bill
This tool calculates the total cost for one specific tariff applied to your provided load profile.

### compare_tariffs
Use this to evaluate how different tariff structures perform against the exact same load profile.

### analyze_peak_drivers
This tool identifies the specific causes of high bills by breaking down the impact of demand versus energy usage.

### validate_tariff_completeness
This tool checks your tariff definitions to ensure no critical components or rates are missing.

## Prompt Examples

**Prompt:** 
```
Calculate the total cost for this load profile using a flat tariff of $0.12/kWh and a demand charge of $15/kW.
```

**Response:** 
```
The total bill for the provided period is $1,245.50, with an effective rate of $0.1245/kWh.
```

**Prompt:** 
```
Which tariff is cheaper: a flat rate of $0.10/kWh or a TOU tariff with peak rates of $0.15/kWh?
```

**Response:** 
```
The flat rate tariff is the most economical option, saving you $420.00 compared to the TOU tariff.
```

**Prompt:** 
```
Why was my last utility bill so high?
```

**Response:** 
```
The primary cost driver was a high demand charge caused by a peak consumption of 450kW on October 12th.
```

## Capabilities

### Tariff Comparison
Your agent compares multiple rate structures against a single load profile to find the lowest cost.

### Cost Decomposition
The AI breaks down bills to show how much you are paying for energy versus demand.

### Tariff Validation
Your agent checks tariff definitions for missing data points before running simulations.

### Peak Analysis
The engine identifies specific demand spikes that drive up monthly costs.

## Use Cases

### Tariff Switching
Compare your current utility rate against a new proposed structure to see if switching saves money.

### Peak Demand Reduction
Analyze peak drivers to understand how reducing a specific load spike affects your total bill.

### Budget Forecasting
Use load profiles to predict future electricity costs under different rate scenarios.

### Audit Support
Verify that your utility is applying the correct tariff components to your actual usage.

## Benefits

- Models demand ratchets and power factor penalties for industrial accuracy.
- Compares multiple tariff structures against a single load profile instantly.
- Identifies specific cost drivers like demand versus energy impact.
- Validates tariff completeness to prevent calculation errors.

## How It Works

Connect your client to Vinkius and start running energy simulations immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your electricity load profile and tariff details to your AI client.
3. Ask the agent to calculate costs or compare different rates.
4. Review the breakdown of demand, energy, and effective rates.

## Frequently Asked Questions

**Does this MCP handle industrial demand charges?**
Yes, the engine specifically accounts for demand ratchets and peak demand impacts.

**Can I compare different utility rates?**
Yes, you can use the compare_tariffs tool to test multiple structures against the same load profile.

**How does it handle time-of-use rates?**
The engine includes time-of-use energy rates in its cost calculations.

**What if my tariff definition is incomplete?**
You can use the validate_tariff_completeness tool to check for missing components in your tariff data.

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

**How does the tool handle demand ratchets?**
You can use `calculate_single_bill` by providing the `previousPeakDemand` parameter to account for ratchet rules applied to the current billing cycle.

**Can I compare multiple energy contracts at once?**
Yes, the `compare_tariffs` tool is designed to evaluate multiple tariff configurations against the same load profile to find the most economical option.

**What information is needed for a simulation?**
You need the interval load data (timestamps and kWh), the tariff configuration object, and the billing period start and end dates.
