AITeamGuide

AITeamGuide Hub · MCP server

Xero MCP server

Xero's official MCP server: lets an assistant read and create invoices, contacts, payments and reports in your Xero organisation.

MCP server★ 399 starsMITFinance & accounting

View on GitHub

Short answer: how to install Xero MCP server

Xero MCP server is an MIT-licensed, open-source MCP server on GitHub (XeroAPI/xero-mcp-server) with 399 stars as of December 2, 2026. Its last push was on November 10, 2026. To install it in Claude Code, run claude mcp add --transport stdio xero --env XERO_CLIENT_ID=your_client_id_here --env XERO_CLIENT_SECRET=your_client_secret_here -- npx -y @xeroapi/xero-mcp-server@latest. Replace the placeholder API keys or tokens with your own. It works with Claude Desktop, Any MCP client, TypeScript; steps for each are below.

Key facts

Type
MCP server
Jobs it fits
Do bookkeeping; Create invoices
Fields
Finance & accounting
Works with
Claude Desktop, Any MCP client, TypeScript
GitHub
XeroAPI/xero-mcp-server
Licence
MIT
Stars
399 as of December 2, 2026
Last updated
November 10, 2026 (last push to GitHub)
Author
@XeroAPI
Submitted by
@aiteamguide
Added to the Hub
October 21, 2026

Needs a Xero custom connection (client ID and secret).

Install / Use it

MITLocal MCP server

Download ZIP View source

Cursor

Add to Cursor

Replace the placeholder values (API keys, tokens) with your own after adding it.

Or paste into ~/.cursor/mcp.json

{
  "mcpServers": {
    "xero": {
      "command": "npx",
      "args": [
        "-y",
        "@xeroapi/xero-mcp-server@latest"
      ],
      "env": {
        "XERO_CLIENT_ID": "your_client_id_here",
        "XERO_CLIENT_SECRET": "your_client_secret_here"
      }
    }
  }
}

Claude Code

Run in your terminal

claude mcp add --transport stdio xero --env XERO_CLIENT_ID=your_client_id_here --env XERO_CLIENT_SECRET=your_client_secret_here -- npx -y @xeroapi/xero-mcp-server@latest

Replace the placeholder values (API keys, tokens) with your own after adding it.

Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude

{
  "mcpServers": {
    "xero": {
      "command": "npx",
      "args": [
        "-y",
        "@xeroapi/xero-mcp-server@latest"
      ],
      "env": {
        "XERO_CLIENT_ID": "your_client_id_here",
        "XERO_CLIENT_SECRET": "your_client_secret_here"
      }
    }
  }
}

Replace the placeholder values (API keys, tokens) with your own after adding it.

VS Code

Add to VS Code

Replace the placeholder values (API keys, tokens) with your own after adding it.

Or from the command line

code --add-mcp '{"name":"xero","type":"stdio","command":"npx","args":["-y","@xeroapi/xero-mcp-server@latest"],"env":{"XERO_CLIENT_ID":"your_client_id_here","XERO_CLIENT_SECRET":"your_client_secret_here"}}'

Codex

Run in your terminal

codex mcp add xero --env XERO_CLIENT_ID=your_client_id_here --env XERO_CLIENT_SECRET=your_client_secret_here -- npx -y @xeroapi/xero-mcp-server@latest

Replace the placeholder values (API keys, tokens) with your own after adding it.

Safety: Runs code from a third-party repo. Review the source and the permissions before installing.

Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.

How to add MCP servers in your app, step by step: Claude Code · Cursor · VS Code · Claude Desktop · Codex · Gemini CLI · Copilot CLI · OpenCode · Cline · Roo Code · Kilo Code · Zed · LM Studio · Antigravity · Windsurf · Hermes Agent · ChatGPT.

FAQ

How do I add Xero MCP server to Claude Code?

Run claude mcp add --transport stdio xero --env XERO_CLIENT_ID=your_client_id_here --env XERO_CLIENT_SECRET=your_client_secret_here -- npx -y @xeroapi/xero-mcp-server@latest in your terminal.

How do I add Xero MCP server to Codex?

Run codex mcp add xero --env XERO_CLIENT_ID=your_client_id_here --env XERO_CLIENT_SECRET=your_client_secret_here -- npx -y @xeroapi/xero-mcp-server@latest in your terminal.

How do I add Xero MCP server to Cursor?

Use the Add to Cursor button in the install panel on this page, or paste this entry under mcpServers in ~/.cursor/mcp.json: {"xero":{"command":"npx","args":["-y","@xeroapi/xero-mcp-server@latest"],"env":{"XERO_CLIENT_ID":"your_client_id_here","XERO_CLIENT_SECRET":"your_client_secret_here"}}}.

Does Xero MCP server need an API key?

Yes. The README's setup passes XERO_CLIENT_ID, XERO_CLIENT_SECRET as environment variables; replace the placeholder values with your own.

Is Xero MCP server free?

The code is open source under the MIT licence, so it's free to use. Any account or API key the connected service needs is billed by that service, not by the project; see the README.

Is Xero MCP server still maintained?

Its last push to GitHub was on November 10, 2026, and it had 399 stars as of December 2, 2026. We re-check GitHub daily.

Prefer a ready-made product?

Commercial agents for the same job, with real prices: QuickBooks Online (Intuit AI agents), Digits, Booke AI, all bookkeeping & finance agents.

Get new open-source AI tools like Xero MCP server in one weekly email

One email a week: new open-source agents, skills, MCP servers and playbooks from the Hub, plus AI agent price changes and new free plans. Free; unsubscribe anytime.

Free, no signup needed: the AI agent pricing cheat sheet, the cheapest listed plan for every job on one printable page.

The pricing cheat sheet is a free page on this site (no signup needed). Not sure yet? Read the latest issue first.

More from the Hub

Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.

Featured in our guide: Best MCP servers for finance and accounting.