Xero MCP Server
MCP server for Xero - global cloud accounting for SMBs. Xero is the 2 global SMB ERP and the leader in the UK, Australia, and New Zealand, with rapid expansion in the US. Paired with QuickBooks, the two platforms cover roughly 80% of global SMB accounting. For LatAm SaaS serving US/UK/AU/NZ customers or with international subsidiaries, Xero is the essential complement to our Brazil-native ERPs (Omie, Conta Azul…. Its 24 documented tools cover invoice, contact, payment, bank.
People connecting finance tools to Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.
One of 127 MCP servers published from codespar/mcp-dev-latam. Stars and repository activity are shared across all of them. See all 127 →
VERIFIED ACTIVE
LAST COMMIT 2026-08-12 · VERIFIED 2026-08-25
MIT · JavaScript servers · how we verify → /methodology
01 · Install Xero
before you install - you'll need
Set XERO_ACCESS_TOKEN, XERO_TENANT_ID, MCP_HTTP before connecting.
Claude Code
claude mcp add codespar-mcp-dev-latam-packages-erp-xero -- npx -y @codespar/mcp-xero Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"codespar-mcp-dev-latam-packages-erp-xero": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-xero"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package @codespar/mcp-xero - published under the repo owner's npm scope (@codespar)
registry namespace io.github.codespar is GitHub-verified and matches the repo owner
03 · What Xero can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can create a Xero contact (customer or supplier - Xero uses one unified Contact object with IsCustomer/IsSuppli.., retrieve a single Xero contact by ContactID (UUID), create an invoice in Xero, and retrieve a single invoice by InvoiceID (UUID) or InvoiceNumber.
Capability map
Tools grouped from the project's README - what Xero lets an agent do.
read & search
8 tools - e.g. List Xero contacts.; List invoices with optional Xero where-clause filtering.; List all items/products in the Xero tenant.
list_contacts · list_invoices · list_items · list_accounts · list_payments · list_organisations…
Invoice
5 tools - e.g. Create an invoice in Xero.; Retrieve a single invoice by InvoiceID (UUID) or InvoiceNumber.; Email an AUTHORISED invoice to the contact's email address on file.
create_invoice · get_invoice · email_invoice · update_invoice · void_invoice
Contact
4 tools - e.g. Create a Xero contact (customer or supplier - Xero uses one unified Contact object with IsCustomer/IsSuppli...; Retrieve a single Xero contact by ContactID (UUID).; Update an existing Xero contact.
create_contact · get_contact · update_contact · archive_contact
Payment
2 tools - e.g. Record a payment against an invoice or credit note.; Retrieve a single payment by PaymentID.
create_payment · get_payment
Bank
2 tools - e.g. Create a bank transaction (SPEND = money out, RECEIVE = money in) directly on a bank account - for transact...; List bank transactions (spend/receive entries on bank accounts).
create_bank_transaction · list_bank_transactions
Credit
2 tools - e.g. Create a credit note.; List credit notes.
create_credit_note · list_credit_notes
create & write
1 tool - e.g. Create a Xero inventory/product item.
create_item
04 · Who maintains Xero
mcp-xero is maintained by codespar. We track 127 MCP servers from codespar - 127 actively maintained, 269 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from codespar.
- mcp-asaas MCP server for Asaas - billing automation, Pix, boleto, credit card, subscriptions ★ 269
- mcp-omie MCP server for Omie - ERP, customers, products, orders, invoices, financials ★ 269
- mcp-sendgrid MCP server for SendGrid - global transactional + marketing email (Twilio-owned) ★ 269
- mcp-evolution-api MCP server for Evolution API - WhatsApp messaging, instances, contacts ★ 269
- mcp-stripe-acp Stripe ACP - AI agent checkout, payment delegation, products, invoices ★ 269
- mcp-mercado-bitcoin MCP server for Mercado Bitcoin - Brazilian crypto exchange, trading, orderbook, withdrawals ★ 269
05 · Facts
- repository
- github.com/codespar/mcp-dev-latam
- category
- finance - actively maintained as of 2026-08-25.
- registry
- io.github.codespar/mcp-xero (active, first published 2026-06-20 · 2 versions)
- packages
- npm:@codespar/mcp-xero
06 · Xero FAQ
Is Xero still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-12. We re-verify nightly.
What can Xero do?
With this server connected, an agent can create a Xero contact (customer or supplier - Xero uses one unified Contact object with IsCustomer/IsSuppli.., retrieve a single Xero contact by ContactID (UUID), create an invoice in Xero, and retrieve a single invoice by InvoiceID (UUID) or InvoiceNumber.
How do I install Xero?
Run `npx -y @codespar/mcp-xero`. The README documents 3 environment variables (XERO_ACCESS_TOKEN, XERO_TENANT_ID, MCP_HTTP) to set first. Set XERO_ACCESS_TOKEN, XERO_TENANT_ID, MCP_HTTP before connecting. You can also paste the ready-made client config above.
Does Xero run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Xero
Alternatives to Xero
Maintained finance servers if Xero isn't the fit.
- Tradingview MCP Real-time market data, screeners, technical analysis & backtesting for stocks, crypto and forex. ★ 4,214 · 2026-08-24
- Edgar Tools Open-source SEC EDGAR toolkit - 11 tools, 7 prompts, every filing type. No API key required. ★ 2,613 · 2026-08-25
- Emilia Protocol Exact-action approval for consequential agent actions: request, track, and verify signed receipts. ★ 787 · 2026-08-25
- xbbg MCP Local Bloomberg tools for xbbg users. ★ 737 · 2026-08-14
- TickDB Market Data Real-time & historical market data: forex, stocks, crypto, indices, metals, K-line, quotes ★ 712 · 2026-06-20
- Finlab AI Quantitative trading toolkit with 900+ data columns, backtesting, and 60+ strategy examples. ★ 413 · 2026-08-14
Pairs well with
Servers that cover what Xero doesn't - only shown when the pairing reason fits the companion.
More finance MCP servers · Conta Azul · Belvo · Clip · Conekta · Adyen
More JavaScript MCP servers · Focus Nfe · Nfe Io · Nuvem Fiscal · Clearsale · see all