# QT Dispersion Calculator AI Agent Connect

> QT Dispersion Calculator MCP handles the heavy lifting of ECG analysis by calculating QT dispersion across multiple leads. It supports standard clinical correction methods like Bazett and Fridericia, filters measurements based on signal quality, and identifies missing or unreliable leads. You can connect it to your AI client once and start running clinical calculations immediately.

## Overview
- **Category:** medical
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_GK2oThyFgWkZGSKU0Sk2e3f1uZTZArFVrYE70YXk/ai-agent-connect
- **Tags:** ecg, qt-interval, cardiology, clinical-calculator, dispersion

## Description

This MCP gives your AI agent the ability to perform specialized cardiology calculations. Instead of manually checking intervals, you can feed lead measurements directly to your client and get immediate dispersion results. It handles the math for various correction formulas, including Bazett, Fridericia, and Framingham. You can also use it to clean up your data by checking if specific leads meet your quality thresholds or if any standard leads are missing from a dataset. It's built to ensure the measurements you're analyzing are actually reliable before you run the final dispersion math.

## Tools

### audit_lead_presence
This tool checks your dataset for missing or unusable leads from a standard ECG set.

### calculate_qt_dispersion
This tool performs the primary QT dispersion calculation using your lead measurements and chosen configuration.

### get_correction_factor_reference
This tool provides a list of the standard correction methods available for your calculations.

### validate_lead_quality
This tool checks if a specific lead measurement meets your required reliability threshold.

## Prompt Examples

**Prompt:** 
```
Calculate the QT dispersion for these leads: V1: 400ms (excellent), V2: 410ms (good), V3: 390ms (fair). Use Bazett correction with a heart rate of 70 bpm.
```

**Response:** 
```
The QT dispersion is 20 ms based on the provided measurements and Bazett correction.
```

**Prompt:** 
```
What are the available correction methods for QT intervals?
```

**Response:** 
```
The supported correction methods are bazett, fridericia, and framingham.
```

**Prompt:** 
```
Is a lead with 'fair' quality acceptable if my threshold is 'good'?
```

**Response:** 
```
No, a 'fair' quality flag does not meet a 'good' quality threshold.
```

## Capabilities

### Dispersion Calculation
Your agent uses this to compute variability across ECG leads.

### Correction Method Support
The MCP applies Bazett, Fridericia, or Framingham formulas to your data.

### Lead Quality Validation
Your client checks if individual lead signals are reliable enough for analysis.

### Dataset Auditing
The tool identifies which standard leads are missing from your current ECG set.

## Use Cases

### Clinical Dispersion Analysis
Calculate QT dispersion for a patient by providing lead measurements and a heart rate.

### Data Integrity Checks
Verify that all necessary leads are present before starting a full analysis.

### Quality Control
Check if specific lead measurements meet a 'good' or 'excellent' quality threshold.

### Formula Comparison
Reference available correction methods to ensure the right formula is applied to your data.

## Benefits

- Automates complex QT interval correction math.
- Filters out unreliable lead data based on quality thresholds.
- Identifies missing leads in standard ECG sets automatically.
- Supports multiple clinical correction formulas in one place.

## How It Works

You connect the MCP to your client and then provide the ECG data through your natural language interface.

1. Connect the MCP to Claude, Cursor, or Windsurf via Vinkius.
2. Provide lead measurements and preferred correction method to your AI client.
3. The AI uses the MCP tools to validate lead quality and presence.
4. The MCP executes the dispersion calculation using the provided parameters.
5. Your AI client delivers the final dispersion result to you.

## Frequently Asked Questions

**What correction methods does this MCP support?**
The MCP supports Bazett, Fridericia, and Framingham correction methods.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client like Claude, Cursor, or Windsurf.

**How does the tool handle poor quality leads?**
You can use the validate_lead_quality tool to check if a lead meets your specific reliability threshold before calculating dispersion.

**Does it check for missing ECG leads?**
Yes, the audit_lead_presence tool identifies which leads from a standard set are missing or unusable.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use immediately after connection.

**What is QT dispersion?**
QT dispersion is the difference between the maximum and minimum QT intervals measured across different ECG leads, representing interval variability.

**Which correction methods are supported?**
You can use `get_correction_factor_reference` to see the full list, but common methods include Bazett, Fridericia, and Framingham.

**How does the tool handle low-quality leads?**
The `calculate_qt_dispersion` tool uses a `minimumQualityThreshold` to exclude leads that do not meet the required signal reliability.
