# NMFC Freight Class Calculator MCP for AI Agents MCP

> The NMFC Freight Class Calculator determines your National Motor Freight Classification (NMFC) and estimates shipping costs using density-based calculations. It takes weight and dimensions to calculate pounds per cubic foot, maps that number to the correct freight class, and finally adjusts the total cost estimate.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_K3JQboBUijoZd07x3Cwlu22KZcMdaTazQKV6Nrnx/mcp
- **Tags:** nmfc, freight, density, shipping-calculator, logistics-tools

## Description

Calculating freight classification used to be a tedious mess of manual measurements, density formulas, and complex rate books. You had to track down specific tables just to figure out if your shipment was Class 150 or Class 300, which fundamentally changes how much you pay. This MCP automates that entire process. Start by determining the precise density of any package using its weight and dimensions. Next, it assigns an official NMFC class rating based on that density. After getting the proper classification, the tool estimates your final shipping cost impact against a base rate per pound. Everything is handled in one place. If you're looking for reliable supply chain tools, Vinkius keeps this MCP right alongside thousands of others, making it easy to connect and use with any compatible AI client.

## Tools

### get_class_from_density
Takes a measured density value and returns the corresponding official NMFC freight class rating.

### evaluate_cost_impact
Calculates the estimated total shipping cost by applying a base rate to the final determined freight class.

### calculate_shipping_density
Calculates the density of a shipment using its weight and dimensions, resulting in pounds per cubic foot (PCF).

## Prompt Examples

**Prompt:** 
```
What's the freight class and expected cost for a 150 lb crate that is 4x3x2 ft?
```

**Response:** 
```
**Analysis of Shipment:**
*   **Density Calculation:** Weight (150 lbs) / Volume (24 cubic feet) = **6.25 PCF**.
*   **NMFC Class:** A density of 6.25 PCF falls into **Class 30**. 
*   **Estimated Cost Impact:** Using a base rate of $0.15/lb, the estimated cost for this shipment is **$45.00** (based on Class 30 multiplier).

This class rating helps you get the best quote from carriers.
```

**Prompt:** 
```
I have a small item weighing 25 lbs with dimensions of 12x12x12 inches. What should I expect?
```

**Response:** 
```
**Density Report:**
*   Weight: 25 lbs
*   Dimensions: 12" x 12" x 12"
*   Volume: 1728 cubic inches (or 0.012 cubic feet)
*   Calculated Density: **~2.1 PCF**.

This density points to an NMFC Class of **Class 50**. This is usually a very cost-effective classification.
```

**Prompt:** 
```
If the freight class is 350 and my base rate is $2.50/lb, what's the total estimated shipping expense for 80 lbs?
```

**Response:** 
```
**Cost Projection:**
*   Base Weight: 80 lbs
*   Assigned Class Multiplier: 1.4 (for Class 350)
*   Rate Per Pound: $2.50
*   **Estimated Total Cost:** **$280.00**.

Please confirm that the base rate of $2.50/lb is correct before finalizing this quote.
```

## Capabilities

### Calculate shipping density
It takes a shipment’s weight and dimensions and calculates its precise density in pounds per cubic foot (PCF).

### Determine NMFC freight class
This tool maps your calculated PCF value to the specific, official NMFC freight classification (ranging from Class 50 to Class 500).

### Estimate total cost impact
It calculates how a determined freight class affects your overall shipping costs using a provided base rate per pound.

## Use Cases

### Determining rate feasibility for a new product line
A manager asks their agent: 'If we ship Product X (100 lbs, 2x2x2 ft), what's the cost?' The agent uses `calculate_shipping_density` to get PCF, then `get_class_from_density` to find Class 150. Finally, it runs `evaluate_cost_impact`, telling the manager the expected rate change.

### Auditing a client's historical freight billing
A broker needs to check if a client was overcharged on an old invoice. They feed the original weight and dimensions into `calculate_shipping_density` and run it through `get_class_from_density`, instantly verifying if the billed class was correct.

### Comparing multiple shipping carriers' quotes
Instead of manually running calculations for three different carriers, the agent uses this MCP to standardize the input. It calculates the density once and then feeds it into `evaluate_cost_impact` for each carrier's rate card.

### Quickly assessing inventory shipping risk
A warehouse worker needs to know if a newly assembled unit (50 lbs, 12x12x12 inches) is going to be expensive. The agent runs the density calculation and immediately informs them of the resulting class and preliminary cost range.

## Benefits

- Eliminate costly misclassification mistakes. By using the `get_class_from_density` tool, you ensure your shipment receives its accurate NMFC class rating.
- Save hours of manual calculation time. Instead of cross-referencing rate tables and formulas, your agent handles density calculations instantly using `calculate_shipping_density`.
- Get instant cost estimates. The `evaluate_cost_impact` tool provides immediate financial feedback, showing exactly how the freight class affects your final quote.
- Maintain compliance across all quotes. You get a verifiable classification process that matches industry standards, protecting your business from unexpected surcharges.
- Improve quoting accuracy on the fly. Because this MCP connects density measurement straight to cost evaluation, your bids are reliable and ready when you need them.

## How It Works

The bottom line is you go from raw physical data (weight/size) straight to a final financial estimate in three simple steps.

1. First, input the shipment's weight and physical dimensions (length, width, height) to calculate its density in pounds per cubic foot.
2. Second, feed that calculated density number into the system; it will then map this value directly to a specific NMFC class rating.
3. Finally, use the resulting freight class alongside your base rate to get an estimated total cost impact for shipping.

## Frequently Asked Questions

**How do I calculate the density of my shipment?**
You can use the `calculate_shipping_density` tool. Simply provide the weight in pounds and the dimensions (length, width, and height) in inches.

**What is NMFC freight class?**
The National Motor Freight Classification (NMFC) system categorizes commodities based on density, ease of handling, and stability to determine shipping rates.

**How does freight class affect my costs?**
Higher freight classes (lower density) typically involve higher cost multipliers due to the increased space consumption in a trailer. You can use `evaluate_cost_impact` to see this effect.