# Shipping Zone Cost Calculator AI Agent Connect

> Calculate precise freight costs using dimensional weight and shipping zones.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_YnM63P58WJuDsePUjZDS7P9DobxqLCfXhGo2bsaM/ai-agent-connect
- **Tags:** freight, shipping, logistics, weight, zones

## Description

This MCP server provides deterministic freight cost estimation by calculating dimensional weight, identifying shipping zones, and applying carrier rate matrices. Use `get_dimensional_weight` to find volumetric weight, `determine_shipping_zone` to map zip codes to zones, and `calculate_freight_cost` to determine the final billable weight and total cost.

## Tools

### calculate_freight_cost
Determines the final shipping cost using the billable weight, target zone, and carrier rates

### determine_shipping_zone
Identifies the target shipping zone based on the relationship between origin and destination locations

### get_dimensional_weight
Calculates the volumetric weight of a package based on its physical dimensions

## Prompt Examples

**Prompt:** 
```
What is the dimensional weight for a package that is 50x40x30 cm with a dim factor of 5000?
```

**Response:** 
```
The dimensional weight is 12 kg.
```

**Prompt:** 
```
Calculate the shipping cost for a 10kg package with a 12kg dimensional weight in zone 3 using this rate matrix: {"3": [{"maxWeight": 15, "cost": 25.00}]}
```

**Response:** 
```
The billable weight is 12 kg, the zone is 3, and the total cost is $25.00.
```

**Prompt:** 
```
Find the shipping zone for origin 90210 and destination 10001 using the map: {"90210-10001": 5}
```

**Response:** 
```
The target shipping zone is 5.
```

## Frequently Asked Questions

**How is the billable weight determined?**
The billable weight is the higher value between the actual physical weight and the dimensional weight calculated via `get_dimensional_weight`.

**Can I use my own carrier rates?**
Yes, you can provide your own rate matrix to the `calculate_freight_cost` tool to get exact pricing based on your specific carrier contracts.

**What information is needed to find a shipping zone?**
You need the origin zip code, the destination zip code, and a zone map provided to the `determine_shipping_zone` tool.
