# AllSquare > AllSquare splits shared expenses in groups: who paid, who owes whom, recurring bills, and settling up. People connect AI tools to AllSquare with OAuth and approve read or write access. ## Command line (recommended for coding agents) - [CLI guide](https://allsquare.app/docs/cli): install with `npm install -g allsquare`, sign in with `allsquare auth login` - Run `allsquare agent-guide --json` first: versioned rules and workflows for agents, including confirming every change with the user - Use `--json` on every command; errors include `code`, `message`, and `retryable`, and exit codes are documented in the guide - [Full CLI reference](https://www.npmjs.com/package/allsquare) ## Chat assistants (MCP) - [AI client guide](https://allsquare.app/docs/ai-clients): connect ChatGPT, Claude, Claude Code, or Gemini CLI - MCP endpoint (remote, Streamable HTTP, OAuth): https://allsquare.app/api/mcp ## API - [API guide](https://allsquare.app/docs/api/guide): OAuth with PKCE, scopes, idempotency keys, pagination - [OpenAPI specification](https://allsquare.app/api/v1/openapi.json): machine-readable v1 contract ## Policies - [Privacy policy](https://allsquare.app/privacy-policy) - [Terms](https://allsquare.app/terms)