MCP server
by john-zhang-dev
Seamlessly connect with Xero software to access accounts, transactions, and invoices for efficient financial analysis an
Connects to Xero accounting software to retrieve financial data like accounts, invoices, and transactions through authenticated API access. Requires OAuth setup with Xero developer credentials.
Xero Accounting is a community-built MCP server published by john-zhang-dev that provides AI assistants with tools and capabilities via the Model Context Protocol. Seamlessly connect with Xero software to access accounts, transactions, and invoices for efficient financial analysis an It is categorized under finance.
You can install Xero Accounting in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Xero Accounting is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Xero Accounting reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Useful MCP listing: Xero Accounting is the kind of server we cite when onboarding engineers to host + tool permissions.
Useful MCP listing: Xero Accounting is the kind of server we cite when onboarding engineers to host + tool permissions.
Xero Accounting is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
We evaluated Xero Accounting against two servers with overlapping tools; this profile had the clearer scope statement.
We evaluated Xero Accounting against two servers with overlapping tools; this profile had the clearer scope statement.
Xero Accounting is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
We evaluated Xero Accounting against two servers with overlapping tools; this profile had the clearer scope statement.
Xero Accounting is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Xero Accounting is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
showing 1-10 of 57
This MCP server allows Clients to interact with Xero Accounting Software.
Make sure node and Claude Desktop are installed.
Create an OAuth 2.0 app in Xero to get a CLIENT_ID and CLIENT_SECRET.
http://localhost:5000/callbackModify claude_desktop_config.json file
{
"mcpServers": {
"xero-mcp": {
"command": "npx",
"args": ["-y", "xero-mcp@latest"],
"env": {
"XERO_CLIENT_ID": "YOUR_CLIENT_ID",
"XERO_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"XERO_REDIRECT_URI": "http://localhost:5000/callback"
}
}
}
}
Restart Claude Desktop
When the Client decides to access a Xero tool for the first time, a Xero login page will pop up to ask your consent. Complete the auth flow and manually close the web page (as the Xero page will not auto close in this version)
Privacy alert: after completing the Xero OAuth2 flow, your Xero data may go through the LLM that you use. If you are doing testing you should authorize to your Xero Demo Company.
authenticate
Authenticate with Xero using OAuth2
create_bank_transactions
Creates one or more spent or received money transaction
create_contacts
Creates one or multiple contacts in a Xero organisation
get_balance_sheet
Retrieves report for balancesheet
list_accounts
Retrieves the full chart of accounts
list_bank_transactions
Retrieves any spent or received money transactions
list_contacts
Retrieves all contacts in a Xero organisation
list_invoices
Retrieves sales invoices or purchase bills
list_journals
Retrieves journals
list_organisations
Retrieves Xero organisation details
list_payments
Retrieves payments for invoices and credit notes
list_quotes
Retrieves sales quotes
"Visualize my financial position over the last month"
<img src="https://github.com/john-zhang-dev/assets/blob/main/xero-mcp/demo1.jpg?raw=true" width=50% height=50%>"Track my spendings over last week"
<img src="https://github.com/john-zhang-dev/assets/blob/main/xero-mcp/demo2.jpg?raw=true" width=50% height=50%>"Add all transactions from the monthly statement into my revenue account (account code 201) as receive money"
MIT
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.