# Infra Unit Economics & Gross Margin AI Agent Connect

> Calculate gross margin, cost breakdowns, and identify margin improvement levers for infrastructure businesses.

## Overview
- **Category:** infrastructure
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_jSUuJkvR0nNmtytYKFEh9iq2osLPjQsdZsAutZ80/ai-agent-connect
- **Tags:** gross-margin, cogs, unit-economics, infrastructure, financial-analysis

## Description

This MCP server provides specialized financial analysis tools for infrastructure-heavy businesses. It allows AI agents to calculate gross margin percentages, analyze cost distributions across maintenance, energy, labor, and depreciation, and identify specific levers to improve profitability. Use `calculate_gross_margin` to determine total COGS and margin, `analyze_cost_breakdown` to see cost distribution, `identify_margin_levers` to find optimization opportunities, and `validate_infrastructure_health` to compare current margins against target thresholds.

## Tools

### analyze_cost_breakdown
Analyze cost distribution across categories

### calculate_gross_margin
Calculate gross margin and total COGS

### identify_margin_levers
Identify primary cost levers for margin improvement

### validate_infrastructure_health
Validate infrastructure margin health

## Prompt Examples

**Prompt:** 
```
What is my current gross margin if revenue is $1,000,000, maintenance is $100,000, energy is $150,000, labor is $200,000, and depreciation is $50,000?
```

**Response:** 
```
Your total COGS is $500,000 and your current gross margin is 50.0%.
```

**Prompt:** 
```
Analyze my cost distribution with maintenance at $50,000, energy at $80,000, labor at $40,000, and depreciation at $30,000.
```

**Response:** 
```
Energy is your largest cost component at 40%, followed by maintenance at 25%, labor at 20%, and depreciation at 15%.
```

**Prompt:** 
```
Is my margin healthy if it is 25% and my target is 30%?
```

**Response:** 
```
No, your current margin is below the target. The variance is -5.0%.
```

## Frequently Asked Questions

**What is included in the COGS calculation?**
The total Cost of Goods Sold (COGS) includes maintenance costs, energy costs, direct labor, and depreciation amounts.

**How can I find ways to improve my profit margins?**
You can use the `identify_margin_levers` tool to pinpoint which cost categories are most significant and offer the best opportunities for reduction.

**Can I check if my business is meeting its financial targets?**
Yes, the `validate_infrastructure_health` tool compares your current gross margin against a target margin to determine if your operations are healthy.
