This MCP server implementation provides a robust expense-sharing solution for social gatherings. Built with Python and SQLAlchemy, it offers tools for creating gatherings, managing members, tracking expenses, calculating reimbursements, and generating detailed payment summaries. The server employs a structured database model and includes features like member renaming and gathering closure. It's designed for use cases such as splitting costs for group trips, dinners, or any event where expenses need to be fairly divided among participants.
Nessuna recensione ancora. Sii il primo a recensire!
Accedi per unirti alla conversazione
Create a new gathering with the specified number of members. Parameters: gathering_id (string), members (int)
Add an expense for a member in a gathering. Parameters: gathering_id (string), member_name (string), amount (float)
Calculate who owes what to whom for a gathering. Parameters: gathering_id (string)
Record a payment made by a member (positive value) or a reimbursement to a member (negative value). Parameters: gathering_id (string), member_name (string), amount (float)
Rename a member in a gathering. Parameters: gathering_id (string), old_name (string), new_name (string)
Show details of a gathering including expenses and payment status. Parameters: gathering_id (string)
List all gatherings in the database.
Mark a gathering as closed. Parameters: gathering_id (string)
Delete a gathering and all associated data. Set force=True to delete closed gatherings. Parameters: gathering_id (string), force (bool = False)
Add a new member to an existing gathering. Parameters: gathering_id (string), member_name (string)
Remove a member from a gathering (only if they have no expenses). Parameters: gathering_id (string), member_name (string)