# Pinduoduo Group-Buying Calculator AI Agent Connect

> Calculate savings and social urgency for group-buying deals.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_QwV0PZG4OKQMYoCwxFZUdi1wU2mS1h42zoaAkuqV/ai-agent-connect
- **Tags:** pinduoduo, group-buying, economics, savings, urgency

## Description

This MCP server provides deterministic tools to simulate the economics of the 'Pin' (group-buying) model. It allows AI agents to calculate individual savings, total group value, and social urgency. Use `calculate_group_economics` to find out how much money is saved per person, `calculate_urgency_score` to determine how close a group is to completion, and `calculate_time_to_completion` to check deal expiration.

## Tools

### calculate_group_economics
Calculate individual and total group savings and members needed

### calculate_time_to_completion
Calculate time remaining until the group deal expires

### calculate_urgency_score
Calculate the social urgency score of a group

## Prompt Examples

**Prompt:** 
```
How much will I save if the base price is 100 RMB, the group price is 70 RMB, and we need 5 people total?
```

**Response:** 
```
You will save 30 RMB per person, and the total group savings will be 150 RMB for the 5 members.
```

**Prompt:** 
```
The group needs 10 people and currently has 9. How urgent is this?
```

**Response:** 
```
The urgency score is 100, meaning only one more person is needed to unlock the discount.
```

**Prompt:** 
```
Is the deal still active if there are 0 minutes remaining?
```

**Response:** 
```
No, the deal is considered expired.
```

## Frequently Asked Questions

**What does the urgency score represent?**
The urgency score is a metric from 0 to 100. A score of 100 means the group is exactly one person away from reaching the required threshold to unlock the discount.

**How is individual savings calculated?**
Individual savings is the difference between the `itemBasePriceRmb` and the `groupDiscountPriceRmb` provided to the `calculate_group_economics` tool.

**Can I use this to track deal expiration?**
Yes, you can use the `calculate_time_to_completion` tool to check if a group deal is still active or has expired.
