{
  "info": {
    "name": "Splitwise — mcp.ai",
    "description": "REST API for the Splitwise MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/splitwise",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "splitwise_add_friend",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/friend",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "friend"
          ]
        },
        "description": "Tool to add a new friend to splitwise. use when you have the friend's email and name details ready.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user_email\": \"\",\n  \"user_last_name\": \"\",\n  \"user_first_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "splitwise_create_expense",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/expense",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "expense"
          ]
        },
        "description": "Tool to create a new splitwise expense. use when you need to record a payment or bill in a group or between users. provide either split equally or a custom users list for shares.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cost\": \"\",\n  \"date\": \"\",\n  \"users\": \"\",\n  \"details\": \"\",\n  \"group_id\": 0,\n  \"category_id\": 0,\n  \"description\": \"\",\n  \"currency_code\": \"\",\n  \"split_equally\": false,\n  \"repeat_interval\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "splitwise_delete_expense",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/expense",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "expense"
          ]
        },
        "description": "Tool to delete an existing expense by its id. use after confirming you have a valid expense id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "splitwise_delete_friend",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/friend",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "friend"
          ]
        },
        "description": "Tool to delete an existing friend by id. use when you need to remove a friend relationship by its user id. call after confirming the correct friend id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"friend_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "splitwise_get_categories",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/categories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "categories"
          ]
        },
        "description": "Tool to retrieve expense categories. use when you need to list available categories before creating an expense.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "splitwise_get_currencies",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/currencies",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "currencies"
          ]
        },
        "description": "Tool to retrieve a list of supported currencies. use when you need to display or validate currency options.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "splitwise_get_current_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/current/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "current",
            "user"
          ]
        },
        "description": "Tool to retrieve information about the current authenticated user. use when you need profile details of the logged-in user.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "splitwise_get_group",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/group",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "group"
          ]
        },
        "description": "Action to retrieve information about a group.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}