# BIM Clash & Clearance Calculator AI Agent Connect

> BIM Clash & Clearance Calculator MCP gives your AI client the ability to inspect Building Information Modeling data for physical conflicts. It identifies hard clashes where objects overlap and checks if elements maintain necessary safety or maintenance distances. You can run batch detections across multiple elements or categorize the severity of issues based on penetration depth.

## Overview
- **Category:** construction
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_RMgBksrmvEaW0pUSDT8H9zgY8Zus36TzXw4fVBe9/ai-agent-connect
- **Tags:** bim, clash-detection, geometry, construction-tech, spatial-analysis

## Description

You can use this MCP to automate the tedious parts of BIM coordination. Instead of manually hunting for overlapping pipes or tight clearances, you let your AI agent scan the geometry for you. It handles the heavy lifting of spatial analysis, identifying exactly where two elements occupy the same space or where a component sits too close to a structural member. 

When you're working on large-scale coordination, you don't have to check each pair individually. You can run batch operations to find all problematic intersections against your specific clearance rules in one go. The MCP also helps you prioritize fixes by evaluating how severe a conflict is, looking at how deep a penetration goes or how much a safety buffer is being violated. It turns raw geometric data into actionable conflict reports that your agent can present to your team.

## Tools

### analyze_clash_geometry
This tool performs the primary geometric intersection test between two BIM elements to find hard clashes.

### batch_clash_detection
This tool evaluates a whole collection of elements against your clearance rules to find all problematic pairs at once.

### check_clearance_violation
This tool determines if the spatial distance between two elements fails to meet your required safety or maintenance buffers.

### evaluate_conflict_severity
This tool categorizes how important a detected clash or clearance violation is based on its magnitude.

## Prompt Examples

**Prompt:** 
```
Check if these two elements have a physical intersection: elementA: {"id": "pipe_01", "bounds": [0,0,0,1,1,1]}, elementB: {"id": "beam_01", "bounds": [0.5,0.5,0.5,1.5,1.5,1.5]}
```

**Response:** 
```
The elements have a hard clash with a penetration depth of 0.5 units.
```

**Prompt:** 
```
Is there a clearance violation if a conduit is 0.2 units away from a water pipe, given a required clearance of 0.5 units?
```

**Response:** 
```
Yes, there is a clearance violation. The current distance is 0.2 units, resulting in a clearance deficit of 0.3 units.
```

**Prompt:** 
```
What is the severity of a hard clash with a penetration depth of 1.5 units using these thresholds: {"Critical": 1.0, "Major": 0.5}
```

**Response:** 
```
The severity level is Critical with a priority score of 1.5.
```

## Capabilities

### Hard Clash Detection
Your agent identifies when two building elements occupy the same physical volume.

### Clearance Verification
Your agent checks if objects maintain the necessary safety or maintenance buffers.

### Batch Processing
Your agent evaluates large groups of elements against clearance rules in a single pass.

### Severity Assessment
Your agent categorizes conflicts based on how much they violate spatial requirements.

## Use Cases

### Mechanical/Electrical/Plumbing (MEP) Coordination
Check if new ductwork or piping intersects with existing structural steel.

### Safety Buffer Audits
Verify that electrical equipment maintains the required clearance from water lines.

### Large Scale Model Audits
Run batch detections across an entire floor plan to find all clearance issues at once.

### Conflict Prioritization
Use severity scoring to decide which clashes need immediate attention on site.

## Benefits

- Automates geometric intersection testing between BIM elements.
- Identifies safety buffer violations through spatial distance checks.
- Processes multiple elements at once using batch detection.
- Prioritizes issues by calculating conflict severity levels.

## How It Works

Connect your AI client to Vinkius to start running geometric checks immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your BIM element data to your AI agent.
3. Ask your agent to run a clash or clearance check using the MCP tools.
4. Review the specific penetration depths or clearance deficits reported by your agent.

## Frequently Asked Questions

**What is a hard clash in BIM?**
A hard clash occurs when two building elements physically intersect and occupy the same space.

**How does this MCP handle clearance violations?**
It checks the spatial distance between two elements to see if it falls below your predefined safety or maintenance buffers.

**Can I check many elements at once?**
Yes, you can use the batch clash detection tool to evaluate a collection of elements against clearance rules in one operation.

**How is conflict severity determined?**
The MCP categorizes the importance of a clash or violation based on its magnitude, such as penetration depth or clearance deficit.

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

**What is a hard clash?**
A hard clash is a physical intersection where two or more BIM elements occupy the same volume, which can be identified using `analyze_clash_geometry`.

**How do I check if a pipe is too close to a structural beam?**
You can use `check_clearance_violation` by providing the two elements and the required minimum distance to see if a violation occurs.

**Can I process multiple elements at once?**
Yes, the `batch_clash_detection` tool allows you to evaluate a collection of elements against a set of clearance rules in one pass.
