# Xero MCP Server (MCP server)

> Xero MCP Server is an MCP server that integrates with the MCP protocol. It has 386 GitHub stars, is released under the MIT license and runs locally with npx -y @xeroapi/xero-mcp-server. It works with Claude Desktop, Claude Code, Cursor and VS Code and needs an API key.

This is a Model Context Protocol (MCP) server implementation for Xero. It provides a bridge between the MCP protocol and Xero's API, allowing for standardized access to Xero's accounting and business features.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/XeroAPI/xero-mcp-server |
| GitHub stars | 386 |
| License | MIT |
| Language | TypeScript |
| Transport | stdio |
| Packages | npm: @xeroapi/xero-mcp-server |
| Remote URL | none |
| Needs API key | yes |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Finance |
| Latest release | none |
| Last commit | Oct 26, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "xero-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@xeroapi/xero-mcp-server"
      ],
      "env": {
        "XERO_CLIENT_SECRET": "your-value",
        "XERO_CLIENT_BEARER_TOKEN": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env XERO_CLIENT_SECRET=your-value --env XERO_CLIENT_BEARER_TOKEN=your-value --transport stdio xero-mcp-server -- npx -y @xeroapi/xero-mcp-server
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "xero-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xeroapi/xero-mcp-server"
      ],
      "env": {
        "XERO_CLIENT_SECRET": "your-value",
        "XERO_CLIENT_BEARER_TOKEN": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "xero_client_secret",
      "description": "XERO_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xero_client_bearer_token",
      "description": "XERO_CLIENT_BEARER_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "xero-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xeroapi/xero-mcp-server"
      ],
      "env": {
        "XERO_CLIENT_SECRET": "${input:xero_client_secret}",
        "XERO_CLIENT_BEARER_TOKEN": "${input:xero_client_bearer_token}"
      }
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `XERO_CLIENT_ID`: Shown in the README's example configuration.
- `XERO_CLIENT_SECRET` (secret): Shown in the README's example configuration.
- `XERO_SCOPES`: Shown in the README's example configuration.
- `XERO_CLIENT_BEARER_TOKEN` (secret): Shown in the README's example configuration.

## Similar MCP servers

- [Stock Screener](https://appsgit.com/mcp-servers/stock-screener): Daily stock screens, RS ratings, market breadth and group rankings for 12 markets. (396 stars, Apache-2.0)
- [Evm MCP Server](https://appsgit.com/mcp-servers/evm-mcp-server): MCP server that provides LLMs with tools for interacting with EVM networks. (379 stars, MIT, official)
- [OpenAccountants](https://appsgit.com/mcp-servers/openaccountants): Open-source AI accounting skills verified by licensed accountants (tax, VAT, payroll). (461 stars, AGPL-3.0)
- [Sec Edgar MCP](https://appsgit.com/mcp-servers/sec-edgar-mcp): SEC EDGAR MCP server that provides access to the US public filings through the US SEC EDGAR API. (378 stars, AGPL-3.0)
- [EVMole](https://appsgit.com/mcp-servers/evmole): Local structured analysis of deployed EVM runtime bytecode. (473 stars, MIT)
- [Qanat](https://appsgit.com/mcp-servers/qanat): A data platform for investment research. Ingests financial data sources and computes point-in-time financial metrics for valuation and screening. (323 stars, MIT)

---

Canonical page: https://appsgit.com/mcp-servers/xero-mcp-server
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
