# Normalized Learning Gain Calculator MCP. AI Agent Connect

> Normalized Learning Gain Calculator MCP uses Hake's Gain metrics to quantify educational impact. It calculates how much students improved relative to their potential, providing a clear picture of pedagogical effectiveness through individual and aggregate data analysis.

## Overview
- **Category:** education
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_aF7dJaN5zdLezx2MVdpgFeCcH9M28ubBokuLX1Bd/ai-agent-connect
- **Tags:** pedagogy, learning-gain, hakes-gain, assessment, education-analytics

## Description

You can now use your AI client to run precise educational impact assessments. This MCP handles the heavy lifting of calculating Hake's Gain, which tells you how much students learned compared to the maximum possible improvement they could have made. Instead of manually calculating differences between pre- and post-test scores, you can hand raw assessment data to your agent and get immediate, statistically sound results. It handles the math for individual student progress and group-wide trends. You can also clean your datasets by removing incomplete records or verifying that all scores fall within your expected ranges. This makes it easy to move from raw test scores to meaningful insights about your teaching effectiveness without the manual spreadsheet work.

## Tools

### calculate_student_gains
Calculates learning metrics for groups of students using paired pre- and post-assessment scores.

### filter_incomplete_pairs
Cleans your data by identifying and removing student records missing either a pre- or post-assessment score.

### aggregate_gain_statistics
Computes mean and median values for your normalized gain datasets.

### validate_score_integrity
Checks your dataset to ensure all provided scores stay within the valid range.

## Prompt Examples

**Prompt:** 
```
Calculate the learning gains for these students: Pre-scores: [{'studentId': 'A1', 'score': 40}, {'studentId': 'B2', 'score': 70}], Post-scores: [{'studentId': 'A1', 'score': 80}, {'studentId': 'B2', 'score': 90}], Max Score: 100, Rule: 'exclude', Convention: 'standard'.
```

**Response:** 
```
Student A1 achieved an absolute gain of 40 and a normalized gain of 0.66. Student B2 achieved an absolute gain of 20 and a normalized gain of 0.33. The class mean normalized gain is 0.50.
```

**Prompt:** 
```
Check if these scores are valid for a maximum score of 50: [{'score': 45}, {'score': 55}, {'score': 10}].
```

**Response:** 
```
The scores are invalid. The offending score is 55, which exceeds the maximum possible score of 50.
```

**Prompt:** 
```
What is the mean and median for these normalized gains: [0.5, 0.7, 0.2, 0.8, 0.4]?
```

**Response:** 
```
The mean normalized gain is 0.52 and the median is 0.4.
```

## Capabilities

### Hake's Gain Calculation
Your agent calculates normalized gains to show relative student improvement.

### Data Cleaning
The MCP removes incomplete student pairs to ensure accurate results.

### Score Validation
Your AI client checks that all assessment scores are within the allowed range.

### Statistical Summaries
The tool generates mean and median statistics for entire student groups.

## Use Cases

### Pre- and Post-Test Analysis
Compare student knowledge before and after a lesson to find the normalized gain.

### Curriculum Validation
Use aggregate statistics to see if a new teaching method actually improves learning.

### Data Quality Control
Run validation checks to find errors in large sets of student assessment scores.

### Classroom Performance Reporting
Generate mean and median gains to report on group learning progress.

## Benefits

- Eliminates manual math for Hake's Gain calculations.
- Automates the removal of incomplete student data pairs.
- Ensures data accuracy by validating score ranges automatically.
- Provides instant descriptive statistics for student cohorts.

## How It Works

Connect your AI client to Vinkius and start analyzing data immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your student pre- and post-assessment scores to your agent.
3. Your agent uses the MCP tools to clean, validate, and calculate gains.
4. Receive formatted statistical summaries and individual student metrics.

## Frequently Asked Questions

**What is Hake's Gain?**
Hake's Gain is a normalized metric used to measure how much students learned relative to the maximum possible improvement they could have made.

**How do I use this with Claude or Cursor?**
You connect your client to the Vinkius platform, which hosts the MCP. Once connected, you can ask your AI client to perform calculations using the available tools.

**Can it handle messy data?**
Yes, the MCP includes a tool to filter out incomplete student pairs and another to validate that scores are within the correct range.

**Does this MCP require me to host anything?**
No, Vinkius hosts and manages the MCP for you. You connect and use it.

**What kind of statistics can it provide?**
It can compute descriptive statistics like the mean and median for normalized gains.

**What is Normalized Learning Gain?**
It is a metric that measures the fraction of the possible improvement a student achieved, preventing bias from high initial scores.

**How do I handle students who missed one of the tests?**
You can use the `filter_incomplete_pairs` tool with the 'exclude' rule to remove students without a complete pre- and post-assessment pair.

**Can I validate my assessment scores before calculating gains?**
Yes, the `validate_score_integrity` tool checks if all scores fall within your defined scoring scale.
