# Number Needed to Screen Calculator AI Agent Connect

> Number Needed to Screen Calculator provides the mathematical heavy lifting for clinical epidemiology. Your AI client uses this MCP to calculate NNS, verify risk probabilities, and compare the efficiency of different screening scenarios. It turns raw risk data into actionable epidemiological insights without you needing to manually run the math.

## Overview
- **Category:** healthcare
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Njd1z5YgVzd12RR4KKMZiGEPUalpZgfQXyLtdBDU/ai-agent-connect
- **Tags:** clinical, nns, risk-assessment, screening, epidemiology

## Description

You can use this MCP to handle the complex math required for clinical screening evaluations. Instead of manually calculating risk differences, you let your AI agent handle the arithmetic. It calculates the Number Needed to Screen (NNS) by looking at the absolute risk difference between screened and unscreened groups. You can also use it to check if your risk values are mathematically valid before running larger models. If you are deciding between two different screening strategies, the MCP compares their efficiency to show which one yields better results. It also generates natural language summaries of risk profiles, making it easier to present findings to a team. This tool is built for precision in epidemiological workflows, ensuring your risk metrics remain sound and consistent.

## Tools

### calculate_nns
This tool calculates the Number Needed to Screen and all associated risk metrics. It derives the reciprocal of risk reduction to give you the NNS.

### compare_screening_impact
This tool evaluates the efficiency of different screening scenarios. It compares two setups to see which one is more effective.

### get_risk_summary
This tool generates a natural language summary of a risk profile. It provides a clear overview for a specific population group.

### verify_risk_validity
This tool checks that your provided risk values are mathematically sound. It ensures probabilities are valid for epidemiological calculations.

## Prompt Examples

**Prompt:** 
```
Calculate the NNS if the unscreened risk is 0.05 and the screened risk is 0.02 over 5 years.
```

**Response:** 
```
The absolute risk difference is 0.03, and the Number Needed to Screen is 34.
```

**Prompt:** 
```
Is a risk value of 1.5 valid?
```

**Response:** 
```
No, a valid risk value must be between 0 and 1 inclusive.
```

**Prompt:** 
```
Provide a summary for a screened group with a risk of 0.01 over 10 years.
```

**Response:** 
```
The risk for the Screened group is 0.01 over a period of 10 years.
```

## Capabilities

### NNS Calculation
Your agent uses this to find the Number Needed to Screen based on risk differences.

### Scenario Comparison
Your agent uses this to weigh the efficiency of two different screening approaches.

### Risk Validation
Your agent uses this to confirm that input probabilities are mathematically possible.

### Profile Summarization
Your agent uses this to turn raw risk data into readable summaries.

## Use Cases

### Screening Program Design
Compare two different screening methods to see which one requires fewer tests to find a case.

### Data Integrity Checks
Verify that risk values entered into a model are between 0 and 1.

### Epidemiological Reporting
Generate quick text summaries of risk profiles for specific patient groups.

### Risk Assessment
Calculate the NNS to understand the impact of a screening intervention.

## Benefits

- Automates the calculation of the reciprocal of risk reduction.
- Prevents errors by validating that risk values stay within mathematical bounds.
- Compares screening efficiency across different scenarios.
- Converts raw risk data into natural language summaries.

## How It Works

You connect the MCP to your client and then ask your agent to perform calculations.

1. Connect the MCP to Claude, Cursor, or Windsurf via Vinkius.
2. Provide your risk data or screening scenarios to your AI client.
3. The agent calls the specific tool needed for the calculation.
4. The MCP returns the precise mathematical result or summary.
5. Your agent presents the final answer or comparison to you.

## Frequently Asked Questions

**What is the Number Needed to Screen?**
NNS is a metric used in clinical epidemiology to determine how many people need to be screened to prevent one adverse outcome. This MCP calculates it using the absolute risk difference.

**How do I use this with Claude or Cursor?**
You connect the MCP through the Vinkius platform. Once connected, your AI client can immediately use the tools provided by this MCP.

**Can this MCP validate my risk data?**
Yes, the verify_risk_validity tool checks that your risk values are mathematically sound for epidemiological use.

**Does this MCP handle scenario comparisons?**
Yes, you can use the compare_screening_impact tool to evaluate which screening scenario is more efficient.

**What happens if I provide an invalid risk value?**
The verify_risk_validity tool will flag it. For example, a risk value of 1.5 is invalid because probabilities must be between 0 and 1.
