# Lattice Energy Calculator AI Agent Connect

> Calculate lattice energy, enthalpy of formation, and thermodynamic stability of ionic compounds.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Z3adsRa9ASHZNoCapsUrcToCqJfoYktQI5ICyXKR/ai-agent-connect
- **Tags:** chemistry, thermodynamics, physics, ionic-compounds, lattice-energy

## Description

This MCP server provides specialized chemical physics tools to analyze ionic crystalline compounds. It allows for the precise calculation of lattice energy using the Born-Landé method or the simplified Kapustinskii equation. Users can estimate the standard enthalpy of formation and evaluate the thermodynamic stability of a compound based on its charge density and lattice energy. The server includes tools like `calculate_lattice_energy` for structural analysis, `estimate_enthalpy_of_formation` for thermodynamic modeling, and `evaluate_stability` for assessing compound existence.

## Tools

### calculate_lattice_energy
Calculates the lattice energy of an ionic compound using either a structural or a simplified approach

### estimate_enthalpy_of_formation
Estimates the standard enthalpy of formation for the ionic compound

### evaluate_stability
Provides a qualitative assessment of the compound's thermodynamic stability

### get_structural_constants
Retrieves the necessary geometric constants for a given crystal structure

## Prompt Examples

**Prompt:** 
```
Calculate the lattice energy for a rock-salt structure with a +1 cation and -1 anion, where the cation radius is 100 pm and the anion radius is 180 pm.
```

**Response:** 
```
The calculated lattice energy for the rock-salt structure is -675.42 kJ/mol.
```

**Prompt:** 
```
Estimate the enthalpy of formation if the lattice energy is -789.0 kJ/mol, the ionization energy sum is 496.0 kJ/mol, and the electron affinity sum is 348.0 kJ/mol.
```

**Response:** 
```
The estimated enthalpy of formation is 45.0 kJ/mol.
```

**Prompt:** 
```
Is a compound with a lattice energy of -800 kJ/mol and a charge density ratio of 0.5 stable?
```

**Response:** 
```
The compound is highly stable.
```

## Frequently Asked Questions

**What is the difference between the two calculation methods?**
The Born-Landé method uses specific structural constants like the Madelung constant via `calculate_lattice_energy`, while the Kapustinskii method provides an estimate using only ionic charges and radii.

**Can I determine if a compound is stable?**
Yes, you can use the `evaluate_stability` tool to receive a qualitative assessment of thermodynamic stability based on the calculated lattice energy and charge density.

**What units are used for ionic radii?**
Ionic radii should be provided in picometers (pm) when using the `calculate_lattice_energy` tool.
