splitwise-mcp

v3.7.1
io.github.chrischall/splitwise-mcp Checked 10 hours ago Published 24 days ago

Splitwise expense and group management for Claude — shared expenses, settle up, friends

Values you need

VariableWhat it is
SPLITWISE_API_KEYrequired secret Your Splitwise API key (splitwise.com/apps/api)
SPLITWISE_OUTPUT_DIRoptional Directory sw_get_receipt writes downloaded receipts into (default: ~/Downloads/splitwise-mcp)
SPLITWISE_INPUT_DIRoptional Directory receipt.path may read uploads from (unset: receipts are accepted as base64 only)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add splitwise-mcp -e 'SPLITWISE_API_KEY=<SPLITWISE_API_KEY>' -- npx -y splitwise-mcp@3.7.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "splitwise-mcp": {
      "args": [
        "-y",
        "splitwise-mcp@3.7.1"
      ],
      "command": "npx",
      "env": {
        "SPLITWISE_API_KEY": "<SPLITWISE_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "splitwise-mcp": {
      "args": [
        "-y",
        "splitwise-mcp@3.7.1"
      ],
      "command": "npx",
      "env": {
        "SPLITWISE_API_KEY": "<SPLITWISE_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SPLITWISE_API_KEY",
      "id": "splitwise-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "splitwise-mcp": {
      "args": [
        "-y",
        "splitwise-mcp@3.7.1"
      ],
      "command": "npx",
      "env": {
        "SPLITWISE_API_KEY": "${input:splitwise-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.splitwise-mcp]
command = "npx"
args = ["-y", "splitwise-mcp@3.7.1"]
env = { "SPLITWISE_API_KEY" = "<SPLITWISE_API_KEY>" }

For AI agents

  1. Ask the user for: SPLITWISE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: sw_get_current_user, sw_get_user, sw_update_user, sw_healthcheck, sw_list_groups, sw_get_group, sw_create_group, sw_add_user_to_group, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json