Skip to content
MCP server

Xero

MCP server connecting AI clients to the Xero accounting API over stdio

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, API
Runs
Locally
Version
0.1.0
Listing updated
today

Similar MCP servers

About Xero

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

The README describes this as a Model Context Protocol server that lets GenAI applications work with Xero, a cloud accounting platform. It is installed from PyPI as a Python package and launched over stdio, with a Xero API key supplied through an environment variable.

According to the README it covers a broad portion of the Xero API, supports several authentication methods, and includes rate limiting, retry handling and async operation. The registry entry lists an optional API URL setting alongside the required key.

It suits developers who want an AI assistant to read or act on Xero accounting data from within an MCP-compatible client. The repository is MIT licensed and is at an early 0.1.0 version.

Install

Run in a terminal

claude mcp add xero-mcp-server --env XERO_API_KEY='<XERO_API_KEY>' -- uvx xero-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "xero-mcp-server": {
      "command": "uvx",
      "args": [
        "xero-mcp-server"
      ],
      "env": {
        "XERO_API_KEY": "<XERO_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "xero-mcp-server": {
      "command": "uvx",
      "args": [
        "xero-mcp-server"
      ],
      "env": {
        "XERO_API_KEY": "<XERO_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "xero-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "xero-mcp-server"
      ],
      "env": {
        "XERO_API_KEY": "<XERO_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "xero-mcp-server": {
      "command": "uvx",
      "args": [
        "xero-mcp-server"
      ],
      "env": {
        "XERO_API_KEY": "<XERO_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "xero-mcp-server": {
      "command": "uvx",
      "args": [
        "xero-mcp-server"
      ],
      "env": {
        "XERO_API_KEY": "<XERO_API_KEY>"
      }
    }
  }
}

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

Configuration

  • XERO_API_KEYAPI Key for XERORequired
  • XERO_API_URLAPI URL for XERO

What it does

Broad Xero API coverage
The README says the server covers a comprehensive set of Xero API endpoints.
Multiple authentication methods
Several ways of authenticating against Xero are supported, per the README.
Rate limiting and retries
Requests are rate limited and retried on failure, according to the README.
Async request handling
The server supports asynchronous operation for better throughput.
Stdio transport install
Installs from PyPI and runs over stdio for local MCP clients.

Good for

  • Asking an AI assistant questions about Xero accounting records
  • Building GenAI workflows that read or update Xero data
  • Prototyping accounting automations through an MCP client

Pricing

Open source

Free, MIT-licensed open source server

Xero FAQ

How is the server installed?

The README gives pip install xero-mcp-server, or an editable install from the GitHub source.

What credentials are needed?

The registry entry lists XERO_API_KEY as a required secret, and XERO_API_URL as an optional setting.

What license does it use?

The README states the project is released under the MIT License.

Is Xero free?

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

How do I add Xero to Claude Code?

Run this command in your terminal: claude mcp add xero-mcp-server --env XERO_API_KEY='<XERO_API_KEY>' -- uvx xero-mcp-server

What are the best alternatives to Xero?

The closest alternatives to Xero are Xero MCP, Zero Plus One MCP by usefulapi, xpnAI, Xynthera AI — JSON invoice, OpenAPI and event checks and Rechnio MCP by usefulapi.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers