# Depth of Field Calculator MCP for AI Agents AI Agent Connect

> Depth of Field Calculator MCP calculates precise depth of field, hyperfocal distance, and blur limits for any camera sensor. It helps photographers get exact focus boundaries for specific lenses and cameras without doing manual math.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_LMubjbO7g6Znoz6kYk6qZx9CD2ypOzmh4VpQrqwz/ai-agent-connect
- **Tags:** photography, lens, aperture, focus, optics

## Description

This Depth of Field Calculator MCP provides the optical math you need to nail your focus without guessing. Instead of squinting at a manual or doing complex mental math, you can ask your agent to figure out exactly where your focus will fall. It handles the heavy lifting of sensor-specific data, like crop factors and Circle of Confusion limits, so you don't have to look them up in a spreadsheet. When you're planning a shot, you can get the near and far limits for a specific aperture or find the perfect hyperfocal distance for a landscape setup. It takes the guesswork out of optical physics. Because it's part of the Vinkius catalog, you can plug it into your existing AI setup and have a dedicated optics expert ready to help you plan your next shoot. You can use it to verify if your foreground will be sharp enough or if you'll need to stop down your lens further to achieve a specific look. It turns complex physics into actionable numbers for your next project. It works across different camera brands and lens types, ensuring your focus is always where it needs to be. You can quickly switch between units to match your preferred workflow, whether you're working in inches or meters.

## Tools

### lookup_camera
Get specific sensor data like crop factor and CoC limits for a camera model. Use this to pull the correct data for your specific camera body instantly.

### calculate_dof_metrics
Calculate near and far focus limits and hyperfocal distance for specific lens settings. Use this to see exactly how different apertures affect your focus range.

### convert_units
Convert measurements between different units like millimeters and meters. Use this to keep your measurements in the format you prefer for your workflow.

## Prompt Examples

**Prompt:** 
```
What's the depth of field for a 35mm lens at f/4 on a Sony A7III at 3 meters?
```

**Response:** 
```
For a Sony A7III (Full Frame) setup, here are your focus boundaries:

| Metric | Value |
| :--- | :--- |
| **Near Limit** | 2.35m |
| **Far Limit** | 3.72m |
| **Total Depth of Field** | 1.37m |

Your focus will be sharp from approximately 2.35 meters to 3.72 meters away.
```

**Prompt:** 
```
Find the hyperfocal distance for an 85mm lens at f/1.8 on a Canon R7.
```

**Response:** 
```
Based on the Canon R7 sensor and an 85mm lens at f/1.8, your **hyperfocal distance** is approximately **12.45 meters**.

This is the point where everything beyond this distance will be acceptably sharp.
```

**Prompt:** 
```
Convert 50mm to meters.
```

**Response:** 
```
50mm is equal to **0.05 meters**.
```

## Capabilities

### Pull sensor data
This tool pulls specific camera properties like crop factors and Circle of Confusion limits.

### Compute focus limits
This tool calculates near and far depth of field boundaries for your specific settings.

### Find hyperfocal distances
This tool determines the point of maximum focus for various lens and aperture combinations.

### Swap measurement units
This tool converts measurements between different units like millimeters, meters, and inches.

### Analyze lens behavior
This tool shows how different apertures affect your focus range and blur.

## Use Cases

### Landscape planning
A photographer wants to know the hyperfocal distance for an 16mm lens at f/11 to keep a mountain range sharp. They ask their agent to run the calculation.

### Product photography
A studio pro needs to know the blur limit for an 85mm lens at f/1.8 to isolate a watch. They use the Connector to get the exact near and far limits.

### Gear comparison
A reviewer wants to see how a full-frame vs. APS-C sensor changes the depth of field for the same lens. The agent pulls the data for both bodies.

### Unit conversion
A user has a distance in millimeters but needs the focus limits in meters for a specific calculation. They ask the agent to convert the final metrics.

## Benefits

- Stop guessing focus: Use `calculate_dof_metrics` to see exactly where your focus starts and ends for any given aperture.
- Save time on research: Use `lookup_camera` to instantly pull sensor data without searching through thick manufacturer manuals.
- Plan landscapes better: Get accurate hyperfocal distances to keep everything from the foreground to the horizon sharp.
- Handle any sensor: The Connector accounts for different crop factors automatically based on the camera body you specify.
- Stay consistent: Use `convert_units` to keep your measurements in the format you prefer, whether you work in meters or inches.

## How It Works

The bottom line is you get precise optical data for any camera setup in seconds.

1. Tell your agent which camera model and lens you're using for your shot.
2. Provide your current settings like aperture, focal length, and distance.
3. Get a breakdown of your focus limits and hyperfocal points in your preferred units.

## Frequently Asked Questions

**Can the Depth of Field Calculator MCP help with landscape photography?**
Yes, it calculates hyperfocal distances for different lenses and apertures. This helps you know exactly where to focus so that your foreground and background stay sharp.

**Does Depth of Field Calculator MCP support different camera sensors?**
Yes, it looks up specific crop factors and Circle of Confusion limits for various camera bodies. This ensures the math is accurate for your specific gear.

**How does Depth of Field Calculator MCP handle different apertures?**
It computes near and far focus limits based on the f-stop you provide. You can see exactly how stopping down your lens changes your focus range.

**Can I use Depth of Field Calculator MCP to check blur limits?**
Yes, it provides the exact boundaries of your focus area. You can use this to verify if a specific object will be in focus or fall into the blur zone.

**Does Depth of Field Calculator MCP support unit conversions?**
Yes, it can switch between millimeters, meters, and inches. You can get your results in the format that best fits your workflow.

**How do I find the correct Circle of Confusion (CoC) for my camera?**
Use the `lookup_camera` tool with your specific camera model name to retrieve the precise CoC limit and crop factor from our database.

**Can I calculate depth of field for macro photography?**
Yes. By providing a small `subjectDistance` and the appropriate `cocLimit` via `calculate_dof_metrics`, you can determine the extremely shallow depth of field typical in macro work.

**What units are used for the results?**
The `calculate_dof_metrics` tool provides results in meters, feet, and inches. You can also use `convert_units` to transform any measurement between mm, cm, m, km, inch, or ft.