← 返回 Skills 市场
chrischall

Tmp.NiUuz7mrUd

作者 chrischall · GitHub ↗ · v2.0.3 · MIT-0
cross-platform ⚠ pending
22
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install splitwise-mcp
功能描述
Access Splitwise expense and group data via MCP. Use when the user asks about Splitwise expenses, groups, friends, or balances, or wants to add, edit, or del...
使用说明 (SKILL.md)

splitwise-mcp

MCP server for Splitwise — natural-language expense and group management via the Splitwise API.

Setup

Option A — npx (recommended)

Add to .mcp.json in your project or ~/.claude/mcp.json:

{
  "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
cd splitwise-mcp
npm install && npm run build

Then add to .mcp.json:

{
  "mcpServers": {
    "splitwise": {
      "command": "node",
      "args": ["/path/to/splitwise-mcp/dist/index.js"],
      "env": {
        "SPLITWISE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Or use a .env file in the project directory with SPLITWISE_API_KEY=\x3Cvalue>.

Getting your API key

  1. Go to splitwise.com/apps/register
  2. Register an app (name and description can be anything)
  3. Copy the API key from the app detail page

Authentication

API key auth — no login flow or token rotation. The key is attached to every request as Authorization: Bearer \x3Ckey>.

Tools

User

Tool Description
sw_get_current_user Get the authenticated user's profile (id, first_name, last_name, email)

Groups

Tool Description
sw_list_groups List all groups with id, name, and members[]
sw_get_group(id) Get a single group's details including members and balances
sw_create_group(name, group_type?, simplify_by_default?) Create a new group (group_type: apartment, house, trip, other)
sw_add_user_to_group(group_id, user_id?) Add a user by user_id (preferred) or first_name + last_name + email
sw_remove_user_from_group(group_id, user_id) Remove a user from a group

Friends

Tool Description
sw_list_friends List all friends with id, first_name, last_name, email

Expenses

Tool Description
sw_list_expenses(group_id?, friend_id?, dated_after?, dated_before?, limit?, offset?) List or search expenses
sw_get_expense(id) Get full details of a single expense
sw_create_expense(group_id, description, cost, split_equally? | users?) Create an expense — equal split or custom per-person split
sw_update_expense(expense_id, ...) Edit an existing expense (custom split requires full users array)
sw_delete_expense(id) Soft-delete an expense

Utilities

Tool Description
sw_get_notifications Recent activity feed for the current user
sw_get_categories Hierarchical list of expense categories (use id as category_id)
sw_get_currencies List of supported currency codes

Workflows

Add an expense to a group:

sw_list_groups → find group ID for "vacation"
sw_create_expense(group_id, "Dinner", "80.00", split_equally: true)

Add someone to a group:

sw_list_friends → find Meredith's user_id
sw_get_group(id) → check if Meredith is already in members[]
sw_add_user_to_group(group_id, user_id) → if not

Custom split (you paid, split 60/40):

sw_get_current_user → your user_id
sw_list_friends → other person's user_id
sw_create_expense(group_id, "Hotel", "200.00", users: [
  { user_id: yours, paid_share: "200.00", owed_share: "120.00" },
  { user_id: theirs, paid_share: "0.00", owed_share: "80.00" }
])

Search and edit an expense:

sw_list_expenses(group_id, dated_after: "2026-01-01") → find expense ID
sw_update_expense(expense_id, description: "Corrected description", cost: "95.00")

Notes

  • cost is always a decimal string (e.g. "25.00")
  • split_equally: true and users array are mutually exclusive
  • For custom split updates, the full users array is required — the API replaces the entire split
  • sw_delete_expense is a soft delete; restoration requires the Splitwise web app
  • API default for sw_list_expenses is 20 results when limit is omitted
能力标签
requires-sensitive-credentials
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install splitwise-mcp
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /splitwise-mcp 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.3
- Update: Expanded and clarified the documentation in SKILL.md, with new setup instructions, tool descriptions, and usage workflows. - Added clear trigger descriptions and use cases for Splitwise integration via MCP. - Detailed all available tools for managing users, groups, friends, and expenses. - Included practical examples for common workflows like adding expenses, managing groups, and custom splits. - Provided setup guidance for both npx and source installations, with API key authentication notes.
元数据
Slug splitwise-mcp
版本 2.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Tmp.NiUuz7mrUd 是什么?

Access Splitwise expense and group data via MCP. Use when the user asks about Splitwise expenses, groups, friends, or balances, or wants to add, edit, or del... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 22 次。

如何安装 Tmp.NiUuz7mrUd?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install splitwise-mcp」即可一键安装,无需额外配置。

Tmp.NiUuz7mrUd 是免费的吗?

是的,Tmp.NiUuz7mrUd 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Tmp.NiUuz7mrUd 支持哪些平台?

Tmp.NiUuz7mrUd 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Tmp.NiUuz7mrUd?

由 chrischall(@chrischall)开发并维护,当前版本 v2.0.3。

💬 留言讨论