# Epidemiological Metrics Engine for math. AI Agent Connect

> Epidemiological Metrics Engine provides a specialized mathematical engine for public health analysis. Your AI client uses these tools to calculate incidence, prevalence, person-time, and population shifts without manual formula entry. It handles the heavy lifting for disease frequency and risk calculations, making it easy to turn raw data into actionable epidemiological insights.

## Overview
- **Category:** healthcare
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_x1frxAmSGfBJw4INF2662ZlYlYoqgPYJdeosqMco/ai-agent-connect
- **Tags:** epidemiology, statistics, public-health, math, science

## Description

You can stop manually calculating disease rates and population shifts. This MCP gives your AI client the specific mathematical tools needed to handle epidemiological data accurately. Instead of asking your agent to guess a formula, you give it a direct way to compute incidence proportions, prevalence, and person-time denominators. 

If you are tracking a disease outbreak, you can use this to find out how fast new cases are appearing or how widespread a condition is within a specific group. It also handles the demographic side of things, like calculating net changes in a study population or summing up person-time for rate calculations. It is built for accuracy in public health math, ensuring your agent provides the right numbers for risk assessment and population dynamics.

## Tools

### analyze_population_change
This tool calculates the net change in a population based on movement within your study group.

### calculate_person_time
Use this to determine the total person-time denominator required for rate calculations.

### get_prevalence_metrics
This tool computes how widespread a condition is at a single point in time or over a specific duration.

### get_incidence_metrics
This tool calculates both the risk proportion and the frequency rate of new disease cases.

## Prompt Examples

**Prompt:** 
```
Calculate the incidence rate for 50 new cases in a population at risk of 1000, with a total person-time of 500 person-years.
```

**Response:** 
```
The incidence proportion is 0.05 and the incidence rate is 0.1 per person-year.
```

**Prompt:** 
```
What is the prevalence if there are 20 existing cases in a population of 500 at a single point in time?
```

**Response:** 
```
The point prevalence is 0.04.
```

**Prompt:** 
```
A population starts with 1000 people, 50 enter, and 30 leave. What is the final population?
```

**Response:** 
```
The net change is 20 and the final population is 1020.
```

## Capabilities

### Disease Risk Calculation
Your agent uses this to find incidence proportions and rates for new cases.

### Prevalence Assessment
The AI calculates how many people have a condition at a specific time.

### Denominator Computation
Your client calculates total person-time to support accurate rate math.

### Population Tracking
The agent tracks net changes in study groups based on movement.

## Use Cases

### Outbreak Monitoring
Calculate incidence rates to track how fast a new disease is spreading through a community.

### Chronic Disease Studies
Determine point or period prevalence to understand the burden of a condition.

### Cohort Studies
Sum up person-time to establish accurate denominators for longitudinal data.

### Demographic Shifts
Track how a study population changes as people enter or leave the group.

## Benefits

- Eliminates manual formula errors in disease frequency math.
- Provides standardized denominators for rate calculations.
- Speeds up population movement analysis during studies.
- Directly connects mathematical tools to your AI agent.

## How It Works

Get this MCP running in your AI client and start running math immediately.

1. Connect your AI client to Vinkius.
2. Select the Epidemiological Metrics Engine from the catalog.
3. Provide your raw data or specific parameters to your agent.
4. The agent calls the necessary math tools to return precise results.

## Frequently Asked Questions

**What kind of math does this MCP perform?**
It performs epidemiological calculations including incidence, prevalence, person-time, and population change.

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

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

**Can it calculate incidence rates?**
Yes, the get_incidence_metrics tool calculates both the risk proportion and the frequency rate.

**How does it handle population changes?**
The analyze_population_change tool calculates the net change based on movement within a study group.

**How do I calculate the incidence rate?**
You can use the `get_incidence_metrics` tool by providing the number of new cases, the population at risk, and the total person-time.

**Can I calculate population changes?**
Yes, the `analyze_population_change` tool calculates net change and final population based on entries and exits.

**What is the difference between point and period prevalence?**
Point prevalence is measured at a single moment, while period prevalence is measured over a duration. You can specify this using the `isPeriodPrevalence` parameter in `get_prevalence_metrics`.
