# PESI Score Calculator AI Agent Connect

> PESI Score Calculator is a clinical tool that lets your AI client calculate the Pulmonary Embolism Severity Index. It processes patient data like age, sex, and vital signs to determine risk classes. You can use it to validate if you have enough clinical data before running a calculation or to check different scoring protocols.

## Overview
- **Category:** healthcare
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_DerQayBqmqWM0AonsrkWvZeppNd6r3w7GeHJZTw0/ai-agent-connect
- **Tags:** pesi, pulmonary-embolism, medical-scoring, risk-stratification, clinical-tools

## Description

This MCP gives your AI agent the ability to perform Pulmonary Embolism Severity Index (PESI) calculations. Instead of manually checking charts, you can feed patient parameters directly to your agent to get an immediate risk stratification. It handles the math for total scores and maps them to specific risk classes based on the protocol you choose. You can use it to verify that a patient's record contains all the necessary clinical markers before attempting a calculation. It also allows you to pull different scoring versions or check the specific point thresholds used for risk classification. It's a precise way to bring standardized medical scoring into your AI-driven clinical workflows.

## Tools

### calculate_pesi_score
This tool computes the total PESI score and assigns the corresponding risk class.

### get_risk_thresholds
This tool returns the specific point thresholds used to define risk classes for a selected version.

### get_scoring_versions
This tool provides a list of all available PESI scoring protocols.

### validate_input_completeness
This tool checks if the provided patient data is sufficient to perform a full calculation.

## Prompt Examples

**Prompt:** 
```
Calculate the PESI score for a 75-year-old male with malignancy, heart failure, and a heart rate of 110 bpm using the standard version.
```

**Response:** 
```
The total PESI score is 4, which falls into the High Risk category.
```

**Prompt:** 
```
What are the available scoring versions?
```

**Response:** 
```
The available scoring versions are: 'standard_v1', 'clinical_v2'.
```

**Prompt:** 
```
Check if I have enough information to calculate a score using 'standard_v1' if I only have age, sex, and malignancy.
```

**Response:** 
```
No, the input is incomplete. Missing parameters: 'hasCongestiveHeartFailure', 'hasPulmonaryDisease', 'hasHeartDisease', 'hasPulmonaryEmbolism'.
```

## Capabilities

### Risk Stratification
Your agent uses this to map total scores to specific risk categories.

### Data Validation
The agent checks for missing clinical parameters before attempting a score.

### Protocol Selection
Your agent can switch between different available PESI scoring versions.

### Threshold Retrieval
The agent pulls the exact point requirements for risk classes.

## Use Cases

### Emergency Risk Assessment
An agent processes rapid patient intake data to identify high-risk pulmonary embolism cases.

### Clinical Data Auditing
A user checks if a set of patient records contains all required fields for PESI scoring.

### Standardized Protocol Management
A researcher switches between scoring versions to compare risk stratification results.

### Decision Support
A clinician uses the score to help decide on patient disposition or treatment intensity.

## Benefits

- Reduces manual calculation errors by automating the PESI math.
- Ensures data integrity by checking for missing clinical inputs.
- Provides access to multiple scoring versions through a single interface.

## How It Works

Connecting this MCP to your AI client gives you immediate access to clinical scoring tools.

1. Connect your AI client to Vinkius.
2. Provide patient clinical data to your agent.
3. The agent validates the data completeness.
4. The agent runs the calculation using the chosen scoring version.
5. The agent returns the total score and risk class.

## Frequently Asked Questions

**What is the PESI score?**
The Pulmonary Embolism Severity Index (PESI) is a clinical tool used to estimate the risk of mortality in patients with pulmonary embolism.

**Can I use this with Claude or Cursor?**
Yes, this MCP is compatible with any MCP-compatible client including Claude, Cursor, and Windsurf.

**How does the MCP handle missing patient data?**
You can use the validation tool to check if the provided data is sufficient before you attempt to calculate a score.

**Does it support different scoring versions?**
Yes, you can retrieve a list of available scoring versions and use them for your calculations.

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

**How do I know which scoring version to use?**
You can call the `get_scoring_versions` tool to retrieve a list of all valid scoring identifiers available in the system.

**Can this tool provide a medical diagnosis?**
No. This tool is designed to calculate a score and provide risk stratification based on provided parameters. It does not provide medical diagnoses or treatment recommendations.
