# Subgroup Achievement Gap Calculator AI Agent Connect

> Subgroup Achievement Gap Calculator MCP lets your AI client perform deep statistical analysis on student performance. It identifies disparities between specific demographics, checks if those gaps are statistically significant, and provides raw mastery rates and sample sizes. You can use it to ensure your equity reporting is backed by reliable, mathematically sound data.

## Overview
- **Category:** education
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_6rsPhaCO8tB9j0nhCILF6L7vxlXsXmERait8iHPu/ai-agent-connect
- **Tags:** achievement-gap, student-metrics, equity, educational-data, statistical-analysis

## Description

This MCP gives your AI agent the math tools needed to analyze educational equity. Instead of manually calculating differences in test scores or mastery rates, you can ask your agent to find the exact disparities between student subgroups. It handles the heavy lifting of comparing performance metrics while accounting for factors like attendance to keep the data accurate. 

You can use it to pull high-level summaries of raw data, such as sample sizes and mean scores, to get context before diving into deeper analysis. If you need to know if a performance gap is a real trend or only noise, the MCP provides the statistical significance required for reliable reporting. It also includes checks to ensure you aren't comparing mismatched assessment dates, keeping your longitudinal analysis valid. It is built for anyone who needs to turn raw student metrics into actionable equity insights without manual spreadsheet work.

## Tools

### compare_assessment_dates
This tool validates that you are comparing chronologically appropriate data sets.

### get_gap_significance
This tool provides the statistical context needed to determine if an identified gap is reliable.

### summarize_subgroup_stats
This tool generates a high-level overview of raw metrics like mastery rates and sample sizes for each group.

### calculate_subgroup_gaps
This tool calculates the primary achievement differences between your chosen student groups.

## Prompt Examples

**Prompt:** 
```
Calculate the achievement gap between the 'ethnicity_group_a' and 'ethnicity_group_b' using mastery rates.
```

**Response:** 
```
The absolute gap in mastery rates between ethnicity_group_a and ethnicity_group_b is 12.5%.
```

**Prompt:** 
```
Show me the summary statistics for the 'socioeconomic_low' subgroup using scores.
```

**Response:** 
```
For the socioeconomic_low subgroup, the mean score is 74.2, the mastery rate is 65%, and the sample size is 120 students.
```

**Prompt:** 
```
Are the gaps between 'group_1' and 'group_2' statistically significant?
```

**Response:** 
```
Yes, the gap is statistically significant with a p-value of 0.03.
```

## Capabilities

### Gap Quantification
Your agent calculates absolute and relative performance differences between specific student demographics.

### Statistical Validation
The MCP determines if performance disparities are statistically significant and reliable.

### Data Summarization
Your agent pulls raw mastery rates, mean scores, and sample sizes for any subgroup.

### Chronological Verification
The tool checks assessment dates to ensure comparisons are valid and appropriate.

### Attendance Adjustment
The MCP supports attendance adjustments to improve the accuracy of the data analysis.

## Use Cases

### Equity Reporting
Generate precise reports on how different ethnic or socioeconomic groups are performing compared to the student body.

### Intervention Planning
Identify specific subgroups with significant mastery gaps to direct resources where they are needed most.

### Data Validation
Verify that assessment comparisons are chronologically sound before presenting findings to stakeholders.

### Trend Monitoring
Use summary statistics to track how mastery rates change for specific subgroups over time.

## Benefits

- Removes manual calculation errors by automating gap math.
- Provides statistical significance to prevent acting on data noise.
- Ensures data integrity through date validation and attendance adjustments.
- Speeds up the transition from raw student metrics to equity insights.

## How It Works

Connecting this MCP to your AI client gives your agent immediate access to specialized educational math tools.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your student performance data to your AI agent.
3. Ask your agent to run specific gap calculations or statistical tests.
4. Review the quantified disparities and significance levels generated by the MCP.

## Frequently Asked Questions

**How does this MCP handle data accuracy?**
The MCP includes tools for attendance adjustment and validates assessment dates to ensure comparisons are chronologically appropriate.

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

**What kind of statistical data does it provide?**
It provides absolute and relative gaps, statistical significance via p-values, and raw metrics like mastery rates and sample sizes.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You connect your client and start using the tools.

**What is the difference between absolute and relative gaps?**
The calculate_subgroup_gaps tool can determine both the direct difference in scores and the proportional difference between groups.

**How do I calculate the difference between two groups?**
You can use the `calculate_subgroup_gaps` tool by providing the subgroup IDs and specifying whether you want to compare scores or mastery rates.

**Can I adjust for student attendance?**
Yes, the `calculate_subgroup_gaps` tool includes an optional attendance adjustment to normalize scores based on student presence.

**How do I know if a gap is statistically significant?**
Use the `get_gap_significance` tool to receive statistical context, including p-values and confidence intervals.
