# Logistics Facility Location Calculator AI Agent Connect

> Logistics Facility Location Calculator MCP gives your AI agent the math it needs to solve site selection problems. It calculates the trade-offs between fixed operational costs and variable transport expenses, ensuring your chosen locations actually cover your demand points within required service radii.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_kjFrvZrEoA25iwYXDf2bFy4dzD45v2T1hIQFwD4e/ai-agent-connect
- **Tags:** logistics, optimization, supply-chain, facility-location, planning, transportation

## Description

You can use this MCP to turn your AI client into a logistics planning engine. Instead of guessing where to place a warehouse or distribution center, you can run specific scenarios to see how different locations impact your bottom line. The math handles the heavy lifting of balancing fixed facility costs against the variable costs of moving goods. 

Your agent can test if a specific site configuration is even viable by checking if it can meet demand within a set radius. You can also rank multiple candidate locations to see which one offers the best efficiency relative to its capacity. It's built for anyone who needs to move from high-level supply chain strategy to concrete, data-backed site selection without manual spreadsheet modeling.

## Tools

### check_coverage_feasibility
This tool checks if your proposed site locations can actually reach all your demand points.

### evaluate_scenario
This tool runs a full analysis of a specific logistics setup to check viability and coverage.

### calculate_transport_costs
This tool computes the total variable transportation costs for a specific set of assignments.

### rank_candidate_sites
This tool sorts potential facility locations based on their cost-to-capacity efficiency.

## Prompt Examples

**Prompt:** 
```
Evaluate a scenario with 2 demand points at (0,0) and (1,1) with volume 10, and 1 candidate site at (0.5, 0.5) with capacity 50 and fixed cost 100. Use a transport cost of 2 and service radius of 2.
```

**Response:** 
```
The scenario is feasible. Total fixed cost is 100, total variable cost is 28.28, and coverage is 100%.
```

**Prompt:** 
```
Rank these sites: Site A (capacity 100, cost 50) and Site B (capacity 200, cost 150).
```

**Response:** 
```
Site A is the most efficient with a score of 2.0, followed by Site B with a score of 1.33.
```

**Prompt:** 
```
Check if a site at (10,10) can cover a demand point at (0,0) with a service radius of 5.
```

**Response:** 
```
No, the demand point is unreachable as the distance exceeds the service radius.
```

## Capabilities

### Site Ranking
Your agent compares multiple locations to find the most efficient options.

### Cost Modeling
The MCP calculates the balance between fixed facility costs and variable transport costs.

### Coverage Verification
It checks if demand points fall within the service radius of your chosen sites.

### Scenario Testing
Your agent can run full evaluations of specific logistics configurations.

### Capacity Gap Analysis
The tool identifies where your facility capacity fails to meet demand.

## Use Cases

### New Warehouse Selection
Compare different candidate sites to see which one covers the most demand at the lowest cost.

### Network Expansion
Test if adding a new facility will solve existing capacity gaps or coverage issues.

### Cost Optimization
Run scenarios to find the most efficient balance between facility overhead and transport spend.

### Service Area Validation
Confirm that your current or proposed sites can reach all customers within a specific radius.

## Benefits

- Balances fixed and variable costs automatically.
- Identifies capacity gaps in your network configuration.
- Ranks sites by cost-to-capacity ratios.
- Verifies service radius feasibility for demand points.

## How It Works

Connect your AI client to Vinkius to start running logistics math immediately.

1. Connect your AI client to the Vinkius hosted MCP.
2. Provide your demand points, site locations, and cost data to your agent.
3. Ask your agent to run a specific tool like evaluate_scenario or rank_candidate_sites.
4. Review the calculated costs, coverage percentages, and efficiency rankings.

## Frequently Asked Questions

**What AI clients can I use with this MCP?**
You can use this MCP with any compatible client like Claude, Cursor, Windsurf, or VS Code.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You just connect your client and it is ready to use.

**Can this tool help me find the cheapest location?**
Yes, you can use the rank_candidate_sites tool to find the most efficient locations based on cost-to-capacity ratios.

**How does it handle service areas?**
The check_coverage_feasibility tool verifies if demand points fall within the required service radius of your sites.

**Does it calculate transportation costs?**
Yes, the calculate_transport_costs tool computes total variable costs for specific assignments.

**How do I know if a logistics scenario is feasible?**
You can use the `evaluate_scenario` tool. It returns an `isFeasible` boolean and will provide an `infeasibilityReason` if the constraints like service radius or capacity cannot be met.

**Can I rank sites by efficiency?**
Yes, the `rank_candidate_sites` tool ranks available sites based on their efficiency score, which is the ratio of capacity to fixed cost.

**How is transport cost calculated?**
Transport cost is calculated as the product of the demand volume, the distance between the site and the demand point, and the transport cost per unit distance.
