# Net Carb Validator AI Agent Connect

> Calculate precise net carbohydrates and keto suitability from nutrition labels.

## Overview
- **Category:** health
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_2F7Rgxs5FawQQkKBdjUszMZvKWKgxfNdTYKQz8WY/ai-agent-connect
- **Tags:** keto, nutrition, carbs, diet, health-tracking

## Description

This MCP server provides deterministic tools to calculate net carbohydrate content from nutritional label data. It accounts for dietary fiber and the varying metabolic impacts of different sugar alcohols. Use `calculate_net_carbs` to determine the final digestible carb count and keto-friendly status, or `validate_label_integrity` to ensure a label's fiber and carbohydrate values are mathematically plausible.

## Tools

### calculate_net_carbs


### get_sugar_alcohol_impact


### validate_label_integrity


## Prompt Examples

**Prompt:** 
```
Calculate the net carbs for a snack with 20g total carbs, 5g fiber, and 4g erythritol.
```

**Response:** 
```
The final net carbs are 11g, and this snack is not keto-friendly.
```

**Prompt:** 
```
Is a food with 10g total carbs, 6g fiber, and 2g allulose keto-friendly?
```

**Response:** 
```
The final net carbs are 2g, so this food is keto-friendly.
```

**Prompt:** 
```
Check if a label with 15g total carbs and 20g fiber is valid.
```

**Response:** 
```
The label is invalid because the fiber content exceeds the total carbohydrate content.
```

## Frequently Asked Questions

**How does the tool handle different sugar alcohols?**
The tool applies specific metabolic rules: 100% of erythritol and allulose are subtracted, while only 50% of maltitol and glycerin are subtracted from the total carbohydrate count.

**What defines a food as keto-friendly?**
A food is flagged as keto-friendly if the final net carbohydrate count is less than 5 grams per serving.

**Can I verify if a nutrition label is valid?**
Yes, you can use `validate_label_integrity` to check if the reported dietary fiber exceeds the total carbohydrates, which would indicate an invalid label.
