Skip to main content
Glama
nnishad

open-splitwise

by nnishad

open-splitwise

Turn Splitwise into an agent-native expense tracker.

An open Model Context Protocol (MCP) server that lets any AI agent — Hermes, Claude Desktop, Claude Code, Cursor, or anything that speaks MCP — read balances, split expenses from messy natural language, diagnose its own auth problems, and never think about rate limits.

Python 3.11+ · MCP spec 2026-07-28 · stdio transport · 33 tools · lazy-loaded


Why

Existing Splitwise integrations hand the model a raw API mirror and hope for the best. That fails in predictable ways: the model invents category IDs, mis-splits ₹300 three ways, believes Splitwise's 200 OK when the request actually failed, or treats a rate-limit response as a bug to retry aggressively.

open-splitwise fixes this at the server layer:

Problem for agents

What open-splitwise does

"Split dinner with Alice" requires 3–4 API calls + arithmetic

quick_add_expense resolves names → IDs, computes cent-exact shares, picks the category, posts once

Two Alices in your friends list

resolve_users returns candidate lists so the agent asks you which one

"What do I owe?" needs multi-endpoint aggregation

money_summary returns per-currency totals in one call

Splitwise returns 200 OK with an errors object

Server checks it; failures surface as tool errors with actionable text — never false success

HTTP 429 rate limits

Retried invisibly (Retry-After honored, exponential backoff fallback)

Key revoked / logged out mid-session

Errors tell the agent the cause and to run setup_auth; new keys apply instantly, no restart

33 tool schemas burn ~4k tokens in every prompt

Lazy tool discovery: only 7 essential tools are exposed by default; search_tools("expenses") loads the rest on demand with full schemas

Related MCP server: Splitwise MCP Server

Features

  • Complete API coverage — all 27 endpoints of the official Splitwise OpenAPI 3.0 spec, one tool each, faithful names.

  • Workflow layer — high-level tools so a single utterance maps to a single call.

  • Self-service auth lifecyclesetup_auth validates a key live against Splitwise before storing it (wrong keys are never persisted), get_auth_status explains what's configured, logout clears credentials. Re-auth works mid-session.

  • Honest errors — every failure mode (unresolved person, share-sum mismatch, unknown category, revoked key, exhausted retries) returns text telling the agent exactly what happened and what to do next.

  • Safe-by-default annotations — reads carry readOnlyHint, destructive deletes carry destructiveHint, per MCP 2026-07-28 semantics. Tools register in deterministic order for cache-friendly discovery.

  • Local-first secrets — API key stored at ~/.config/splitwise-mcp/credentials.json, mode 0600, atomic writes, never echoed back (masked previews only).

Quick start

git clone https://github.com/<you>/open-splitwise.git
cd open-splitwise
uv sync

Run it standalone (stdio):

uv run open-splitwise          # starts with no key configured — see auth below

Get an API key at https://secure.splitwise.com/apps (Account Settings → API keys).

Connect any MCP client

Generic stdio block (Claude Desktop claude_desktop_config.json, Claude Code .mcp.json, Cursor, …):

{
  "mcpServers": {
    "splitwise": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/open-splitwise", "run", "open-splitwise"],
      "env": { "SPLITWISE_API_KEY": "<optional: preconfigure>" }
    }
  }
}

Connect Hermes Agent

Add to ~/.hermes/config.yaml:

mcp_servers:
  splitwise:
    command: "uv"
    args: ["--directory", "/absolute/path/to/open-splitwise", "run", "open-splitwise"]
    env:
      SPLITWISE_API_KEY: "<optional>"
    tools:
      include: [quick_add_expense, resolve_users, money_summary, get_auth_status]
    prompts: false
    resources: false

Then /reload-mcp. Start with the four workflow/auth tools above; add raw API tools only when needed — Hermes' per-server filtering keeps the tool surface small.

Authentication lifecycle

The server is designed so agents diagnose and fix auth themselves, asking you only for the secret:

Situation

Agent-visible behavior

No key anywhere

Every tool fails with: "No Splitwise API key is configured. Ask the user to generate one at secure.splitwise.com/apps, then call setup_auth."

User provides a key

setup_auth(api_key) probes /get_current_user first — invalid keys are rejected, not stored; valid keys are saved and who they belong to is reported

Key revoked / account logged out (HTTP 401/403)

Tools fail with "key may have been revoked, expired, or the account was logged out… ask the user for a fresh key and call setup_auth"

Diagnosis

get_auth_status(){configured, source: stored|environment, masked_key}

Switching accounts

logout() deletes the stored credential

Key resolution happens per request: stored credential → SPLITWISE_API_KEY env var → none. A freshly saved key takes effect immediately in the running process — zero restarts.

Credentials live at ~/.config/splitwise-mcp/credentials.json (mode 0600). Override the directory with SPLITWISE_MCP_CONFIG_DIR (handy for tests or multi-profile setups).

Agent ergonomics

You:      "add dinner 900 split with alice and bob@x.com, groceries"
Agent:    quick_add_expense(description="Dinner", cost="900.00",
                            participants=["alice", "bob@x.com"],
                            category_name="groceries")
Server:   resolves alice→12? two matches! → error listing Alice A (id 10), Alice Wood (id 12)
Agent:    "Which Alice?"  → you answer → re-call succeeds
Server:   { status: created, expense_id: 99123,
            splits: [ "Nikhil paid 900.00 INR",
                      "Alice A owes 300.00 INR",
                      "Bob B owes 300.00 INR" ] }
  • quick_add_expense — names/partial-names/emails/IDs accepted; equal shares computed with remainder cents distributed deterministically; custom owed_shares validated to sum exactly; payer included by default (include_payer_in_split=false when they didn't consume); currency defaults from your profile.

  • resolve_users — email exact-match, full-name match, unique first-name, substring fallback; ambiguity returns candidates instead of guessing.

  • money_summary — per-currency owed_to_you / you_owe / net, friend-level balances, and group simplified debts involving you.

Tool reference (33)

Group

Tools

Workflows

quick_add_expense · resolve_users · money_summary

Users

get_current_user · get_user · update_user

Groups

get_groups · get_group · create_group · delete_group* · undelete_group · add_user_to_group · remove_user_from_group

Friends

get_friends · get_friend · create_friend · create_friends · delete_friend*

Expenses

get_expenses · get_expense · create_expense · update_expense · delete_expense* · undelete_expense

Comments

get_comments · create_comment · delete_comment*

Notifications

get_notifications

Other

get_currencies · get_categories

Auth

setup_auth · get_auth_status · logout*

* annotated destructiveHint=true; all get_* tools annotated readOnlyHint=true. Prefer workflow tools over their raw counterparts whenever both exist.

Rate limiting

Splitwise answers HTTP 429 when throttled. open-splitwise retries automatically: Retry-After header honored verbatim; otherwise exponential backoff (0.5 s doubling, capped at 30 s), up to 3 attempts by default. Agents see an error only if every attempt is exhausted — and that error says to slow down, not retry blindly.

Configuration

Env var

Default

Purpose

SPLITWISE_API_KEY

Bootstrap key (stored credentials take precedence)

SPLITWISE_MCP_CONFIG_DIR

~/.config/splitwise-mcp

Where credentials.json lives

SPLITWISE_MCP_MAX_RETRIES

3

429 retry attempts before surfacing

SPLITWISE_MCP_LAZY

on

off registers all 33 tools upfront

Splitwise quirks handled for you

  • Array params flattened to Splitwise's odd users__{index}__{property} encoding

  • 200 OK ≠ success: errors{} / success:false checked on every mutation

  • Money as decimal strings with 2 dp; remainder cents distributed, sums always exact

  • category_id must be a subcategory — enforced via fuzzy name resolution

  • Balances/debts read from pre-computed balance[] / simplified_debts (never recomputed)

  • "Settle up" is just an expense with payment:true (no dedicated endpoint exists)

  • OAuth2 exists but is deliberately out of scope: personal API keys fit the agent-asks-user flow; OAuth needs a redirect URI + browser (hosted deployments only)

Architecture

┌─────────────── any MCP client ───────────────┐
│  Hermes / Claude Desktop / Cursor / …        │
└──────────────────┬───────────────────────────┘
                   │ JSON-RPC over stdio
┌──────────────────▼───────────────────────────┐
│ server.py — FastMCP app, 33 tools            │
│   workflows · raw endpoints · auth lifecycle │
├──────────────────────────────────────────────┤
│ client.py — async REST client                │
│   bearer auth (per-request key resolution)   │
│   param flattening · success verification    │
│   transparent 429 retry/backoff              │
├──────────────────────────────────────────────┤
│ auth.py — credentials.json (0600, atomic)    │
└──────────────────┬───────────────────────────┘
                   │ HTTPS
          secure.splitwise.com/api/v3.0

Development

uv run pytest                        # 54 tests: client, rate limits, auth, workflows, lazy loading, MCP semantics
uv run python scripts/smoke_stdio.py # real subprocess: handshake, discovery, live auth-failure paths

Built test-first (strict TDD): every behavior above has a failing-test-first provenance. Layout:

src/open_splitwise/
  client.py    # REST client: auth provider, flattening, retry, error mapping
  auth.py      # credential storage
  server.py    # FastMCP definitions: workflows + raw + auth tools
tests/
scripts/smoke_stdio.py

Terms of use

Splitwise's self-serve API is non-commercial per their API terms. Your API key grants full access to your account — treat it like a password. This project is an independent integration and is not affiliated with or endorsed by Splitwise Inc.

Roadmap

  • Receipt upload on expense creation

  • Multi-currency expense helper with conversion awareness

  • Recurring-expense summaries as an MCP prompt

  • Optional Streamable HTTP transport for hosted/multi-user deployments (+OAuth2)

  • Publish to PyPI (uvx open-splitwise)

Contributing

PRs welcome — please keep the TDD discipline (tests fail first, then pass), keep tool descriptions written for models, and never log secrets.

License

MIT — open for everyone: use it, modify it, ship it, sell with it. Just keep the copyright notice.

Available Tools

7 tools
get_auth_statusA
Read-only

Report whether a Splitwise API key is configured, where it came from (stored credential vs environment), and a masked preview. Use this to diagnose auth failures.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint=true, so the description doesn't need to restate that. It adds meaningful context beyond the annotation by specifying what the report contains (configured status, source, masked preview), which helps an agent understand the tool's output. There is no mention of side effects, but given the read-only hint, none are expected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no fluff. The first sentence front-loads the core purpose and outputs, while the second sentence gives the practical use case. Every word earns its place, making it easy to scan and understand quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter diagnostic tool, the description is complete. It tells the agent what it reports, where the information comes from, and when to use it. No output schema exists, but the description's list of reported items (configured status, source, masked preview) sufficiently covers what the agent can expect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has no parameters, and schema coverage is 100%, so the schema fully documents the parameter space. Baseline for such tools is 4, and the description appropriately doesn't try to add parameter details that don't exist. The description focuses on behavior rather than parameters, which is correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Report' and identifies the exact resource: whether a Splitwise API key is configured, its source, and a masked preview. This clearly distinguishes it from sibling tools like setup_auth and logout, which perform different actions. An agent can immediately understand what this tool does without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states 'Use this to diagnose auth failures,' providing a clear directive for when to call this tool. While it doesn't mention alternatives by name, the intent is unmistakable and aligned with the diagnostic nature of the tool, separating it from setup or logout operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

logoutA
Destructive

Remove the stored Splitwise API key (log out). Environment-provided keys cannot be removed here and remain active as fallback.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations provide destructiveHint=true, and the description adds meaningful context beyond that: the exact behavior (removing stored key) and the edge case that environment-provided keys are unaffected. This is valuable operational information an agent needs before invoking.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that delivers the core action first and the fallback limitation second. Every word earns its place; there is no fluff or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple no-parameter logout tool, the description is nearly complete: it states the action, the limitation, and the persistent fallback behavior. It does not mention return values, but given the simplicity and destructive nature, the absence is not a significant gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so schema coverage is trivially 100%. With 0 parameters, the baseline is 4 because there is no parameter behavior to explain. The description adds no parameter details, which is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action: 'Remove the stored Splitwise API key' and equates it with 'log out'. It names the specific resource (stored API key) and is distinct from siblings like setup_auth and get_auth_status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context for when to use the tool (to remove a stored key) and importantly identifies a key limitation: environment-provided keys cannot be removed and remain active as fallback. It does not explicitly name alternative tools but the use case is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

money_summaryA
Read-only

One-call financial overview: per-currency totals of what you are owed vs what you owe across all friends, plus each friend's balance and simplified group debts. Replaces manual aggregation over get_friends/get_groups.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnlyHint annotation, the description adds meaningful behavioral context: it aggregates across all friends, reports totals per currency, breaks out owed vs owe, includes per-friend balances, and includes simplified group debts. It does not explain the simplification algorithm or auth prerequisites, but it discloses the core behavior sufficiently.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense sentence that front-loads the core value proposition ('One-call financial overview') and then enumerates the exact outputs. Every phrase earns its place and there is no fluff or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-parameter read-only tool, the description is largely complete: it states scope, output categories, and even the alternative it replaces. The lack of an output schema means exact field names are not disclosed, but that is not essential for selecting and invoking this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so there is no parameter burden for the description to carry. The baseline for no-parameter tools is 4, and the description contains nothing misleading or unnecessary about inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies a specific resource and purpose: a one-call financial overview with per-currency owed/owe totals, per-friend balances, and simplified group debts. It also distances itself from manual aggregation over get_friends/get_groups, making it easy for an agent to know what this tool uniquely provides.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says this replaces manual aggregation over get_friends/get_groups, giving a concrete when-to-use signal. It doesn't spell out when not to use it or name direct sibling alternatives, but the use case is clear enough for a no-parameter read-only tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

quick_add_expenseA

Agent-friendly expense creation from messy input. Participants can be names, partial names ('alice'), emails or user IDs; they are resolved automatically. Splits equally among participants plus the payer by default (set include_payer_in_split=false when the payer did not consume); pass owed_shares like {"Alice": "100.00"} for custom amounts that must sum to cost. category_name is fuzzy-matched against Splitwise categories; currency defaults to your default currency. Returns who owes what.

ParametersJSON Schema
NameRequiredDescriptionDefault
costYes
dateNo
detailsNo
paid_byNome
group_idNo
descriptionYes
owed_sharesNo
participantsYes
category_nameNo
currency_codeNo
include_payer_in_splitNo

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full behavioral burden. It discloses automatic participant resolution, equal-split default, payer-inclusion behavior, the custom owed_shares sum constraint, fuzzy category matching, currency defaulting, and the return value ('who owes what'). This is rich transparency, though it omits edge-case behavior like unresolvable participants or failure modes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a dense but well-organized paragraph. It front-loads the core purpose and then efficiently covers the most important configurable behaviors. Each sentence earns its place; there is no filler. It is a bit long, but justified by the need to document 11 parameters without schema aid.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 11 parameters, no output schema, and no annotations, the description is notably complete. It covers participant resolution, splitting defaults, custom shares, category handling, currency defaulting, and return shape. Minor gaps remain (e.g., what happens when participant resolution fails, group_id semantics, cost string format), but the core usage is well covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does. It explains the flexible formats for participants (names, partial names, emails, IDs), the meaning of include_payer_in_split, the required sum constraint for owed_shares, and the fuzzy-matching behavior of category_name. Some parameters like cost format and group_id semantics are left to inference, but the description adds substantial meaning to the most nuanced parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the action ('expense creation') and the resource ('expense'), with a distinctive angle: 'Agent-friendly expense creation from messy input.' This differentiates it from the sibling tools, which are auth-related (setup_auth, get_auth_status, logout), discovery (search_tools, resolve_users), or summary (money_summary). The purpose is unambiguous and specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies its usage by highlighting 'messy input' and automatic resolution, suggesting it is the go-to tool for flexible or unnormalized participant input. However, it never explicitly contrasts with alternatives or states when not to use it. It provides parameter-level guidance (e.g., include_payer_in_split=false when the payer did not consume) but no tool-selection guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

resolve_usersA
Read-only

Resolve human-friendly identifiers (names, partial names, emails, user IDs, 'me') into Splitwise user IDs. Ambiguous names return candidate lists so you can ask the user which one they meant.

ParametersJSON Schema
NameRequiredDescriptionDefault
queriesYes

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnlyHint annotation, the description discloses that ambiguous names return candidate lists for user disambiguation. It also communicates the accepted input varieties (partial names, emails, 'me'). This adds meaningful behavioral context without contradicting the annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two efficient sentences contain zero filler and front-load the core purpose, with the behavioral nuance about ambiguous names added as a secondary sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no output schema, the description should clarify the return format. It mentions candidate lists for ambiguous cases but does not specify their structure, nor what happens for unambiguous matches or not-found cases. The single-parameter design keeps the gap modest, but some important call semantics remain undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the undocumented 'queries' parameter. It explains what query strings represent and the range of acceptable values, though it does not explicitly describe array semantics or limits.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool resolves human-friendly identifiers (names, partial names, emails, user IDs, 'me') into Splitwise user IDs, with a specific verb and resource. It is easily distinguished from sibling tools like quick_add_expense or money_summary, as it is the only identifier-resolution tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The intended use is implied: use when you need to convert a user identifier into a Splitwise user ID. However, it does not explicitly state when to use this tool vs alternatives, nor does it mention any exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_toolsA

Discover the hidden raw Splitwise tools on demand (lazy loading keeps this server's default token footprint tiny).

With no query: returns a compact group index. With a query (e.g. 'expenses', 'groups', 'notifications' or a tool name): returns matching tools WITH their full input schemas and registers them into this session so they can be called directly. enable=false only reports. After enabling, clients that support tools/list_changed refresh automatically.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryNo
enableNo

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden and does so well. It discloses the side effect of registering tools into the session, the meaning of enable=false, the lazy-loading design, and the automatic tools/list_changed refresh after enabling. These are significant behavioral traits beyond the basic function.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact, front-loaded with the tool's purpose, and uses parallel 'With no query...' / 'With a query...' structure for instant comprehension. Every sentence carries useful information; the parenthetical on lazy loading is brief and justifies the design without bloating the text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter meta-tool with no annotations and no output schema, the description is nearly complete. It covers both modes, side effects, and refresh behavior, but doesn't detail the structure of the 'compact group index' or the exact response format for matching tools, which an agent might need for downstream parsing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides only names and defaults with 0% description coverage, so the description must explain the parameters and does so thoroughly. It explains query semantics (no query vs. query examples) and enable semantics (default true, enable=false only reports), adding substantial meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Discover') and resource ('hidden raw Splitwise tools'), and clearly distinguishes the tool from action-oriented siblings by explaining it is a meta-tool for discovering/registering tools. The two operational modes (with and without query) are precisely described, leaving no ambiguity about what the tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear usage context: no query returns a group index, a query returns matching tools with schemas and registers them, and enable=false reports only. It does not explicitly name alternatives or when-not-to-use conditions, but the sibling tools are not interchangeable with a discovery tool, so the guidance is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

setup_authA

Configure or replace the Splitwise API key. Validates the key against Splitwise before saving, so a wrong key is never stored. Ask the user to generate a personal API key at https://secure.splitwise.com/apps and pass it here.

ParametersJSON Schema
NameRequiredDescriptionDefault
api_keyYes

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses that the key is validated before saving and a wrong key is never stored, which is important behavioral context. It also provides a specific URL for key generation. It does not mention what happens on success (e.g., confirmation), but the core behavior is transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only two sentences, with the purpose front-loaded, followed by validation behavior and user instruction. Every sentence adds value, and there is no filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter setup tool, the description covers the purpose, the input source, and the validation side effect. It does not explicitly describe the output (none defined) or error scenarios, but the core usage is fully captured. Sibling tools exist for status checks, but that does not detract from completeness here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate for the undocumented api_key parameter. It does: it defines the key as the Splitwise API key, explains how to obtain it, and notes that validation occurs. This goes well beyond the bare schema field name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Configure or replace') and a clear resource ('Splitwise API key'). It also states the validation action, making the tool's purpose unmistakable. It is clearly distinct from siblings like get_auth_status and logout, which deal with status and session termination.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description makes it clear this tool is used when the user needs to set up or replace the API key, and instructs the agent to ask the user for a key. It gives clear context but does not explicitly mention when NOT to use it or name alternative tools, so it falls just short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 7 tool updatesv0.1.0
    • First observedget_auth_status
    • First observedlogout
    • First observedmoney_summary
    • First observedquick_add_expense
    • First observedresolve_users
    • First observedsearch_tools
    • First observedsetup_auth

TDQS

A4.4/5.0
Disambiguation5/5

Each visible tool has a clearly distinct role: auth setup/status/logout form a lifecycle, resolve_users handles identifier mapping, quick_add_expense creates expenses, and money_summary provides balances. search_tools is explicitly a discovery/meta tool, so there is no meaningful overlap between tools.

Naming Consistency4/5

Most tools follow a clear verb_noun snake_case pattern such as setup_auth, get_auth_status, resolve_users, quick_add_expense, and search_tools. logout and money_summary deviate slightly as a bare verb and a noun-noun phrase, but the naming remains easily predictable.

Tool Count5/5

Seven tools is a well-scoped count for this server. It covers authentication, user lookup, expense creation, financial summary, and dynamic tool discovery without unnecessary bloat, and the lazy-loading design keeps the default surface compact.

Completeness4/5

The visible high-level tools cover auth, user resolution, expense creation, and summary, which handles common Splitwise workflows. search_tools explicitly exposes hidden raw tools for expenses, groups, and notifications, mitigating most gaps, though direct visible listing/update/delete expense helpers would make common management tasks more straightforward.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to manage Splitwise expenses with atomic duplicate prevention, smart fuzzy matching, and support for flexible split ratios between two people.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables conversational control of Splitwise accounts through Claude AI, allowing users to add expenses, check group balances, record settlements, and manage payment splits using natural language commands. Supports multiple currencies and flexible splitting methods including equal, exact, and percentage-based divisions.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language management of Splitwise expenses, groups, and friends via the Model Context Protocol, with dual authentication and fuzzy name resolution.
    11
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables managing Splitwise expenses and generating premium spending analytics with category breakdowns, trends, and settlement optimization through natural language.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nnishad/open-splitwise-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server