MetorialDocs

Set up Splitwise in Metorial for Claude, ChatGPT and Cursor

Share Splitwise with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 23 tools (12 read-only).

To give your team Splitwise in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Splitwise integration in a Metorial portal, and each person signs in to Splitwise with their own account. Split bills and manage shared expenses among friends and groups. The integration has 23 tools, 12 read-only, 7 write and 4 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares Splitwise in a portal and how each person connects
  • What Splitwise asks for when you connect, and where to find it
  • How to keep the 12 read-only tools and reject the other 11

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth 2.0 (default)OAuthSigns in to Splitwise
API KeyAPI tokentoken

The portal and metorial setup use OAuth 2.0 unless someone picks another method.

OAuth 2.0

People sign in to Splitwise and approve the permissions it lists.

API Key

To connect, a person enters:

  • token: Splitwise API key from your application settings at secure.splitwise.com

Use your own Splitwise OAuth app

With your own OAuth app, people see your company's name on the Splitwise consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Splitwise and copy the Redirect URI.

Register the app with Splitwise

Create an OAuth app or client in Splitwise and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Splitwise integration.

Admin: share Splitwise in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Splitwise. Under Auth Method, keep OAuth 2.0 or pick another. For how members connect, choose Each person connects, so everyone signs in to Splitwise as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Splitwise.

Choose who gets it

Add the access groups that should see Splitwise. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Splitwise integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search splitwise

Employee: connect Splitwise

In the portal

Open Splitwise in the catalog

Sign in to your portal and open Splitwise. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Splitwise sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search splitwise
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth 2.0. To connect with API Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Splitwise connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list splitwise
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 12 read-only tools, such as get_user and get_group, and lose the 7 write tools, such as add_friend or update_user, and the 4 destructive tools, such as delete_group or delete_friend.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list splitwise
metorial tools <integration-id>
metorial call <integration-id> get_current_user -d '{}'

metorial tools lists the 23 tools, minus any you rejected. get_current_user takes no input. It retrieves the authenticated user's profile including name, email, default currency, locale, and profile picture.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (12)

  • list_expenses: Retrieve expenses for the authenticated user.
  • list_comments: Retrieve all comments on a specific expense. Needs expenseId.
  • get_currencies: Retrieve the list of all currencies supported by Splitwise.
  • get_current_user: Retrieve the authenticated user's profile including name, email, default currency, locale, and profile picture.
  • get_categories: Retrieve the hierarchical list of expense categories supported by Splitwise.
  • list_friends: List all friends of the authenticated user with their balances.
  • get_user: Retrieve a Splitwise user's profile by their user ID. Needs userId.
  • list_groups: List all groups the authenticated user belongs to.
  • get_expense: Retrieve detailed information about a specific expense, including cost, splits, repayments, category, and comments count. Needs expenseId.
  • get_group: Retrieve detailed information about a specific Splitwise group, including members, balances, debts, and settings. Needs groupId.
  • list_notifications: Retrieve recent account activity with the newest notifications first.
  • get_friend: Retrieve a friend and their overall and per-group balances.

Write tools (7)

  • update_expense: Update an existing Splitwise expense. Needs expenseId.
  • manage_group_members: Add or remove a user from a Splitwise group. Needs action, groupId and userId.
  • update_user: Update the current authenticated user's profile settings. Needs userId.
  • add_friend: Add one or more friends to the authenticated user's Splitwise account by email address. Needs friends.
  • create_expense: Create a new expense in Splitwise. Needs cost and description.
  • create_comment: Add a comment to a Splitwise expense. Needs expenseId and content.
  • create_group: Create a new Splitwise group for sharing expenses. Needs name.

Destructive tools (4)

  • delete_group: Delete or restore a Splitwise group. Needs groupId and action.
  • delete_friend: Remove a friend from the authenticated user's Splitwise account. Needs friendId.
  • delete_comment: Delete a comment from a Splitwise expense. Needs commentId.
  • delete_expense: Delete or restore a Splitwise expense. Needs expenseId and action.

Triggers

Splitwise has 2 triggers, which fire on events in Splitwise:

  • inbound_webhook
  • account_activity: Triggers on new notifications in the authenticated user's Splitwise account, including expenses added/updated/deleted, comments, group changes, friend changes, and debt simplifications.

Next steps