# Xero [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/pipeworx-io/mcp-xero  
**GitHub Stars:** 0  
**npm Downloads (last month):** 543  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/xero-3

## Description
Xero (Accounting) MCP Pack

## Tools
Capabilities this server exposes over MCP:

- **list_organisations** — List the Xero organisations (tenants) the connected account can access, with tenant id, name, and type. Xero accounting is multi-tenant — use this first to discover the tenant_id for a specific organisation, then pass it to the other accounting tools to target that org.
- **list_invoices** — List invoices and bills from a Xero accounting organisation. Returns compact invoice summaries (number, type, status, contact, dates, total, amount due, currency) for bookkeeping, accounts-receivable, and accounts-payable review. Supports Xero filter expressions and pagination.
- **list_contacts** — List contacts (customers and suppliers) from a Xero accounting organisation. Returns name, email, status, and customer/supplier flags. Use for accounting, bookkeeping, and accounts-receivable/payable workflows. Supports Xero filter expressions and pagination.
- **get_profit_and_loss** — Get the Profit and Loss (income statement) financial report from a Xero accounting organisation for an optional date range. Returns the structured Xero report (report name, date, and row sections covering revenue, expenses, and net profit). Use for financial reporting and bookkeeping analysis.
- **list_accounts** — List the chart of accounts from a Xero accounting organisation. Returns each account's code, name, type, class, and status. Use to understand an organisation's general ledger structure for bookkeeping and financial reporting.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "xero": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-xero"],
    "env": {
      "PIPEWORX_API_KEY": "",
      "PIPEWORX_META_TOOLS": ""
    }
  }
}
```

**Requires environment variables:** `PIPEWORX_API_KEY`, `PIPEWORX_META_TOOLS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Xero does

Xero provides MCP tools for reading accounting data from a connected Xero account through Pipeworx. The available operations cover five areas:

- Discover accessible Xero organisations and their tenant IDs.
- List invoices and bills with compact financial and status details.
- List customer and supplier contacts.
- Retrieve a profit-and-loss report for an optional date range.
- Inspect an organisation's chart of accounts.

The tools are suited to bookkeeping, accounts-receivable and accounts-payable review, general ledger inspection, and financial reporting. They are read-oriented: the listed capabilities retrieve and inspect accounting information rather than create or update records.

This is an independent, unofficial integration and is not affiliated with, endorsed by, or published by Xero.

## How it works

Xero accounting is multi-tenant. Begin with `list_organisations` to identify the organisation and tenant ID available to the connected account. Pass the selected tenant ID to the other accounting tools so requests target the intended organisation.

`list_invoices` and `list_contacts` support Xero filter expressions and pagination. Invoice results include fields such as number, type, status, contact, dates, total, amount due, and currency. Contact results include name, email, status, and customer or supplier indicators. `get_profit_and_loss` returns structured report data with the report name, date, and row sections for revenue, expenses, and net profit. `list_accounts` returns account codes, names, types, classes, and statuses.

The hosted MCP endpoint is `https://gateway.pipeworx.io/xero/mcp`. It also exposes shared Pipeworx meta-tools alongside the Xero pack tools. The full gateway endpoint, `https://gateway.pipeworx.io/mcp`, provides direct access to the wider Pipeworx catalogue.

## Setup and configuration

Add the hosted endpoint to an MCP client using the Xero MCP URL. Claude Desktop, Cursor, and Windsurf are named client options. Alternatively, run the local bridge with:

```json
{
  "mcpServers": {
    "xero": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-xero"]
    }
  }
}
```

The npm package forwards requests to the hosted gateway and requires network access; it has no offline mode. An unauthenticated bridge is limited to 50 calls per day. Set `PIPEWORX_API_KEY` to a Pipeworx key to use an authenticated connection and raise the free-account limit to 200 calls per day. Set `PIPEWORX_META_TOOLS=1` if the local bridge should also list shared gateway tools such as `ask_pipeworx`.

HTTP clients can call tools through the gateway with a Pipeworx Bearer key. For example, `POST https://gateway.pipeworx.io/v1/tools/list_organisations` discovers accessible organisations.

## Tools and capabilities

- `list_organisations`: Find accessible Xero tenants and their IDs.
- `list_invoices`: Review invoices and bills with filtering and pagination.
- `list_contacts`: Retrieve customer and supplier contacts with filtering and pagination.
- `get_profit_and_loss`: Retrieve a structured income statement for an optional date range.
- `list_accounts`: Inspect the organisation's chart of accounts.
- `ask_pipeworx`: Ask questions in plain English through the gateway when shared meta-tools are enabled.

## Limitations and notes

The connection operates against a connected Xero account, so the account must be linked through Pipeworx. The local bridge depends on network access. Pack endpoints include shared Pipeworx meta-tools in addition to the Xero-specific tools, while the local npm bridge lists only the pack tools unless `PIPEWORX_META_TOOLS=1` is set. Calls are metered and billed using the Pipeworx Bearer key in the same way as hosted connections.

_Full upstream README: https://allmcps.com/mcp/xero-3/readme_

