# APRI Score Calculator MCP. AI Agent Connect

> APRI Score Calculator MCP provides your AI client with the mathematical tools needed to compute the Aspartate Aminotransferase to Platelet Ratio Index. It handles unit conversions, validates lab inputs for physiological plausibility, and tracks score trends over time to help you monitor liver fibrosis progression using standard clinical data.

## Overview
- **Category:** healthcare
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_xkO0YV3wtFwbyCPb3wrCg3I9kt73I84fWUH9Ei22/ai-agent-connect
- **Tags:** liver, ast, platelets, fibrosis, clinical-calculation

## Description

You can use this MCP to bridge the gap between raw laboratory data and actionable clinical insights. Instead of manually calculating indices, you let your AI agent handle the math. It uses AST and platelet counts to determine the APRI score, which serves as a non-invasive way to estimate liver fibrosis. 

Your agent doesn't just run numbers; it ensures the data makes sense. It checks that your AST and platelet values fall within realistic physiological ranges before performing any math. If your data comes in different units, the MCP standardizes them automatically. You can also feed historical lab results into your agent to see how a patient's score has changed over multiple visits. This makes it a precise tool for monitoring disease progression or response to treatment without needing to switch between different calculators or spreadsheets.

## Tools

### calculate_apri_score
This tool computes the current APRI score using a single set of laboratory inputs.

### convert_measurement_units
This tool standardizes AST and Platelet measurements to a common base unit for consistent results.

### get_apri_trend
This tool calculates how the APRI score has progressed across a series of historical laboratory visits.

### validate_lab_inputs
This tool checks if the provided laboratory values are within physiologically plausible ranges.

## Prompt Examples

**Prompt:** 
```
Calculate the APRI score for an AST of 80 U/L, an AST upper limit of 40 U/L, and a platelet count of 150,000.
```

**Response:** 
```
The calculated APRI score is 1.25.
```

**Prompt:** 
```
Check if an AST value of 500 is a plausible input.
```

**Response:** 
```
The input is valid and within physiologically plausible ranges.
```

**Prompt:** 
```
What is the trend if my previous scores were 0.5, 0.7, and my current score is 1.1?
```

**Response:** 
```
The trend is increasing, with a total change of 0.6.
```

## Capabilities

### Clinical Math
Your agent performs the specific APRI formula calculations automatically.

### Data Validation
The MCP checks lab values to ensure they are physiologically realistic.

### Unit Standardization
It converts different measurement units into a common base for accurate math.

### Trend Analysis
Your agent tracks score changes across multiple historical data points.

## Use Cases

### Fibrosis Monitoring
Your agent calculates scores from new lab results to check for changes in liver health.

### Data Cleaning
The MCP standardizes different measurement units before you run a large batch of calculations.

### Clinical Decision Support
You provide lab values to the agent to get a quick APRI score for immediate review.

### Historical Analysis
The agent compares current scores against past visits to identify upward or downward trends.

## Benefits

- Eliminates manual calculation errors by automating the APRI formula.
- Prevents errors by validating that lab inputs are physiologically plausible.
- Standardizes disparate lab units into a single format for calculation.
- Provides longitudinal views of patient health through trend analysis.

## How It Works

Connect the MCP to your AI client to start processing clinical data immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your lab data, such as AST and platelet counts, to your AI agent.
3. The agent uses the MCP to validate, convert, or calculate the scores.
4. The agent returns the final APRI score or trend analysis to you.

## Frequently Asked Questions

**What is the APRI score used for?**
The APRI score is a non-invasive clinical calculation used to estimate the presence of liver fibrosis.

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

**How does the MCP handle different lab units?**
The MCP includes a tool to convert measurement units, ensuring all AST and platelet data is standardized before calculation.

**Can I track how a patient's score changes over time?**
Yes, the MCP has a specific tool to calculate the progression of APRI scores across a series of historical lab visits.

**Does the MCP check if my lab data is realistic?**
Yes, it includes a validation tool that checks if provided lab values are within physiologically plausible ranges.

**Does this tool provide medical diagnoses?**
No. This tool is a mathematical calculator that provides a numerical index based on provided inputs. It does not interpret scores or provide clinical diagnoses.

**How can I track changes in my APRI score over time?**
You can use the `get_apri_trend` tool by providing a series of historical laboratory records and your most recent score.

**What inputs are required for the calculation?**
To use `calculate_apri_score`, you need the patient's AST value, the upper limit of the normal reference range for AST, the platelet count, the units used, and the formula version.
