# Veterinary Acid-Base Analyzer AI Agent Connect

> Veterinary Acid-Base Analyzer MCP gives your AI client the mathematical tools needed for clinical pathology. It handles Henderson-Hasselbalch residuals, albumin-corrected anion gaps, and physiological compensation checks. Instead of manual math, your agent performs precise calculations and validates that all values stay within plausible veterinary ranges.

## Overview
- **Category:** mathematics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_nxh2CQ1Zh1lCHZ9q1TDxGaz4i5CpnTJR3ZJzp2lQ/ai-agent-connect
- **Tags:** veterinary, acid-base, pathology, electrolyte, clinical

## Description

You can stop manually calculating acid-base parameters during clinical reviews. This MCP provides your AI client with the specific mathematical logic required for veterinary pathology. When you feed patient lab results into your agent, it uses these tools to determine the Henderson-Hasselbalch residual and calculate both standard and albumin-corrected anion gaps. It also evaluates whether a patient's physiological response matches theoretical compensation rules. If you're worried about data entry errors, the MCP can check that all numeric values fall within expected veterinary ranges. It's a specialized math engine designed to turn raw electrolyte and blood gas data into actionable clinical insights through your preferred AI interface.

## Tools

### calculate_acid_base_parameters
This tool handles the core mathematical heavy lifting for acid-base parameters.

### calculate_anion_gap
Use this to determine standard and albumin-corrected anion gaps from electrolyte data.

### evaluate_compensation
This tool compares a patient's observed physiological response against theoretical compensation rules.

### validate_units
This tool checks that all provided numeric values fall within plausible veterinary ranges.

## Prompt Examples

**Prompt:** 
```
Calculate the acid-base parameters for pH 7.2, pCO2 45, and bicarbonate 15 using the standard model.
```

**Response:** 
```
The Henderson-Hasselbalch residual is 0.02 and the calculated base excess is -12.4.
```

**Prompt:** 
```
What is the corrected anion gap for sodium 140, chloride 100, bicarbonate 20, and albumin 3.5?
```

**Response:** 
```
The standard anion gap is 20 and the corrected anion gap is 21.5.
```

**Prompt:** 
```
Check if a patient with pH 7.3, pCO2 50, and bicarbonate 25 is compensated using metabolic_compensation rules.
```

**Response:** 
```
The patient is partially_compensated.
```

## Capabilities

### Acid-Base Math
Your agent calculates Henderson-Hasselbalch residuals and base excess.

### Anion Gap Analysis
Your agent determines standard and albumin-corrected anion gaps.

### Compensation Checking
Your agent evaluates if physiological responses match theoretical rules.

### Data Validation
The MCP verifies that lab values are within plausible veterinary ranges.

## Use Cases

### Emergency Acid-Base Assessment
Quickly calculate residuals and base excess for a patient in critical condition.

### Electrolyte Imbalance Review
Determine corrected anion gaps to better understand metabolic disturbances.

### Compensation Verification
Check if a patient's respiratory or metabolic response is appropriate for their pH levels.

### Lab Data Auditing
Use the validation tool to ensure entered lab values are physiologically possible.

## Benefits

- Reduces manual calculation errors in clinical pathology.
- Provides albumin-corrected anion gap math instantly.
- Validates lab values against physiological norms.
- Automates the evaluation of physiological compensation.

## How It Works

Connect the MCP to your AI client and start sending lab data for processing.

1. Connect your AI client to Vinkius.
2. Provide the MCP with raw veterinary lab values.
3. Your agent selects the appropriate math tool.
4. The MCP returns precise calculated parameters.

## Frequently Asked Questions

**What AI clients can I use with this MCP?**
You can use any MCP-compatible client, including Claude, Cursor, Windsurf, and VS Code.

**Does this MCP handle albumin corrections?**
Yes, it includes a tool specifically to calculate the corrected anion gap.

**Can it check for physiological errors?**
Yes, the validate_units tool checks if values fall within plausible veterinary ranges.

**How does it handle compensation?**
The evaluate_compensation tool compares observed responses against theoretical rules.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you.

**How do I check if a patient's compensation is appropriate?**
You can use the `evaluate_compensation` tool by providing the pH, pCO2, and bicarbonate levels along with the specific compensation rules.

**Does this tool account for albumin levels in the anion gap?**
Yes, the `calculate_anion_gap` tool includes an optional albumin parameter to provide a corrected anion gap calculation.

**Can I validate if blood gas values are within normal limits?**
Yes, the `validate_units` tool checks provided values against standard veterinary physiological ranges.
