xero-mcp-server

MCP.Pizza Chef: XeroAPI

Small business owners and bookkeepers can ask about their own Xero organisation without opening a browser tab: list contacts, invoices and quotes, pull a profit and loss or balance sheet, check who owes you money and for how long, review payroll leave balances, and create new invoices, contacts, credit notes and bank transactions. Xero publishes and maintains it themselves. You will need a Xero account plus a set of credentials you generate for your own organisation.

Data
Spreadsheets

Use This MCP server To

Ask which of my invoices are still unpaid Pull a profit and loss report for last quarter Create an invoice for a client I just finished work for Check how much leave an employee has left Look up a supplier's contact details in my books See which customers have owed me money the longest

README

Xero MCP Server

This is a Model Context Protocol (MCP) server implementation for Xero. It provides a bridge between the MCP protocol and Xero's API, allowing for standardized access to Xero's accounting and business features.

Features

  • Xero OAuth2 authentication with custom connections
  • Contact management
  • Chart of Accounts management
  • Invoice creation and management
  • MCP protocol compliance

Prerequisites

  • Node.js (v18 or higher)
  • npm or pnpm
  • A Xero developer account with API credentials

Docs and Links

Setup

Create a Xero Account

If you don't already have a Xero account and organisation already, can create one by signing up here using the free trial.

We recommend using a Demo Company to start with because it comes with some pre-loaded sample data. Once you are logged in, switch to it by using the top left-hand dropdown and selecting "Demo Company". You can reset the data on a Demo Company, or change the country, at any time by using the top left-hand dropdown and navigating to My Xero.

NOTE: To use Payroll-specific queries, the region should be either NZ or UK.

xero-mcp-server FAQ

Who makes this?
Xero, the accounting company itself. It sits in Xero's own GitHub account and was last updated in June 2026, so it is actively looked after.
Can I use this to raise an invoice just by asking?
Yes — it can create invoices, contacts, credit notes and bank transactions, so read back what it drafted before anything goes out to a customer.
Do I need a key?
Yes. You create a Custom Connection in a free Xero developer account, then paste the ID and secret it gives you into your assistant's config file.
Which apps does it work in?
Claude Desktop is the documented setup, and any other assistant that can launch a local MCP server follows the same pattern.
How hard is setup?
Middling. The software runs with a single command, but you must first create the connection inside Xero and tick the right permissions for the reports you want.
Can I try it without touching my real accounts?
Yes. Xero's free trial includes a Demo Company preloaded with sample data, and you can reset that data whenever you like.