$ timeahead.in
/ servers/npm/@xeroapi/xero-mcp-server
npm

@xeroapi/xero-mcp-server

MCP server implementation for Xero integration

322 stars3k/wkupdated 30d agogithub ↗
86good
▣ Overview

What it does

This MCP server bridges Claude and Xero's accounting API, exposing contacts, accounts, invoices, payments, bank transactions, and financial reports through MCP-compliant tools. It supports two authentication modes: custom connections for development and testing, and bearer tokens for multi-tenant production use. The server handles OAuth2 flows and provides structured access to core Xero features including chart-of-accounts management, invoice creation, credit notes, and reporting (profit & loss, trial balance, aged receivables).

Who it's for

Accounting teams automating Xero workflows through Claude (e.g., finance analysts querying reports, accountants processing invoices via natural language). Developers building AI agents that need programmatic bookkeeping data access. Bookkeepers using Claude Code to pre-populate transactions or verify contact details without manual entry.

Common use cases

  • Query invoice lists and generate summaries for client billing analysis
  • Retrieve profit & loss or trial balance reports and have Claude analyze them
  • Automate contact creation or updates from unstructured data
  • Pull payment records for bank reconciliation workflows
  • Create invoices from natural language descriptions

Setup pitfalls

  • Xero OAuth2 scope requirements differ by custom connection creation date (before/after Apr 29, 2026); the server auto-detects but can be overridden with XERO_SCOPES env var
  • Node.js v18+ required; if using nvm, provide full path to npx executable instead of the shorthand
  • Custom connections need XERO_CLIENT_ID and XERO_CLIENT_SECRET set in environment or Claude Desktop config
  • Xero free trial limits you to demo company; payroll queries require NZ or UK region setting
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
66
13.2
Quality
10%
80
8.0
Trust
10%
50
5.0
Total
86.2
⚿ Capabilities & Risk Explainer
fs readnetworksecrets
◆ Risk level: medium
fs read + network + secrets — requires access to credentials or environment secrets.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "xeroapixero": {
      "command": "npx",
      "args": [
        "-y",
        "@xeroapi/xero-mcp-server"
      ]
    }
  }
}
📈 Score historylast 43 snapshots
4/30/20266/21/2026 · 43 snapshots
⚙ Maintenance health
43/ 100 · is this project alive?
contributors (1y)7
top contributor share44%
releases (1y)0
ci✓ passing
⛁ Raw data
weekly downloads3k
github stars322
forks157
open issues93
license✓ present
readme length9351 chars
last publish0d ago
last commit30d ago
last updated1d ago
install verified✓ pass · 48d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points