splitwise-mcp
Connects Claude to Splitwise for natural-language access to expenses, groups, friends, and balances.
README
Splitwise MCP
A Model Context Protocol server that connects Claude to Splitwise, giving you natural-language access to your expenses, groups, friends, and balances.
[!WARNING] AI-developed project. This codebase was entirely built and is actively maintained by Claude Code. No human has audited the implementation. Review all code and tool permissions before use.
What you can do
Ask Claude things like:
- "What do I owe?"
- "Add a $50 dinner expense to the vacation group"
- "Split this hotel bill 60/40 with Sarah"
- "Who's in the trip group?"
- "Add Meredith to the household group"
- "Show me recent expenses"
- "Delete that duplicate expense"
Requirements
- Claude Desktop or Claude Code
- Node.js 20.6 or later
- A Splitwise account and API key
Acknowledgement of Terms
By using this MCP server, you acknowledge and agree to the following:
1. This server accesses your own Splitwise account via Splitwise's official Developer API. Auth happens via your own API consumer key + secret, which Splitwise issues to you when you register an app. It does not — and cannot — access anyone else's expenses or groups.
2. Splitwise's Developer Terms govern your use of this server. The clauses most relevant here:
You will use Splitwise Materials solely as necessary to develop, test and support a Self-Service integration of your software application… with Splitwise.
And on rate limits: "You will not use the API in a manner that exceeds rate limits, or constitutes excessive or abusive usage." And on competitive use: "You may not [use] Splitwise Materials to create an application that replicates existing Splitwise functionality or competes with Splitwise."
You are agreeing to those terms — read by the maintainer 2026-05-23 — every time you invoke a tool in this server.
3. Personal, non-commercial use only. This project is not affiliated with, endorsed by, sponsored by, or in partnership with Splitwise, Inc. It is a personal automation tool that calls the documented public Splitwise REST API on your own account. Do not use it to commercialize Splitwise data, compete with Splitwise's product, or share API credentials with third parties.
4. Your API key is yours alone. Splitwise issues credentials per-app, per-developer. Do not commit your SPLITWISE_API_KEY (or consumer key/secret) to git, do not paste it into shared chats, and do not embed it in a public client.
5. You accept full responsibility for any consequences of using this server in connection with your Splitwise account — rate limiting, API key revocation, account warnings, or any enforcement action. If Splitwise objects to your use or your usage exceeds their rate limits, stop using this server.
This section is the maintainer's good-faith summary of the terms — it is not legal advice and does not modify or supersede Splitwise's actual Developer Terms.
Installation
Option A -- npx (recommended)
npx -y splitwise-mcp
Add to your Claude config (.mcp.json or Claude Desktop config):
{
"mcpServers": {
"splitwise": {
"command": "npx",
"args": ["-y", "splitwise-mcp"],
"env": {
"SPLITWISE_API_KEY": "your-api-key-here"
}
}
}
}
Option B -- from source
git clone https://github.com/chrischall/splitwise-mcp.git
cd splitwise-mcp
npm install
npm run build
Add to Claude Desktop config:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"splitwise": {
"command": "node",
"args": ["/absolute/path/to/splitwise-mcp/dist/index.js"],
"env": {
"SPLITWISE_API_KEY": "your-api-key-here"
}
}
}
}
Getting your API key
- Go to secure.splitwise.com/apps/register
- Register an app (name and description can be anything)
- Copy the API key from the app detail page
Credentials
| Env var | Required | Notes |
|---|---|---|
SPLITWISE_API_KEY |
Yes | API key from splitwise.com/apps/register |
Available tools
20 tools across 5 domains. All tools are prefixed sw_.
User
| Tool | What it does |
|---|---|
sw_get_current_user |
Get the authenticated user's profile |
sw_get_user |
Get another user's profile by ID |
Groups
| Tool | What it does |
|---|---|
sw_list_groups |
List all groups with members |
sw_get_group |
Group details including members and balances |
sw_create_group |
Create a new group |
sw_delete_group |
Soft-delete a group |
sw_undelete_group |
Restore a deleted group |
sw_add_user_to_group |
Add a user to a group |
sw_remove_user_from_group |
Remove a user from a group |
Friends
| Tool | What it does |
|---|---|
sw_list_friends |
List all friends |
sw_create_friend |
Add a friend by email |
sw_delete_friend |
Remove a friendship |
Expenses
| Tool | What it does |
|---|---|
sw_list_expenses |
List or search expenses with filters |
sw_get_expense |
Full details of a single expense |
sw_create_expense |
Create an expense (equal or custom split) |
sw_update_expense |
Edit an existing expense |
sw_delete_expense |
Soft-delete an expense |
sw_undelete_expense |
Restore a deleted expense |
sw_get_comments |
Get comments on an expense |
sw_create_comment |
Add a comment to an expense |
sw_delete_comment |
Delete a comment |
Utilities
| Tool | What it does |
|---|---|
sw_get_notifications |
Recent activity feed |
sw_get_categories |
Expense category list |
sw_get_currencies |
Supported currency codes |
Troubleshooting
"SPLITWISE_API_KEY is required" -- set the environment variable in your MCP config or a .env file.
429 rate limit -- Splitwise has undocumented rate limits. Wait a moment and retry.
Tools not appearing in Claude -- go to Claude Desktop > Settings > Developer to see connected servers. Make sure you fully quit and relaunched after editing the config.
Development
npm test # run the test suite (vitest)
npm run build # compile TypeScript -> dist/
Project structure
src/
client.ts Splitwise API client (auth, request handling)
index.ts MCP server entry point
tools/
user.ts sw_get_current_user, sw_get_user
groups.ts group CRUD and membership
friends.ts friend list and management
expenses.ts expense CRUD, comments
utilities.ts notifications, categories, currencies
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。