by john-zhang-dev
Enables clients to interact with Xero Accounting Software via a Model Context Protocol server, supporting authentication, data retrieval, and transaction creation.
Provides a Model Context Protocol server that lets client applications perform authenticated operations on Xero, such as retrieving financial reports, listing accounts, contacts, invoices, and creating bank transactions.
CLIENT_ID
and CLIENT_SECRET
.claude_desktop_config.json
under mcpServers.xero-mcp.env
together with the redirect URI (http://localhost:5000/callback
).npx -y xero-mcp@latest
.authenticate
tool.npx
.Q: Do I need a paid Xero account? A: A free Xero user account is sufficient for development; you can also use the Xero Demo Company for testing.
Q: Which environment variables are required?
A: XERO_CLIENT_ID
, XERO_CLIENT_SECRET
, and XERO_REDIRECT_URI
must be set in the server configuration.
Q: Will my Xero data be sent to the LLM? A: Yes, after the OAuth flow the data may pass through the LLM you use; use a demo company for safe testing.
Q: How do I update the server version?
A: Change the package version in the args
array (e.g., xero-mcp@latest
) and restart Claude Desktop.
Q: Can I run the server without Claude Desktop?
A: The server is an npm package and can be launched manually with the same npx
command, provided the required environment variables are set.
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/callback
Modify 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"
"Track my spendings over last week"
"Add all transactions from the monthly statement into my revenue account (account code 201) as receive money"
MIT
Please log in to share your review and rating for this MCP.
{ "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" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by goat-sdk
Enables AI agents to send and receive payments, purchase goods and services, execute investment strategies, tokenize assets, and obtain financial insights by leveraging blockchains, stablecoins, and wallets.
by financial-datasets
Provides access to income statements, balance sheets, cash flow statements, stock prices, market news, and cryptocurrency data through MCP tools for AI assistants.
by alpacahq
Enables large language models to trade stocks and options, retrieve real‑time and historical market data, and manage portfolios using plain English commands through a local or remote MCP server.
by XeroAPI
Provides a bridge between the Model Context Protocol and Xero's API, enabling standardized access to Xero accounting and business features.
by stefanoamorelli
Provides an MCP server that connects AI models to SEC EDGAR filings, enabling real‑time retrieval of company filings, financial statements, and insider‑trading data with exact XBRL precision and verifiable filing references.
by ariadng
Enables AI LLMs to execute trades on the MetaTrader 5 platform through the Model Context Protocol.
by calvernaz
Provides access to Alpha Vantage stock market data via an MCP server, supporting stdio and HTTP streaming modes with optional OAuth 2.1 authentication.
by kukapay
Integrates the Freqtrade cryptocurrency trading bot with MCP, exposing its REST API as tools for AI agents to perform automated trading operations.
by kukapay
Provides a comprehensive set of cryptocurrency technical analysis indicators and ready‑to‑use trading strategies through an MCP interface, enabling AI agents and applications to generate buy, hold, or sell signals.