Skip to content

Xero MCP Server

Check profit, cash position, invoices and aged receivables in your Xero organisation.

Officialby XeroHosted or on your computerChecked November 18, 2026

Xero's own connector lets Claude answer questions about revenue, profit, cash position, receivables, payables and invoices for one connected organisation at a time, with read-only access, so it cannot change your books. For write access, Xero's open-source MCP server runs on your computer and can create and update contacts, invoices, quotes, credit notes and payments, and payroll timesheets for NZ and UK organisations, through a Custom Connection.

Who is Xero MCP for?

  • Small business owners on Xero
  • Accountants and bookkeepers
  • Startup finance leads

What can you ask Xero MCP to do?

Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.

Prompt 1
What was my profit this month, and how does it compare with the same month last year?
Prompt 2
Which customers have the most overdue invoices, and how much do they owe in total?
Prompt 3
What is my current cash position, and which suppliers do I owe the most?

How to connect Xero to Claude

MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, ChatGPT, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:

New to MCP? Read what an MCP server is and how to add one.

Easiest: paste this into Claude Code
Connect the Xero MCP server to Claude Code for me: run this command: claude mcp add --transport stdio xero --env XERO_CLIENT_ID=YOUR_CLIENT_ID --env XERO_CLIENT_SECRET=YOUR_CLIENT_SECRET -- npx -y @xeroapi/xero-mcp-server@latest
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.

Or do it yourself:

claude mcp add --transport stdio xero --env XERO_CLIENT_ID=YOUR_CLIENT_ID --env XERO_CLIENT_SECRET=YOUR_CLIENT_SECRET -- npx -y @xeroapi/xero-mcp-server@latest

Type /mcp inside Claude Code, pick the server and choose Authenticate to sign in.

Hosted address: https://mcp.xero.com/mcp

Unlock the setup steps

Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.

No spam. One click to unsubscribe. We use your email to send you this bonus, new guides and news about our courses.

Good to know

The directory connector is read-only and links one organisation at a time. The local command needs the client ID and secret of a Xero Custom Connection; connections created from April 29, 2026 use Xero's newer granular scopes, which the server falls back to on its own.

How did we check Xero MCP?

Checked on November 8, 2026: the Xero listing in Claude's connectors directory (made by Xero, added April 2026, 20 read-only tools) and the XeroAPI/xero-mcp-server repo (MIT, 390 stars, last commit October 26, 2026) with its npm package (0.0.17); the hosted endpoint returned HTTP 401 with a bearer token challenge. Plan, organisation and training answers below come from Xero's help article as we read it on October 26, 2026. On November 18, 2026 the repo showed release v0.0.18 (November 10, 2026, bug fixes and dependency updates) and 394 stars.

Source: central.xero.com/s/article/Connect-Xero-using-the-Xero-connector-in-Claude?userregion=true

What do people ask about Xero MCP?

What do I need before I add the Xero connector to Claude?

Xero said, when we read its help article on October 26, 2026, that the connector is free to add: you need an active Xero subscription on any business pricing plan and a Claude account on a free or paid plan.

Can Claude change anything in my Xero books?

No. Claude's directory listing says Claude connects with read-only access: it answers questions about profit, cash, invoices and contacts but cannot edit invoices, post transactions or change your books, and its answers link back to the report, invoice or contact in Xero.

Can I connect more than one Xero organisation?

Only one at a time. To ask about another organisation, disconnect Xero in Claude's connector settings, click Connect again and choose the organisation you want.

What is the difference between the Xero connector and the Xero MCP server?

The connector is Xero's hosted, read-only way to get answers in Claude, with no developer setup. The Xero MCP server is an open-source developer tool you run yourself with Node.js 18 or later and a Xero Custom Connection or bearer token; it can also create and update contacts, invoices, quotes and payments, and handle payroll timesheets for NZ and UK organisations.

Is my Xero data used to train AI?

No. Claude's listing says data retrieved is used only to answer your questions and is never stored between sessions, and Xero's help article said that data reached through the connector isn't used to train Claude's model. How your chats themselves are used depends on your Claude plan and privacy settings.

We wrote these answers from the official pages of each product named, read on November 8, 2026.

The Xero connector answers questions about your books but does not change them. Acting on those answers, such as collecting invoices and sending them to your accountant, is what module 7 of our Claude Code course builds (early access). Free first step: our guide on how to automate invoice processing with AI, with the costs and a logged 8-invoice test.