Xero MCP — Claude Code MCP server: what it does, how to install
Connects your coding agent to Xero Accounting and syncs records into a local SQLite database. Useful for offline account reconciliation and ledger audits.
Open on GitHubWhat Xero MCP does
The server downloads accounting records from Xero directly into an SQLite database. Local storage speeds up ledger checks. Your agent inspects accounts and balances the general ledger without waiting for remote API responses.
The package includes two binaries: xero-mcp and the companion CLI xero-cli. Both install into your user directory.
Do not enable --transport http. That mode lacks password protection, so stay with the default stdio transport to prevent unauthorized local calls.
What it helps with
- sync Xero accounting data into an offline SQLite file
- calculate accounts receivable aging reports without network round-trips
- reconcile bank accounts against local database snapshots
- run general ledger tie-out checks via your AI agent
Example prompts for the agent
- Fetch overdue invoices from Xero and calculate account aging.
- Sync records into SQLite and run a bank reconciliation check.
- Inspect the local ledger to verify general ledger tie-outs.
How to install Xero MCP
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Xero MCP
How to install Xero MCP in Claude Code?
Register the marketplace repository with /plugin marketplace add Servosity/msp-skills, then install the tool by running /plugin install xero@msp-skills.
What does Xero MCP do?
It reads accounting records from Xero and writes them into a local SQLite ledger, letting AI assistants compute aging reports and reconcile accounts offline.
Why is HTTP transport mode restricted?
Starting the server with --transport http exposes an unauthenticated endpoint across all network interfaces, which risks exposing your accounting credentials.