Skip to content
MCP server

MCP Xero

MCP server for Xero — global cloud accounting: contacts, invoices, payments, items…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.2
Listing updated
5 days ago

Similar MCP servers

About MCP Xero

MCP Xero is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

MCP server for Xero — global cloud accounting: contacts, invoices, payments, items, reports

Install

Run in a terminal

claude mcp add mcp-xero --env XERO_ACCESS_TOKEN='<XERO_ACCESS_TOKEN>' --env XERO_TENANT_ID='<XERO_TENANT_ID>' -- npx -y @codespar/mcp-xero

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-xero": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-xero"
      ],
      "env": {
        "XERO_ACCESS_TOKEN": "<XERO_ACCESS_TOKEN>",
        "XERO_TENANT_ID": "<XERO_TENANT_ID>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-xero": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-xero"
      ],
      "env": {
        "XERO_ACCESS_TOKEN": "<XERO_ACCESS_TOKEN>",
        "XERO_TENANT_ID": "<XERO_TENANT_ID>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-xero": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-xero"
      ],
      "env": {
        "XERO_ACCESS_TOKEN": "<XERO_ACCESS_TOKEN>",
        "XERO_TENANT_ID": "<XERO_TENANT_ID>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-xero": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-xero"
      ],
      "env": {
        "XERO_ACCESS_TOKEN": "<XERO_ACCESS_TOKEN>",
        "XERO_TENANT_ID": "<XERO_TENANT_ID>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-xero": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-xero"
      ],
      "env": {
        "XERO_ACCESS_TOKEN": "<XERO_ACCESS_TOKEN>",
        "XERO_TENANT_ID": "<XERO_TENANT_ID>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • XERO_ACCESS_TOKENXero OAuth2 access token (Bearer). Obtain via Xero OAuth2 flow; rotate on expiry.Required
  • XERO_TENANT_IDXero tenant/organization id sent in the Xero-tenant-id header on every request.Required

Pricing

Open source

MCP Xero FAQ

Is MCP Xero free?

Yes. MCP Xero is open source, so you can use and self-host it for free.

How do I add MCP Xero to Claude Code?

Run this command in your terminal: claude mcp add mcp-xero --env XERO_ACCESS_TOKEN='<XERO_ACCESS_TOKEN>' --env XERO_TENANT_ID='<XERO_TENANT_ID>' -- npx -y @codespar/mcp-xero

What are the best alternatives to MCP Xero?

The closest alternatives to MCP Xero are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers

Alternatives to MCP Xero

  1. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  2. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  3. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments
  4. Stock scores, what a price assumes, earnings quality and quiet profit revisions

    • 11 tools
    • Remote
    • Free
    • Finance and payments
  5. Provyan

    MCP server

    Backtested crypto signal results on 94 coins, with luck odds and sources

    • 7 tools
    • Remote
    • Free
    • Finance and payments
  6. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    • 5 tools
    • Remote
    • Open source
    • Legal and government