# Golf Handicap Calculator AI Agent Connect

> Deterministic golf handicap calculation per USGA/WHS standards.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_RrNYVt5drxtrVcKfo76ZhfrXwKLdIzc8g7FY0pjr/ai-agent-connect
- **Tags:** golf, handicap, whs, usga, scoring

## Description

This MCP server provides precise golf handicap calculations following the World Handicap System (WHS). It allows AI agents to determine a player's current Handicap Index using `calculate_handicap_index`, calculate the specific strokes received at a target course via `calculate_course_handicap`, and determine the final playing handicap with environmental adjustments using `calculate_playing_handicap`. The system strictly adheres to Net Double Bogey rules and handles 9-hole score combinations.

## Tools

### calculate_course_handicap
Determine how many strokes a player will receive at a specific target course

### calculate_handicap_index
Determine the player's current Handicap Index based on recent scoring history

### calculate_playing_handicap
Determine the final number of strokes a player uses in a round after environmental adjustments

## Prompt Examples

**Prompt:** 
```
Calculate my handicap index for these 20 rounds: [{"grossScore": 85, "courseRating": 72.0, "slopeRating": 113, "par": 72}, ...]
```

**Response:** 
```
Your current Handicap Index is 14.2.
```

**Prompt:** 
```
How many strokes will I get at a course with a 71.5 rating and 130 slope if my handicap index is 15.0?
```

**Response:** 
```
You will receive 18 strokes at this course.
```

**Prompt:** 
```
What is my playing handicap for a course with rating 70.0, slope 120, par 72, given a handicap index of 10.0 and a PCC of 0.0?
```

**Response:** 
```
Your playing handicap is 12.
```

## Frequently Asked Questions

**How is the Handicap Index calculated?**
The index is calculated by taking the average of the best 8 score differentials from the most recent 20 rounds, then multiplying by 0.96.

**What is the maximum score allowed per hole?**
The system applies the Net Double Bogey rule, ensuring no single hole disproportionately affects the handicap.

**Can I calculate my playing handicap for a specific course?**
Yes, you can use `calculate_playing_handicap` to get the final number of strokes after accounting for course rating, slope, and PCC adjustments.
