# ASL Cerebral Blood Flow Calculator AI Agent Connect

> ASL Cerebral Blood Flow Calculator MCP provides a high-precision mathematical engine for computing Cerebral Blood Flow (CBF) from Arterial Spin Labeling (ASL) MRI data. It bridges the gap between raw MRI signal measurements and actual physiological perfusion values, allowing your AI agent to handle complex neuroimaging calculations directly.

## Overview
- **Category:** mathematics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_8mnn6oHMYRXtLtARViNLwIpZfVvHJoDldsxWxFXI/ai-agent-connect
- **Tags:** mri, asl, perfusion, neuroimaging, cbf

## Description

This MCP handles the heavy lifting of converting raw Arterial Spin Labeling (ASL) MRI signals into meaningful Cerebral Blood Flow (CBF) measurements. Instead of manually calculating perfusion, you can give your raw signal data to your AI client and let it manage the math. It accounts for critical variables like blood-tissue partition coefficients, labeling efficiency, and longitudinal relaxation (T1) constants. You can use it to validate if your physiological timing parameters make sense or to aggregate individual voxel data into specific regions of interest. It effectively turns your AI agent into a specialized neuroimaging math engine that understands the relationship between MRI signal differences and actual blood flow.

## Tools

### calculate_cbf_from_difference
This tool performs the primary conversion from raw signal differences into standardized Cerebral Blood Flow values.

### convert_flow_units
Use this to change a calculated CBF value from one unit of measurement to another.

### summarize_voxel_region
This tool aggregates individual voxel calculations into a single summary for a specific region of interest.

### validate_asl_parameters
This tool checks if your provided physiological and timing parameters fall within clinically acceptable or physically possible ranges.

## Prompt Examples

**Prompt:** 
```
Calculate the CBF using a signal difference of 0.05, labeling efficiency of 0.6, partition coefficient of 0.9, PLD of 2.0s, duration of 1.5s, blood T1 of 1.6s, tissue T1 of 1.0s, blood magnetization of 1.0, using standard_single_delay in ml_100g_min.
```

**Response:** 
```
The calculated Cerebral Blood Flow is 52.4 ml/100g/min.
```

**Prompt:** 
```
Are these ASL parameters plausible: PLD 2.0s, duration 1.5s, blood T1 1.6s, tissue T1 1.0s?
```

**Response:** 
```
Yes, the parameters are physiologically plausible.
```

**Prompt:** 
```
Summarize these flow values: [45.2, 48.5, 44.1, 46.8] with voxel metadata: '[{"id":1,"loc":[0,0,0]},{"id":2,"loc":[0,0,1]},{"id":3,"loc":[0,1,0]},{"id":4,"loc":[1,0,0]}]'.
```

**Response:** 
```
The mean flow for the region is 46.15 ml/100g/min with a standard deviation of 1.82.
```

## Capabilities

### Signal Conversion
Your agent converts raw MRI signal differences into standardized perfusion values.

### Parameter Validation
The AI checks if your timing and relaxation constants are physiologically realistic.

### Data Aggregation
Your agent summarizes voxel-level data into meaningful statistics for specific regions.

### Unit Conversion
The AI changes CBF measurements between different measurement units.

## Use Cases

### Perfusion Quantification
Convert raw signal differences from an ASL scan into ml/100g/min flow values.

### ROI Analysis
Summarize flow data across a specific brain region using voxel metadata.

### Protocol Verification
Check if your PLD and T1 constants are physically possible before running a study.

### Data Normalization
Convert calculated CBF values into different units for standardized reporting.

## Benefits

- Automates the math between raw MRI signals and physiological values.
- Reduces manual errors by validating timing and relaxation parameters.
- Speeds up data processing by aggregating voxel data into ROI summaries.
- Provides a direct way to convert perfusion units within your AI chat.

## How It Works

Connect your AI client to Vinkius and start sending neuroimaging data immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your raw ASL signal data or parameters to your AI agent.
3. The agent uses the mathematical tools to perform the calculations.
4. Receive the processed perfusion values or summaries directly in your chat.

## Frequently Asked Questions

**What does this MCP actually calculate?**
It calculates Cerebral Blood Flow (CBF) from Arterial Spin Labeling (ASL) MRI data by converting signal differences into physiological values.

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

**Does it handle unit conversions?**
Yes, it includes a tool specifically designed to convert CBF values from one unit of measurement to another.

**How does it handle voxel data?**
It can aggregate individual voxel calculations into a summary for a specific region of interest using the summarize_voxel_region tool.

**Can it check my MRI parameters?**
Yes, the validate_asl_parameters tool checks if your physiological and timing parameters are within clinically acceptable ranges.

**What mathematical models are supported?**
The engine supports various models including standard single-delay and multi-delay equations via the `calculate_cbf_from_difference` tool.

**Can I validate my ASL parameters?**
Yes, you can use `validate_asl_parameters` to check if your post-labeling delay, labeling duration, and T1 values are physiologically plausible.

**How do I convert units?**
You can use the `convert_flow_units` tool to switch between standard ASL units like ml/100g/min and ml/g/min.
