# Abundance Curve of Growth AI Agent Connect

> Abundance Curve of Growth is a high-precision spectroscopy MCP. It lets your AI client interpolate within stellar atmosphere grids using equivalent width, oscillator strength, damping parameters, and microturbulence. You can quickly determine if a spectral line is in a linear or saturated regime and check how input uncertainties affect your final abundance results.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_pvHdIgUiR850tuln2xxHXj3l8de7FiQdvLLncE90/ai-agent-connect
- **Tags:** astrophysics, stellar, spectroscopy, abundance, interpolation

## Description

You can now perform complex stellar spectroscopy directly through your AI client. This MCP gives your agent the ability to interpolate stellar curves of growth to estimate chemical abundances. Instead of manually calculating parameters, you provide the equivalent width, oscillator strength, and damping data, and the MCP handles the interpolation within the stellar atmosphere grid. It is built for precision, allowing you to check if your measurements fall within valid grid bounds or if a specific line is sitting in a saturated regime. You can also map out how uncertainties in your input data, like microturbulence, propagate into your final abundance estimates. It turns your agent into a specialized tool for analyzing stellar spectra and diagnosing line regimes.

## Tools

### calculate_sensitivity_map
This tool generates a map showing how uncertainties in your input parameters propagate to the final abundance result.

### estimate_abundance
Use this to calculate the chemical abundance of an element based on measured absorption lines and specific stellar conditions.

### get_regime_diagnostics
This tool determines the physical state of a spectral line to check if the measurement is reliable.

### validate_grid_coverage
This tool checks if your chosen stellar parameters are well-represented within the existing interpolation grid.

## Prompt Examples

**Prompt:** 
```
Estimate the abundance for an equivalent width of 50 mÅ with an oscillator strength of 0.1, damping of 0.01, microturbulence of 2.0, and stellar parameters {"temp": 5777, "logg": 4.4, "feh": 0}.
```

**Response:** 
```
The estimated abundance is -0.05 dex, and the line is currently in the linear regime.
```

**Prompt:** 
```
Is a line with EW 200 mÅ, f=0.05, damping=0.05, and microturbulence=1.5 reliable?
```

**Response:** 
```
No, the line is in the saturated regime with a saturation degree of 0.85, making the abundance determination less precise.
```

**Prompt:** 
```
How sensitive is the abundance to changes in microturbulence for this measurement?
```

**Response:** 
```
The sensitivity to microturbulence is 0.012 dex per km/s, indicating a low impact on the final abundance calculation.
```

## Capabilities

### Chemical Abundance Estimation
Your agent calculates element concentrations using absorption line data and stellar atmosphere grids.

### Line Regime Diagnosis
The MCP identifies if a spectral line is in the linear, saturated, or damping regime.

### Uncertainty Propagation
Your agent uses sensitivity maps to see how input errors affect the final abundance.

### Grid Validation
The tool verifies that your stellar parameters stay within the bounds of the interpolation grid.

## Use Cases

### Abundance Determination
Calculate the concentration of specific elements in a star using measured absorption lines.

### Reliability Checking
Determine if a spectral line is in the linear regime before trusting the abundance result.

### Error Analysis
Generate sensitivity maps to understand how microturbulence affects your data.

### Grid Verification
Ensure your stellar parameters are valid for the interpolation model being used.

## Benefits

- Automates interpolation within stellar atmosphere grids.
- Identifies unreliable measurements in saturated regimes.
- Quantifies how input uncertainties impact final results.
- Validates that parameters remain within supported grid bounds.

## How It Works

Connect your client to Vinkius and start running spectroscopy tools immediately.

1. Connect your AI client to the Vinkius hosted MCP.
2. Provide the spectral data and stellar parameters to your agent.
3. Your agent invokes the necessary tools to interpolate or diagnose.
4. Receive precise abundance estimates or regime diagnostics in your chat interface.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates chemical abundances by interpolating stellar curves of growth using parameters like equivalent width and microturbulence.

**How does it handle measurement reliability?**
The get_regime_diagnostics tool checks if a line is in the linear, saturated, or damping regime to help you decide if a measurement is reliable.

**Can I check for errors in my input parameters?**
Yes, you can use validate_grid_coverage to ensure your stellar parameters are within the valid bounds of the interpolation grid.

**Does it support uncertainty analysis?**
Yes, the calculate_sensitivity_map tool shows how input uncertainties propagate to the final abundance result.

**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 the purpose of the `estimate_abundance` tool?**
The `estimate_abundance` tool calculates the chemical abundance of an element by interpolating the Curve of Growth based on the provided equivalent width, oscillator strength, and stellar atmosphere parameters.

**How can I check if my stellar parameters are valid?**
You can use the `validate_grid_coverage` tool to verify if your specific temperature, gravity, and metallicity coordinates fall within the supported interpolation grid.

**Can I determine if a spectral line is saturated?**
Yes, the `get_regime_diagnostics` tool identifies whether a line is in the linear, saturated, or damping regime and provides a reliability score.
