# Infra Marginal Cost Analyzer AI Agent Connect

> Calculates unit costs and capacity risks for new customer acquisition.

## Overview
- **Category:** infrastructure
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_iVacMp8HKSwcRvldfPkfA0dY0x1MptlF1B7QxmOh/ai-agent-connect
- **Tags:** marginal-cost, capacity-planning, capex, opex, economics

## Description

This MCP server provides specialized financial analysis for infrastructure scaling. It allows AI agents to determine the unit cost of adding new customers by analyzing incremental capital and operational expenditures against available capacity. Use `calculate_marginal_costs` to find the cost per customer and capacity thresholds, `evaluate_capacity_utilization` to check remaining headroom, `analyze_scale_efficiency` to identify economies of scale, and `capacity_risk_assessment` to evaluate financial risks when approaching capacity limits.

## Tools

### analyze_scale_efficiency
Analyzes if the system is benefiting from scale or facing diminishing returns

### calculate_marginal_costs
Calculates the unit cost of adding specific new customers given current resource constraints

### capacity_risk_assessment
Assesses the financial risk of adding customers near the capacity limit

### evaluate_capacity_utilization
Evaluates how much of the remaining capacity will be consumed by new customers

## Prompt Examples

**Prompt:** 
```
What is the marginal cost if I add 50 customers with $10,000 Capex and $5,000 Opex, given 100 units of headroom?
```

**Response:** 
```
The marginal cost per customer is $300.00, and the capacity threshold is 100 customers.
```

**Prompt:** 
```
How much capacity will 20 new customers consume if I have 50 units of headroom left?
```

**Response:** 
```
The new customers will consume 40% of the available headroom, leaving 30 units remaining.
```

**Prompt:** 
```
Is there a high risk in adding 120 customers when I only have 100 units of headroom and $50,000 Capex required?
```

**Response:** 
```
Yes, the risk level is High because the number of new customers exceeds the available headroom.
```

## Frequently Asked Questions

**How do I calculate the cost of adding new customers?**
You can use the `calculate_marginal_costs` tool by providing the incremental Capex, incremental Opex, number of new customers, and current capacity headroom.

**Can this tool help with capacity planning?**
Yes, `evaluate_capacity_utilization` and `capacity_risk_assessment` are designed to help you understand how much headroom remains and the financial risks of exceeding it.

**What is the difference between Capex and Opex in this tool?**
Capex refers to the capital investment for new infrastructure, while Opex refers to the operational expenses required to support the new customer volume.
