# Beer-Lambert Law Calculator AI Agent Connect

> Calculate absorbance, concentration, molar absorptivity, and detection limits for spectroscopy.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_VL8acJicawa5LojUpfXIhLo2Kpuwq86oKCrj6rMU/ai-agent-connect
- **Tags:** spectroscopy, chemistry, physics, lab-tools, math

## Description

This MCP server provides specialized tools for spectroscopy calculations based on the Beer-Lambert Law. It allows AI agents to determine absorbance, calculate unknown concentrations, find molar absorptivity, and estimate theoretical detection limits (LOD/LOQ). The server includes logic to identify non-linear deviations at high concentrations using `calculate_absorbance` and `calculate_concentration`.

## Tools

### calculate_absorbance
Determines the absorbance value when the concentration, molar absorptivity, and path length are known

### calculate_concentration
Determines the concentration of an unknown solution based on measured absorbance

### calculate_molar_absorptivity
Determines the molar absorptivity of a substance when concentration and absorbance are known

### estimate_detection_limits
Provides the theoretical limits of detection based on instrument sensitivity

## Prompt Examples

**Prompt:** 
```
What is the absorbance if the concentration is 0.05 M, molar absorptivity is 1500 L/(mol·cm), and path length is 1 cm?
```

**Response:** 
```
The absorbance is 75.0.
```

**Prompt:** 
```
Calculate the concentration for an absorbance of 0.4, molar absorptivity of 200, and path length of 2 cm.
```

**Response:** 
```
The concentration is 0.001 M.
```

**Prompt:** 
```
What are the detection limits for a substance with molar absorptivity of 500, path length of 1 cm, and instrument noise of 0.001?
```

**Response:** 
```
The Limit of Detection (LOD) is 0.000002 M and the Limit of Quantitation (LOQ) is 0.000006 M.
```

## Frequently Asked Questions

**What can this tool calculate?**
It can calculate absorbance, solution concentration, molar absorptivity, and the theoretical limits of detection (LOD) and quantification (LOQ).

**Does it account for concentration deviations?**
Yes, the `calculate_absorbance` and `calculate_concentration` tools include logic to flag when results may be inaccurate due to high-concentration deviations from the linear Beer-Lambert relationship.

**How do I connect this to my AI client?**
You can connect this server to Cursor, VS Code, Claude Desktop, or Windsurf using your personal Connection Token from the Vinkius dashboard via Vinkius Edge.
