WeChat Red Packet Simulator

WeChat Red Packet Simulator MCP Connector for Claude

A+

Simulate deterministic WeChat 'Lucky Money' distributions with inequality metrics.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides precise tools to simulate WeChat Red Packet (Hongbao) distributions. It implements the 'double average' constraint for fair random distributions and provides statistical analysis including the Gini coefficient to measure inequality. Use simulate_distribution to generate specific fund breakdowns, get_distribution_stats to analyze existing distributions, and validate_constraints to ensure a total amount can support the minimum 0.01 RMB requirement per recipient.

wechathongbaoginidistributionsimulator

3 tools expose this connector's capabilities to your AI agent.

get_distribution_stats

Provides high-level summary metrics for a previously generated distribution

simulate_distribution

Generates a specific distribution of funds based on the chosen logic

validate_constraints

01 RMB. Checks if a specific distribution configuration is valid under WeChat's economic rules

See how to talk to your AI agent using WeChat Red Packet Simulator.

Simulate a fair random distribution of 100 RMB for 10 people.

The distribution has been generated. The amounts are [12.45, 8.32, 15.10, 7.55, 11.20, 9.88, 13.40, 6.12, 10.50, 5.48]. The Lucky King received 15.10 RMB and the Gini coefficient is 0.24.

Divide 50 RMB equally among 5 recipients.

Each of the 5 recipients receives exactly 10.00 RMB.

Check if 5 RMB is enough for 600 people.

No, it is not possible. The required minimum is 6.00 RMB, resulting in a shortfall of 1.00 RMB.

Fixed Equal divides the total amount equally among all recipients, while Random Fair uses a probabilistic approach where each person's share is bounded by twice the current average of the remaining funds.

Related Connectors