WeChat Red Packet Distributor

WeChat Red Packet Distributor MCP Connector for Claude

A+

Calculate fair and deterministic WeChat Red Packet distributions.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides precise mathematical models for distributing WeChat Red Packets (Hongbao). It allows AI agents to calculate exact monetary allocations using three distinct strategies: fixed for equal splits, random_fair using a stick-breaking algorithm to ensure fairness, and lucky_king for high-variance distributions. Use validate_hongbao_config to ensure the total amount is sufficient for the number of recipients before calculating, and get_distribution_statistics to analyze the resulting spread, average, and the highest amount (Lucky King).

wechathongbaodistributioncalculatorfairness

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

validate_hongbao_config

Checks if a proposed distribution scenario is mathematically possible before attempting calculation

calculate_distribution

Generates the specific list of monetary amounts for each participant based on the selected strategy

get_distribution_statistics

Analyzes a generated list of amounts to provide insight into the fairness and volatility of the distribution

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

Can you distribute 100 RMB among 10 people using the random_fair mode?

The distribution for 100 RMB among 10 people using random_fair is: [12.45, 8.32, 15.10, 7.55, 11.20, 9.45, 13.08, 6.25, 10.50, 6.10].

Split 50 RMB equally between 5 people.

The fixed distribution for 50 RMB among 5 people is: [10.0, 10.0, 10.0, 10.0, 10.0].

Is it possible to distribute 0.05 RMB to 10 people?

No, it is not possible. The minimum required amount for 10 people is 0.10 RMB.

Each recipient must receive at least 0.01 RMB. You can use `validate_hongbao_config` to check if your total amount is sufficient for your group size.

Related Connectors