# Rockall Score Calculator AI Agent Connect

> Rockall Score Calculator MCP helps you stratify risk for patients with acute upper gastrointestinal bleeding. Your AI client uses this tool to compute Rockall scores using pre-endoscopic or full scoring versions, ensuring clinical data stays within realistic physiological bounds while providing accurate risk categories.

## Overview
- **Category:** healthcare
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_X0pdh6bS5NAhpMlTrEGNZ78XOuU94lEvUGJqRqN3/ai-agent-connect
- **Tags:** gi-bleeding, rockall-score, clinical-tools, risk-stratification, healthcare-ai

## Description

You can use this MCP to bring precise clinical risk stratification directly into your AI-driven workflows. When managing patients with acute upper gastrointestinal bleeding (UGIB), getting an accurate Rockall score is critical for predicting mortality and the likelihood of rebleeding. This MCP acts as a bridge between raw clinical data and actionable risk categories. Instead of manual calculations, your agent handles the math using both pre-endoscopic and full scoring methodologies. It also includes built-in validation to catch unrealistic physiological inputs, such as impossible ages or invalid diagnoses, before they affect your assessment. By connecting this to your preferred AI client, you get a reliable way to categorize patient risk levels instantly.

## Tools

### get_risk_category_mapping
It retrieves the specific threshold ranges used to define different risk categories.

### list_available_diagnoses
This tool provides a list of all valid clinical diagnostic terms accepted by the calculator.

### validate_clinical_inputs
It checks if your clinical data stays within realistic physiological bounds to prevent calculation errors.

### calculate_rockall_score
This tool computes the Rockall score and assigns a specific risk category based on patient data.

## Prompt Examples

**Prompt:** 
```
Calculate the Rockall score for a 65-year-old patient with shock, comorbidities, and a peptic ulcer diagnosis using the full version.
```

**Response:** 
```
The calculated Rockall score is 12, which falls into the High risk category.
```

**Prompt:** 
```
What is the Rockall score for a 40-year-old patient with no shock and no comorbidities using the pre-endoscopic version?
```

**Response:** 
```
The calculated Rockall score is 2, which falls into the Low risk category.
```

**Prompt:** 
```
Check if these inputs are valid: age 130, diagnosis 'unknown'.
```

**Response:** 
```
The inputs are invalid. Age must be between 0 and 120, and the diagnosis must be from the approved clinical list.
```

## Capabilities

### Risk Stratification
Your agent uses this to categorize patients into specific risk levels.

### Data Validation
The MCP checks clinical inputs against physiological limits to ensure accuracy.

### Dual Scoring Modes
It supports both pre-endoscopic and full Rockall scoring versions.

### Diagnostic Alignment
Your AI client can pull valid diagnostic terms to ensure data integrity.

## Use Cases

### Acute UGIB Assessment
A physician uses the MCP to determine if a patient needs intensive monitoring based on their Rockall score.

### Risk Stratification
An agent processes a batch of patient records to identify high-risk individuals for rebleeding.

### Clinical Data Cleaning
The tool validates that entered patient ages and diagnoses match approved clinical standards.

### Pre-endoscopic Triage
Medical staff use the pre-endoscopic version of the tool to estimate risk before endoscopy is performed.

## Benefits

- Reduces manual calculation errors by automating the Rockall scoring math.
- Prevents data entry mistakes through real-time physiological validation.
- Provides standardized risk categories for consistent patient management.

## How It Works

Connecting this MCP to your AI client allows for instant clinical risk calculations.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide patient clinical data to your agent.
3. The agent uses the MCP to validate the inputs and calculate the score.
4. The tool returns the Rockall score and the corresponding risk category.

## Frequently Asked Questions

**What is the Rockall score used for?**
It is used to assess the risk of mortality and rebleeding in patients with acute upper gastrointestinal bleeding.

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

**Does the MCP validate my clinical data?**
Yes, it includes a tool to verify that clinical inputs like age and diagnosis are within realistic physiological bounds.

**What versions of the Rockall score are available?**
The MCP supports both the pre-endoscopic version and the full scoring version.

**How do I ensure I am using the correct diagnostic terms?**
You can use the list_available_diagnoses tool to see the valid clinical terms accepted by the MCP.
