Xero logo

Xero

Query Xero organisations, invoices, contacts, accounts, and profit-and-loss reports through MCP.

Install Xero

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "xero-3": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-xero"
      ],
      "env": {
        "PIPEWORX_API_KEY": "YOUR_VALUE_HERE",
        "PIPEWORX_META_TOOLS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env PIPEWORX_API_KEY=YOUR_VALUE_HERE --env PIPEWORX_META_TOOLS=YOUR_VALUE_HERE --transport stdio xero-3 -- npx -y @pipeworx/mcp-xero

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Xero MCP server exposes selected Xero accounting data through the Pipeworx gateway. It supports organisation discovery, invoice and bill searches, contact and chart-of-accounts listing, and structured profit-and-loss reports. Use it for bookkeeping, accounts-receivable or payable review, and financial reporting when an accessible Xero connection is available. The service can be used through a hosted MCP endpoint, a local npm stdio bridge, or HTTP tool calls.

Use cases

  • Review outstanding invoices and bills
  • Inspect customer and supplier contacts
  • Compare profit and loss across a date range
  • Discover an organisation's chart of accounts
  • Select the correct Xero tenant before querying data

Key features

  • Multi-tenant organisation discovery
  • Invoice and bill listing with filters and pagination
  • Customer and supplier contact listing
  • Structured profit-and-loss reports
  • Chart-of-accounts inspection
  • Hosted MCP and local stdio access

Tools5

What Xero lets your agent do. Expand a tool for its parameters.

Verified live~921 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 89d

What it can do

From the 5 tools this server returned when we ran it; 5 declare their own safety hints.

Makes network requests · 5Read-only tools · 5
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age155 days
Maintainers1

Observed 2026-11-06 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · @pipeworx/mcp-xero (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads543Package downloads in the last 30 days.
Last commit29d agoMost recent push to the default branch.
Tools exposed5Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Xero works

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:

config.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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Xero

Xero is an MCP server that connects AI agents to the Pipeworx gateway's Xero accounting connection. Its main tools list accessible organisations, invoices and bills, contacts, chart-of-accounts entries, and profit-and-loss reports. It supports tenant selection, filtering, pagination, and optional date ranges for financial reporting workflows.

Install it as a local stdio bridge by configuring your MCP client to run `npx -y @pipeworx/mcp-xero`. The bridge forwards requests to Pipeworx and requires network access. You can also connect directly to `https://gateway.pipeworx.io/xero/mcp` as a hosted MCP endpoint.

Yes, Xero works with Cursor through the hosted MCP endpoint. Add `https://gateway.pipeworx.io/xero/mcp` to Cursor's MCP configuration, or configure the npm stdio bridge with `npx -y @pipeworx/mcp-xero`.

Call `list_organisations` first, then use the returned tenant ID with the other accounting tools. Xero accounts can access multiple organisations, so selecting the tenant ID ensures invoice, contact, account, or report requests target the intended organisation.

Yes, `list_invoices` supports Xero filter expressions and pagination. It returns compact invoice and bill summaries including number, type, status, contact, dates, total, amount due, and currency.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewXero AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/xero-3?style=directory)](https://allmcps.com/mcp/xero-3)
HTML Embed
<a href="https://allmcps.com/mcp/xero-3"><img src="https://allmcps.com/api/badge/xero-3?style=directory" alt="Xero on AllMCPs" /></a>