Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Xero MCP Server

MCP server by XeroAPI Verified · npm:@xeroapi

Xero MCP Server connects AI assistants to Xero's accounting API through the Model Context Protocol. It covers contacts, the chart of accounts and invoices. It is aimed at developers and Xero users who have API credentials.

  • Score 91
  • 399 stars
  • 76k a week
  • MIT
  • Updated

Install Xero MCP Server

Built from the published package, never by AI.

claude mcp add xero-mcp-server -- npx -y @xeroapi/xero-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Xero MCP Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the xero-mcp-server block.

About

The Xero MCP Server is a Model Context Protocol server that bridges MCP clients and Xero's API. It gives AI assistants standardised access to Xero accounting and business features. The source lists contact management, chart of accounts management, invoice creation and management, and MCP protocol compliance.

The server supports two authentication modes. Custom connections use a client ID and secret for a specific organisation, and the source recommends them for testing, development and clients such as Claude Desktop. Bearer tokens suit cases where multiple Xero accounts are used at runtime and the MCP client runs an auth flow such as PKCE. The server is installed with npx or run from a local build, and it is aimed at developers and Xero users who want Xero data available to an AI assistant.

Written from the project's README and checked against it.

Tools it gives your assistant

  • list-invoicesRetrieves a list of invoices from Xero.
  • create-invoiceCreates a new invoice in Xero.
  • update-invoiceUpdates an existing draft invoice.
  • list-contactsRetrieves a list of contacts from Xero.
  • create-contactCreates a new contact in Xero.
  • list-accountsRetrieves a list of accounts from the chart of accounts.
  • list-bank-transactionsRetrieves a list of bank account transactions.
  • list-profit-and-lossRetrieves a profit and loss report.
  • list-aged-receivables-by-contactRetrieves aged receivables for a contact.
  • create-paymentCreates a new payment in Xero.

What you need

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

Try asking

  • List my unpaid invoices from Xero
  • Create a draft invoice for a contact in Xero
  • Show my profit and loss report for this period

Good to know

  • Custom connection scopes depend on when the connection was created.
  • Payroll-specific queries require the region to be NZ or UK.
  • Some OAuth scopes are deprecated in favour of more granular scopes.
  • Bearer token mode requires the MCP client to handle the auth flow.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Xero MCP Server

All alternatives →
mcp stripe
96

Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.

AAA Remote 2.1k
TradingMCPatilaahmettaner
94

Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.

AAA Remote 5.4k
CCXTccxt
94

CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.

AAA Local 45k
Finance ToolkitJerBouma
94

Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.

AAA Local and remote 5.6k
Vapi Network MCP vAPI-Network
94

Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.

AAA Local 6.2k
Finance DatabaseJerBouma
94

Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.

AAA Local and remote 9.7k

Compare with mcp, TradingMCP or CCXT

Xero MCP Server: common questions

Which Xero features does the MCP server support?

The source lists contact management, chart of accounts management, invoice creation and management, and MCP protocol compliance. It also provides tools for payments, bank transactions and reports.

Which authentication method should I use?

The source recommends custom connections for testing, development and third-party clients such as Claude Desktop. Bearer tokens are suggested when supporting multiple Xero accounts at runtime with an auth flow such as PKCE.

Can I use the MCP server with a Xero demo company?

The source recommends using a Demo Company to start, because it comes with pre-loaded sample data. Demo data can be reset at any time from My Xero.

How do I install Xero MCP Server?

In Claude Code run claude mcp add xero-mcp-server -- npx -y @xeroapi/xero-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Xero MCP Server the official server?

Xero MCP Server is published by npm:@xeroapi from its verified domain in the official MCP Registry.

Is Xero MCP Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Xero MCP Server safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Xero MCP Server?

Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.

Does Xero MCP Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Xero MCP Server Install

Add to stack

Loading.