# Acoustic Depth & Range Calculator AI Agent Connect

> Acoustic Depth & Range Calculator MCP gives your AI agent the ability to perform precise maritime and subsea acoustic modeling. It handles complex calculations involving sound speed profiles, transducer offsets, and curved ray paths to determine vertical depth and horizontal range in underwater environments.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_gMvtoZEnZjTf6oQgRZY1UfIHKwTXAIPqFRO5VF2Q/ai-agent-connect
- **Tags:** acoustics, bathymetry, sonar, oceanography, subsea

## Description

This MCP is built for maritime and subsea engineering tasks that require high-precision acoustic modeling. Instead of manually calculating how sound travels through different water layers, you can hand the sound speed profile and travel time data to your AI client. It handles the math for stratified water columns, accounting for the way sound bends as it moves through varying densities. 

You can use it to find vertical water depth by factoring in transducer offsets or to determine how far an acoustic signal can reach horizontally. It also provides a way to check if your sound speed profile is physically realistic before you run your main calculations. If you need to understand exactly how a signal is behaving, you can get a breakdown of the time and distance spent in each specific layer of the water column. It turns your agent into a specialized tool for bathymetry and sonar analysis.

## Tools

### analyze_ray_path
This tool provides a detailed breakdown of how an acoustic signal travels through different water layers. It shows exactly how much time and distance the signal spends in each specific layer.

### calculate_acoustic_range
This tool calculates the horizontal distance to an acoustic target. It models the curved ray path based on your provided sound speed profile.

### calculate_depth_from_time
This tool determines vertical water depth using measured travel times. It accounts for transducer offsets and the specific sound speed profile provided.

### validate_profile_consistency
This tool checks your sound speed profile for physical plausibility. It ensures the profile is sufficient for the depth-related calculations you intend to run.

## Prompt Examples

**Prompt:** 
```
Calculate the water depth for a two-way travel time of 0.5 seconds with a transducer offset of 2 meters and this profile: [{"depth": 0, "speed": 1500}, {"depth": 100, "speed": 1510}]
```

**Response:** 
```
The corrected water depth is 37.42 meters with a timing residual of 0.001 seconds.
```

**Prompt:** 
```
What is the horizontal range for a 1.2 second one-way travel time using this profile: [{"depth": 0, "speed": 1480}, {"depth": 500, "speed": 1500}] and a vertical separation of 10 meters?
```

**Response:** 
```
The horizontal range is 892.45 meters with a total path length of 893.12 meters.
```

**Prompt:** 
```
Provide a layer breakdown for a 0.8 second travel time through this profile: [{"depth": 0, "speed": 1500}, {"depth": 50, "speed": 1505}, {"depth": 100, "speed": 1510}]
```

**Response:** 
```
The signal spent 0.32 seconds in the first layer (0-50m) and 0.48 seconds in the second layer (50-100m).
```

## Capabilities

### Vertical Depth Modeling
Your agent calculates water depth by processing travel times against sound speed profiles.

### Horizontal Range Estimation
The AI models curved ray paths to find the distance to acoustic targets.

### Layered Path Analysis
Your agent breaks down signal travel time and distance for each water layer.

### Profile Validation
Your agent checks if sound speed profiles are physically consistent for the target depth.

## Use Cases

### Bathymetric Surveys
Use your agent to convert acoustic travel times into accurate seabed depth measurements.

### Sonar Range Verification
Calculate the horizontal distance to a target by modeling the curved path of the acoustic signal.

### Acoustic Environment Modeling
Analyze how different water layers affect signal travel time and distance.

### Equipment Calibration
Apply transducer offsets to travel time data to get corrected depth readings.

## Benefits

- Accounts for transducer offsets in depth calculations.
- Models curved ray paths instead of assuming straight lines.
- Validates sound speed profiles before running complex models.
- Provides granular data on signal behavior across water layers.

## How It Works

Connect your AI client to Vinkius to start running acoustic models immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your sound speed profile and travel time data to your agent.
3. Your agent selects the appropriate tool for depth, range, or path analysis.
4. The MCP executes the calculation using ray tracing or profile validation.
5. Your agent receives the precise results to use in your engineering reports.

## Frequently Asked Questions

**How does this MCP handle curved sound paths?**
The calculate_acoustic_range tool uses ray tracing to model the curved path of the signal through the water column.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client like Claude, Cursor, or Windsurf.

**Does it account for transducer offsets?**
Yes, the calculate_depth_from_time tool specifically allows for transducer offsets to ensure accurate vertical depth results.

**What if my sound speed profile is incorrect?**
You can use the validate_profile_consistency tool to check if your profile is physically plausible before you perform calculations.

**Can I see how much time a signal spends in a specific layer?**
Yes, the analyze_ray_path tool provides a detailed breakdown of time and distance for each water layer.

**How does the tool handle sound speed variations?**
The tool uses the provided sound speed profile to model how sound refracts through different water layers, ensuring accurate depth and range calculations.

**Can I use this for two-way travel time measurements?**
Yes, all calculation tools include an `isTwoWay` parameter to distinguish between single-trip propagation and round-trip echo measurements.

**What happens if my sound speed profile is invalid?**
You can use `validate_profile_consistency` to check if your profile is physically plausible and reaches the necessary depth before performing main calculations.
