# quickbooks-mcp-server [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/NyxToolsDev/quickbooks-mcp-server  
**GitHub Stars:** 0  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/quickbooks-mcp-server

## Description
Connect Claude to QuickBooks Online — query finances, create invoices, run reports

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "quickbooks-mcp-server": {
    "command": "uvx",
    "args": ["quickbooks-mcp"],
    "env": {
      "QBO_CLIENT_ID": "",
      "QBO_CLIENT_SECRET": "",
      "QBO_REALM_ID": ""
    }
  }
}
```

**Requires environment variables:** `QBO_CLIENT_ID`, `QBO_CLIENT_SECRET`, `QBO_REALM_ID` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the quickbooks-mcp-server MCP server does

The quickbooks-mcp-server MCP server gives Claude access to QuickBooks Online company data through an MCP interface. It is intended for accounting workflows that would otherwise require navigating QuickBooks manually. After authorization, an agent can retrieve invoices, expenses, account balances, transactions, customers, and customer financial summaries.

The package provides 19 tools split into free and premium tiers. Free tools cover invoice lookup, expense searches, account data, and customer searches. Premium tools add financial statements, aging reports, invoice and expense creation, payment recording, financial ratios, and period comparisons.

## How it works

Authentication uses QuickBooks OAuth 2.0. You create an app in the Intuit developer portal, configure a redirect URI, then run the included OAuth setup script. The authorization flow stores tokens locally in encrypted form and refreshes access tokens when needed. The server uses the resulting company Realm ID together with the OAuth client credentials to call the QuickBooks API.

MCP tools expose the accounting operations to a compatible client. The included command is configured as a local stdio server, so Claude Desktop or Claude Code can start it from their MCP configuration. The server also applies API rate limiting, formats returned data, and sanitizes query parameters.

## Setup and configuration

Install the package with `pip install quickbooks-mcp`, or clone the repository and install it in editable mode. Create a QuickBooks Online and Payments app, add `http://localhost:8080/callback` as its redirect URI, and export the required `QBO_CLIENT_ID` and `QBO_CLIENT_SECRET` values.

Run `python scripts/setup_oauth.py` to authorize the company in a browser. Set the printed Realm ID as `QBO_REALM_ID`, then register the `quickbooks-mcp-server MCP server` command in the client configuration. Optional settings include `QBO_REDIRECT_URI`, `QBO_SANDBOX`, `TOKEN_STORE_PATH`, `LOG_LEVEL`, and `LICENSE_KEY`.

Sandbox mode is available for testing. Set `QBO_SANDBOX=true` and use development credentials rather than production keys. The default token path is `~/.quickbooks-mcp/tokens.json`.

## Tools and capabilities

Free tools include:

- Listing and filtering invoices by status, date, or customer
- Retrieving invoice line items and payment history
- Finding overdue invoices and sorting them by days overdue
- Filtering expenses by date, vendor, amount, or category
- Grouping top expenses by vendor or category
- Reading bank and credit-card balances and transactions
- Searching customers by name or email
- Viewing invoiced, paid, and outstanding customer amounts

Premium tools provide profit and loss, balance sheet, cash flow, accounts receivable aging, and accounts payable aging reports. They also support creating invoices, recording payments, recording expenses, calculating financial-health ratios, and comparing periods.

## Limitations and notes

Access depends on valid QuickBooks OAuth credentials, a Realm ID, and the appropriate QuickBooks accounting scope. Some tools are unavailable without the premium license. OAuth refresh tokens can expire, in which case the setup flow must be run again.

QuickBooks API throttling can still produce errors; the server includes rate limiting, but the README advises waiting 60 seconds if rate limiting occurs. Tokens are encrypted at rest with machine-specific keys, while credentials remain in environment variables rather than source code. Use sandbox mode to avoid changing production data during testing.

_Full upstream README: https://allmcps.com/mcp/quickbooks-mcp-server/readme_

