# HDB Proximity Grant Calculator AI Agent Connect

> Calculate exact HDB Proximity Housing Grant (PHG) amounts based on family ties and flat type.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_3aTnRRnaPR2WtrbRrFOyd2AZi5XALYnk06ixcM6i/ai-agent-connect
- **Tags:** hdb, singapore, housing, grant, calculator

## Description

This MCP server provides deterministic tools to calculate the Singapore HDB Proximity Housing Grant (PHG). It determines eligibility and exact grant amounts based on whether you are living with parents or living near them (within 4km), as well as the specific HDB flat type selected. Use `calculate_phg_grant` to get a full eligibility report or `validate_proximity_distance` to check if a location meets the proximity radius requirement.

## Tools

### calculate_phg_grant
Determines the exact grant amount and eligibility for an applicant based on their proximity and flat type

### get_flat_type_tier
Categorizes the flat type into its respective grant tier for the "living near" rule

### validate_proximity_distance
Checks if a provided distance satisfies the proximity requirement for the "living near" grant tier

## Prompt Examples

**Prompt:** 
```
How much grant can I get if I am living with my parents in a 4-room flat?
```

**Response:** 
```
You are eligible for a grant of 30,000 SGD.
```

**Prompt:** 
```
I live 3km away from my parents and I am buying a 3-room flat. What is my grant?
```

**Response:** 
```
You are eligible for a grant of 30,000 SGD.
```

**Prompt:** 
```
What happens if I live 5km away from my parents and want to live near them in a 2-room flat?
```

**Response:** 
```
You are ineligible for the grant because the distance exceeds the 4km limit.
```

## Frequently Asked Questions

**How is the grant amount determined?**
The grant amount depends on your family ties (living with or near parents) and the size of your flat. You can use `calculate_phg_grant` to see the specific amount for your situation.

**What is the maximum distance allowed for the 'living near' grant?**
To qualify for the 'living near' tier, the distance must be 4km or less. The `validate_proximity_distance` tool can verify this for you.

**Does the flat type affect the grant amount?**
Yes, for those living near parents, the grant amount scales with the flat type: 2-room flats receive 20,000 SGD, 3-room receive 30,000 SGD, and 4-room or larger receive 40,000 SGD.
