Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
作者提供的说明(英文原文)
Splitwise expense and group management for Claude — shared expenses, settle up, friends
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SPLITWISE_API_KEY, SPLITWISE_OUTPUT_DIR, SPLITWISE_INPUT_DIR标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"splitwise": {
"command": "npx",
"args": [
"-y",
"splitwise-mcp"
],
"env": {
"SPLITWISE_API_KEY": "your-value",
"SPLITWISE_OUTPUT_DIR": "your-value",
"SPLITWISE_INPUT_DIR": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add splitwise --env SPLITWISE_API_KEY=your-value --env SPLITWISE_OUTPUT_DIR=your-value --env SPLITWISE_INPUT_DIR=your-value -- npx -y splitwise-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"splitwise": {
"command": "npx",
"args": [
"-y",
"splitwise-mcp"
],
"env": {
"SPLITWISE_API_KEY": "your-value",
"SPLITWISE_OUTPUT_DIR": "your-value",
"SPLITWISE_INPUT_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"splitwise": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"splitwise-mcp"
],
"env": {
"SPLITWISE_API_KEY": "your-value",
"SPLITWISE_OUTPUT_DIR": "your-value",
"SPLITWISE_INPUT_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SPLITWISE_OUTPUT_DIR envSPLITWISE_INPUT_DIR env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 chrischall 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SPLITWISE_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(3.6.0)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.
Ask Claude things like:
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](https://dev.splitwise.com/) 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.
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" } } } }
git clone https://github.com/chrischall/splitwise-mcp.git
cd splitwise-mcp npm install npm run build
Add to Claude Desktop config:
~/Library/Application Support/Claude/claude_desktop_config.json%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" } } } }
| Env var | Required | Notes |
|---|---|---|
SPLITWISE_API_KEY | Yes | API key from splitwise.com/apps/register |
SPLITWISE_OUTPUT_DIR | No | Where sw_get_receipt writes downloaded receipts (owner-only, mode 0600). Defaults to ~/Downloads/splitwise-mcp, never the working directory. When set, a per-call output_dir must be inside it. |
SPLITWISE_INPUT_DIR | No | The only directory receipt.path may read from (.. and symlinks out of it are refused). Unset — always the case on a hosted server — means receipts are accepted as upload_id (hosted) or base64 only. |
MCP_BLOB_BASE_URL / MCP_BLOB_SIGNING_KEY | No | Injected by mcp-host on the hosted server; they turn on sw_get_upload_url. Not set locally. |
Every Splitwise write (creating, editing or deleting expenses, groups, friends, comments, or your profile) notifies other people, so it asks you to confirm first. A client that can show a confirmation prompt (Claude Code) shows one (unless MCP_CONFIRM_ELICITATION=off). On a client that cannot (claude.ai, Claude Desktop), the first call changes nothing and returns a preview of exactly what will be sent plus a confirmToken; only a repeat call with that token goes through, and the token is refused if anything in the request changed in between.
To save calls on such a client: `sw_confirm({confirmToken})` finishes any previewed write with the token alone (the server kept the arguments, so a receipt's bytes are not sent a second time), and `sw_batch({ops})` previews and approves several expense/comment writes at once — e.g. create an expense, then comment on it and attach its receipt with refs: {"expense_id": "0.expense_id"}. A batch runs in order and stops at the first failure (no rollback; the result says what was applied).
| variable | default | |
|---|---|---|
MCP_CONFIRM_MODE | ask-user | What a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). ask-user: two steps — the first call does nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. auto: the same two steps, but the model may use the token after reviewing the preview itself. refuse: writes are refused on such clients. A client that can show prompts (Claude Code) always gets the real prompt, unless MCP_CONFIRM_ELICITATION=off. An unrecognised value is treated as refuse. |
MCP_CONFIRM_ELICITATION | on | off never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE behaviour. Set it for a client that says it can show prompts but never does (the write hangs — opencode 2.0.x). Any other value is treated as on, with a warning on stderr. |
MCP_CONFIRM_TTL_SECONDS | 600 | How long a token stays valid. |
MCP_CONFIRM_SECRET | random per process | Signing key; set it only if tokens must survive a server restart. |
31 tools across 6 domains. All tools are prefixed sw_.
| Tool | What it does |
|---|---|
sw_get_current_user | Get the authenticated user's profile |
sw_healthcheck | Verify the API key and Splitwise reachability; says which of the two failed |
sw_get_user | Get another user's profile by ID |
sw_update_user | Update the current user's name, locale or default currency (login email and password are not changeable here) |
| 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 |
| Tool | What it does |
|---|---|
sw_list_friends | List all friends |
sw_create_friend | Add a friend by email |
sw_delete_friend | Remove a friendship |
| Tool | What it does |
|---|---|
sw_list_expenses | List or search expenses. Splitwise-side filters (group, friend, dates) plus description_contains, include_deleted (true/false/"only"), created_by, min_cost/max_cost and category, paged with next_cursor; view: "rows" for a one-line-per-expense reconciliation view and include_comments: true to see why entries were deleted |
sw_get_expense | Full details of a single expense (compact includes deleted_by, updated_by and has_receipt) |
sw_create_expense | Create an expense — split_equally, split: "equal" with paid_by (someone else paid), or a custom users split; category by name, or inferred from similar expenses; the preview warns of possible_duplicates; optional receipt |
sw_update_expense | Edit an existing expense, or attach/replace its receipt. Refused up front if the expense is deleted |
sw_delete_expense | Soft-delete an expense |
sw_undelete_expense | Restore a deleted expense, then re-read it: returns post_state, and fails naming who re-deleted it if it is still deleted |
sw_attach_receipt | Attach or replace the receipt on an existing expense, changing nothing else |
sw_get_comments | Get comments on an expense |
sw_create_comment | Add a comment to an expense |
sw_delete_comment | Delete a comment |
| Tool | What it does |
|---|---|
sw_confirm | Finish a previewed write with only its confirmToken |
sw_batch | Several expense/comment writes under one preview and one approval; later ops can use an earlier op's new expense_id |
| Tool | What it does |
|---|---|
sw_get_receipt | Download an expense's receipt image/PDF with the server's credentials. Returns it inline (inline), as extracted PDF text (extract_text), and/or written to a file |
sw_get_upload_url | Hosted only: a short-lived signed URL to curl -X PUT a receipt file to, then pass receipt: {upload_id, filename} — no base64 through the conversation |
| Tool | What it does |
|---|---|
sw_get_notifications | Recent activity feed |
sw_get_categories | Expense category list |
sw_get_currencies | Supported currency codes |
"SPLITWISE_API_KEY is required" -- set the environment variable in your MCP config or a .env file.
Attaching a receipt -- sw_create_expense, sw_update_expense and sw_attach_receipt take receipt: { base64, filename, mime_type? } (works everywhere, including a hosted server) or, on a local server with SPLITWISE_INPUT_DIR set, receipt: { path, filename } for a file inside that directory. PNG, JPEG, GIF or PDF up to 10 MiB (Splitwise documents no limit); the type is detected from the bytes, and a mime_type that disagrees is refused. The confirmation preview shows the file's name, type, size and SHA-256
只显示了开头部分;其余内容请在仓库中阅读