Skip to content

MCP server

Xero MCP Server

Local MCP server for Xero accounting that lets AI clients list and create invoices, contacts, bank transactions, payments, accounts and balance sheet reports.

  • Community
  • Runs locally
  • OAuth

Repository and documentation last checked Built from public product pages and documentation. SourcesClaim this listing

ecommerceguide summary

Xero MCP Server connects Model Context Protocol clients to Xero accounting software. Tools list and retrieve invoices, contacts, bank transactions, payments, quotes, the chart of accounts, organisation details and balance sheet reports, and create contacts and bank transactions or update existing invoices and transactions. It runs locally over stdio via npx -y xero-mcp@latest, using a Xero OAuth 2.0 app for client ID and secret. Maintained by Jianyang Zhang under the MIT licence.

Why it stands out

Community-maintained MCP server that runs locally via npx and authenticates through your own Xero OAuth 2.0 app.

What Xero MCP Server does

ecommerceguide editorial
  • Local stdio server installed with npx -y xero-mcp@latest
  • Read and write: create contacts, bank transactions, update invoices
  • Reads invoices, payments, quotes, chart of accounts, balance sheet
  • OAuth 2.0 consent page opens in browser on first use
  • Setup steps documented for Claude Desktop and Claude Code
  • Community project by Jianyang Zhang, TypeScript, MIT licence
  • Xero data passes through the LLM you connect it to

How ecommerce teams could use it

ecommerceguide editorial

Illustrative scenarios written by ecommerceguide from the product's documented capabilities. They are not customer case studies.

  1. Ecommerce operator running bookkeeping in Xero

    Checking outstanding sales invoices and recent spent money transactions from Claude Desktop

    Intended outcomeThe server returns invoice, payment and bank transaction records from Xero without opening the Xero interface

  2. Store owner reconciling a monthly bank statement

    Adding received money transactions against a specific revenue account code

    Intended outcomecreate_bank_transactions writes the transactions to Xero, and update_bank_transaction amends line items or contacts afterwards

  3. Developer working in Claude Code alongside a finance workflow

    Pulling balance sheet and chart of accounts data for ad hoc financial questions

    Intended outcomeget_balance_sheet and list_accounts return the figures through the MCP connection after the OAuth consent flow

Who it suits

ecommerceguide editorial

Best for

You keep accounts in Xero, use Claude Desktop or Claude Code, and can create a Xero OAuth 2.0 app to run a local server.

Probably not for

You need a hosted remote endpoint, a user interface with approvals, or want to avoid Xero data passing through the LLM.

Business size
Any stageThe project is a free MIT-licensed local server with no pricing or stated audience, so it suits any Xero user able to configure it.

Technical details

From the vendor's own pages

From the server's repository, documentation and MCP directory listings.

What an agent can do
Accounting, Customers, Payments, Analytics
Transport
stdio (local)
Authentication
OAuthCreate an OAuth 2.0 app in Xero for CLIENT_ID and CLIENT_SECRET; Xero login page pops up for consent on first tool use.
Package
xero-mcp (npm)
Language
TypeScript
Licence
MIT
Repository last updated
29 Sep 2026

Connect Xero MCP Server

Third-party data

Setup documented for

Install command
npx -y xero-mcp@latest

Command as listed on the repository README, not tested by ecommerceguide. Check the repository README (opens in a new tab) for configuration and credentials before running it.

Works with

Ecommerce platforms and services

  • Xero logoXero

Systems this server reads from or writes to.

Often used alongside

ecommerceguide editorial

Categories and use cases

Sources

ecommerceguide profiles are built from public product information and written for ecommerce teams. We do not test products, and paying never changes where a listing ranks.

Also listed on MCP Market.

See something incorrect? Report an update