聚会费用分摊管理工具

聚会费用分摊管理工具

通过机器对话协议 (MCP),AI 助手可帮助用户管理社交活动中的共享费用。

快速入门

前置条件

  • 安装 Python 3.8+
  • 安装依赖工具 uv

安装步骤

  1. 克隆仓库: git clone https://github.com/abutbul/gatherings-mcp-python.git cd gatherings-mcp-python
  2. 安装依赖: uv pip install -r requirements.txt
  3. 启动服务器: python gatherings_mcp_server.py

示例操作

  1. 创建聚会: create_gathering("2023-dinner", 5)
  2. 添加费用: add_expense("2023-dinner", "Alice", 120.50)
  3. 计算分摊: calculate_reimbursements("2023-dinner")
  4. 记录支付: record_payment("2023-dinner", "Bob", 30.00)
  5. 关闭聚会: close_gathering("2023-dinner")