CLI and MCP server for the Splits platform.
npm install -g @splits/splits-cliThis makes the splits command available globally.
Alternatively, run without installing:
npx @splits/splits-cli <command>Get an API key from Teams Settings and set it as an environment variable:
export SPLITS_API_KEY=sk_...# List transactions
splits transactions list
splits transactions list --chainId 1 --limit 100
splits transactions list --account 0x... --cursor <cursor>
# Get a specific transaction
splits transactions get <id>
# Update gas estimates for an existing transaction
splits transactions update-gas-estimation <id>For multisig transactions, gas can only be refreshed when exactly one signer remains.
# List accounts
splits accounts list
splits accounts list --includeArchived
# Get account details
splits accounts get <address>Register the CLI as an MCP server so Claude can use Splits tools directly:
# Using the built-in command (auto-detects Claude Code, Cursor, etc.)
splits mcp add
# Or manually with Claude Code
claude mcp add splits -e SPLITS_API_KEY=sk_read_... -- npx @splits/splits-cli --mcpThe MCP server exposes these tools:
transactions_list— List transactions for your orgtransactions_get— Get transaction detailstransactions_update_gas_estimation— Update gas estimates for an existing transactionaccounts_list— List accounts in your orgaccounts_get— Get account details by address
| Variable | Required | Description |
|---|---|---|
SPLITS_API_KEY |
Yes | API key from Teams Settings |
SPLITS_API_URL |
No | Override the API base URL (defaults to production) |