# eGFR Calculator MCP for AI Agents MCP

> The eGFR Calculator MCP estimates Glomerular Filtration Rate using clinically validated formulas for kidney function assessment. It processes patient metrics, providing the estimated GFR value through methods like CKD-EPI 2021 or MDRD. Critically, it goes beyond just a number by determining the KDIGO Chronic Kidney Disease (CKD) stage and suggesting specific medication dosage adjustments based on the resulting renal function.

## Overview
- **Category:** healthcare
- **Price:** Free
- **Tags:** egfr, ckd-epi, mdrd, kidney-function, nephrology, clinical-aid

## Description

Estimating kidney health requires more than just running one formula; you need context. This MCP handles that complexity automatically. You feed in basic patient metrics, like age, sex, and serum creatinine levels, and your AI client returns a full clinical picture of renal function. It doesn't stop at the raw eGFR number either. After calculating the rate, it immediately determines the specific KDIGO CKD stage (G1 through G5). Furthermore, it uses that staging to recommend appropriate medication dosage changes—a critical step in patient care. Connecting this MCP via Vinkius gives your AI agent instant access to multiple standards and clinical guidelines, letting you move from raw data input straight to actionable medical advice without manual cross-referencing or jumping between different reference tools.

## Tools

### calculate_ckdepi_2021
Calculates estimated GFR using the modern CKD-EPI 2021 formula, which does not include race adjustments.

### calculate_mdrd_formula
Estimates GFR by running calculations based on the traditional MDRD medical formula.

### get_clinical_classification
Determines the patient's KDIGO Chronic Kidney Disease stage (G1–G5) and suggests appropriate changes to medication dosing.

## Prompt Examples

**Prompt:** 
```
What's the CKD staging for a 55-year-old male with a creatinine of 1.4 mg/dL?
```

**Response:** 
```
**eGFR Assessment Report**

*   **CKD-EPI 2021:** 78 mL/min/1.73m²
*   **MDRD Formula:** 65 mL/min/1.73m²

**Clinical Classification (KDIGO):** Stage G2 (Mildly Decreased)

*Action:* Monitor closely. Dosage adjustments are generally not necessary at this rate, but follow-up bloodwork in three months is recommended.
```

**Prompt:** 
```
Run both eGFR calculations for a 72-year-old female with creatinine of 2.1 mg/dL.
```

**Response:** 
```
Here are the estimated GFR results:

| Formula | Estimated GFR (mL/min/1.73m²) |
| :--- | :--- |
| CKD-EPI 2021 | 45 |
| MDRD | 38 |

*Observation:* Both formulas suggest moderate renal impairment. The next step is to check the clinical guidelines for stage and dosing.
```

**Prompt:** 
```
If eGFR is 15, what's the KDIGO stage and drug advice?
```

**Response:** 
```
**KDIGO Stage Determination**

*   **Stage:** G4 (Severe Decrease)
*   **Clinical Interpretation:** Significant reduction in kidney function. Patient requires immediate attention.
*   **Medication Dosing Advice:** For drugs X, Y, or Z, reduce the standard dose by 50% and check for alternative agents.
```

## Capabilities

### Determine eGFR using modern CKD-EPI 2021 formula
Calculates the estimated Glomerular Filtration Rate (eGFR) using the current gold standard formula, eliminating race-based adjustments.

### Calculate eGFR using traditional MDRD method
Estimates GFR by running calculations based on the established MDRD medical formula.

### Classify CKD stage and dosage requirements
Assigns a specific KDIGO Chronic Kidney Disease stage (G1 to G5) and provides recommended adjustments for medication dosing based on the patient’s current kidney function.

## Use Cases

### Initial patient intake for CKD screening
A PCP enters a new patient's basic bloodwork. The agent uses the eGFR Calculator to run both `calculate_ckdepi_2021` and `calculate_mdrd_formula`. It then uses `get_clinical_classification` to determine if the patient is Stage G2, immediately flagging them for follow-up testing.

### Checking medication safety before prescription
A pharmacist needs to confirm dosing for a specific antibiotic. The agent first calculates eGFR using `calculate_ckdepi_2021` with the patient's current data, and then uses that result in `get_clinical_classification` to ensure the recommended dose is safe.

### Comparing multiple renal function metrics
A resident needs to compare a patient’s kidney status against historical records. The agent runs both eGFR calculations, allowing them to see how the rate has changed relative to previous measurements and determine if the KDIGO stage warrants an intervention.

## Benefits

- Avoids formula bias: By running both the modern CKD-EPI 2021 and traditional MDRD calculations, you get a comprehensive view of kidney function estimates.
- Direct clinical staging: The MCP doesn't just give a number; it uses the eGFR value to classify the patient into the official KDIGO stage (G1 through G5).
- Immediate dosing guidance: It provides specific medication dosage adjustment recommendations, saving time and improving safety during prescribing decisions.
- Saves manual comparison: You eliminate the need to cross-reference multiple clinical guidelines; one call generates both the rate and the staging advice.
- Reliability in diagnostics: The ability to compare results from different formulas helps confirm the most accurate assessment of renal impairment.

## How It Works

The bottom line is, you get an instant, multi-layered report that combines raw numerical data with immediate clinical interpretation for patient care.

1. Your AI client gathers necessary patient data, including age, sex, and serum creatinine levels.
2. It executes the eGFR calculation using either the CKD-EPI 2021 formula or the MDRD method to obtain a primary GFR value.
3. The system then takes that calculated eGFR value and runs it through clinical staging logic, returning both the KDIGO stage grade and specific medication dosage advice.

## Frequently Asked Questions

**How can I use the eGFR Calculator MCP to determine a patient's CKD stage?**
The eGFR Calculator handles this automatically. After calculating the rate using either formula, it assigns a specific KDIGO Stage (G1–G5). This helps you know if the condition is mild or requires urgent intervention.

**Do I need to use both formulas when assessing kidney function with eGFR Calculator?**
It's best practice to compare them. The MCP lets you run multiple calculations, allowing you to see discrepancies between the CKD-EPI 2021 and MDRD results for a more complete picture.

**What does the eGFR Calculator tell me about drug doses?**
It provides specific medication dosage adjustment recommendations based on the calculated stage. This is crucial because many drugs must have their dose lowered when kidney function declines to prevent toxicity.

**Is this MCP better than just using a standard online eGFR tool?**
Yes, because it's not limited to one formula or outcome. It compares multiple recognized standards and provides immediate clinical context—the staging and dosing advice—all in one place.

**How do I start using the eGFR Calculator MCP with my AI client?**
Simply provide your patient's core metrics, like age, sex, and serum creatinine. The agent will then handle all the complex calculations and classifications for you.