# Equilibrium Constant Calculator AI Agent Connect

> Compute Kc, Kp, reaction quotients, and equilibrium concentrations.

## Overview
- **Category:** education
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_st62y8ehXNi1HoAaSH7qfIwOBxTzgL46pxgvobL8/ai-agent-connect
- **Tags:** chemistry, equilibrium, thermodynamics, stoichiometry, science

## Description

A specialized computational engine for chemical equilibrium. This MCP server provides tools to calculate the equilibrium constant (Kc or Kp), determine the reaction quotient (Q) to predict reaction direction, and solve for final species concentrations given initial conditions. It handles gaseous and aqueous species, accounting for phase behavior and temperature dependence via `convert_kc_to_kp`.

## Tools

### convert_kc_to_kp
Relates the concentration-based constant Kc to the pressure-based constant Kp

### calculate_kc
Calculates the equilibrium constant Kc based on known equilibrium concentrations

### calculate_kp
Calculates the equilibrium constant Kp based on known equilibrium partial pressures

### calculate_reaction_quotient
Determines the current state of a reaction relative to its equilibrium

### solve_equilibrium_concentrations
Predicts the final concentrations of all species given initial amounts and the equilibrium constant

## Prompt Examples

**Prompt:** 
```
Calculate the Kc for a reaction where products have concentrations of 0.5 and 0.2 with coefficients 1 and 2, and reactants have 0.1 and 0.3 with coefficients 1 and 1.
```

**Response:** 
```
The equilibrium constant Kc is 16.67.
```

**Prompt:** 
```
What is the reaction quotient Q if the current concentrations are 0.1 for reactants and 0.05 for products, with K equal to 2.0?
```

**Response:** 
```
The reaction quotient Q is 0.5, which is less than K, so the reaction will proceed in the forward direction.
```

**Prompt:** 
```
Convert Kc = 1.5 to Kp at 298K where deltaN is 1.
```

**Response:** 
```
The equilibrium constant Kp is 14.84.
```

## Frequently Asked Questions

**How do I calculate the reaction direction?**
Use the `calculate_reaction_quotient` tool. By providing the current species states and the equilibrium constant, the tool determines if the reaction is in equilibrium, moving forward, or moving in reverse.

**Can I convert Kc to Kp?**
Yes, you can use the `convert_kc_to_kp` tool by providing the Kc value, the temperature in Kelvin, and the change in moles of gas (delta N).

**How do I find final concentrations?**
Use the `solve_equilibrium_concentrations` tool. Input the initial amounts, the stoichiometric roles, and the equilibrium constant to predict the final concentrations or pressures.
