# fairsplit

> Local, privacy-focused group expense tracking and settlement optimization using a verified Python backend.

fairsplit is a free AI agent skill on Agensi by Himadri Ganguly, in Finance & Accounting. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Himadri Ganguly](https://www.agensi.io/creators/himadri-ganguly)
- Category: [Finance & Accounting](https://www.agensi.io/skills/finance-accounting)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-10-15); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/fairsplit
- Tags: finance, python, expense-tracking, cli-tool, data-management

## About this skill

Group expenses often lead to messy spreadsheets or reliance on third-party apps that mine your data. FairSplit provides a local, file-based way to track shared costs for trips, flatmates, or events without external accounts or API keys.

### What it does
- **Expense tracking** records who paid for what and how to divide the cost among group members.
- **Multiple split types** handles equal splits, exact amounts, proportional shares, or percentages.
- **Settlement optimization** calculates the minimum number of payments required to zero out all debts.
- **Currency management** supports a home currency per group with optional exchange rate lookups for foreign expenses.
- **Data export** generates Markdown or CSV summaries for sharing or record-keeping.

### How it works
1. **Initialize a group** by specifying a name, home currency, and the names of all participants.
2. **Add expenses** by providing the payer, amount, and the desired split logic for the group.
3. **Review balances** to see the net position of every member at any time.
4. **Settle up** to generate a specific plan of who should pay whom to close out the ledger.

### Frameworks & tools
The skill uses a Python 3.8+ script relying solely on the standard library. Data is stored locally in JSON files, requiring no external databases or cloud services.

### Why this beats prompting it yourself
LLMs frequently make arithmetic errors or rounding mistakes when calculating splits and settlements. This skill offloads all math to a tested script using integer minor units, ensuring every cent is accounted for and balances always sum to zero.

### Use cases
- Manage shared household bills and rent among multiple flatmates.
- Track group spending during a vacation and settle up at the end.
- Record shared costs for a one-off event like a wedding or group dinner.
- Export a trip's financial history to a CSV for long-term archiving.

### Known limitations
Does not move real money or link to bank accounts. Currency exchange lookups require outbound network access and may fail in restricted environments. Split amounts must sum to the total exactly.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the fairsplit skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Why should I use this skill instead of just asking my AI agent to calculate the split for me?

FairSplit uses a verified Python backend that performs all calculations using integer minor units, preventing the common arithmetic and rounding errors that occur when asking an AI to perform manual math.

### Where is my financial data stored and is it shared with any third parties?

Privacy is a core feature; all expense data is stored locally in JSON files on your machine. The skill does not require external accounts, API keys, or cloud databases to function.

### Can I handle complex splits, like when one person should pay more than others for a specific bill?

Yes, FairSplit supports diverse splitting logic including equal divisions, specific dollar amounts, percentages, and proportional shares to handle complex group scenarios.

### What exactly is included in my purchase of the FairSplit skill?

You will receive the FairSplit Python skill package, documentation for integration, and a guide on how to initialize your first group ledger.

### Which AI agents or frameworks are compatible with this skill?

FairSplit is designed for any AI agent capable of executing Python 3.8+ scripts; it relies solely on the Python standard library for maximum compatibility and easy setup.

### Does FairSplit integrate with payment apps like Venmo or PayPal to send money?

The skill focuses on calculation and record-keeping; it does not connect to banking APIs or process actual monetary transfers between users.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
