Connect Claude to QuickBooks Online โ query finances, create invoices, run reports
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Connect Claude Desktop and Claude Code to QuickBooks Online for natural-language accounting. Ask questions about invoices, expenses, reports, and more using plain English.
An MCP (Model Context Protocol) server that gives Claude direct access to your QuickBooks Online data. Instead of logging into QuickBooks and clicking through reports, just ask Claude:
"Show me all overdue invoices sorted by amount" "What's our P&L this quarter?" "Create an invoice for Acme Corp for $2,500"
The server handles OAuth authentication, API calls, rate limiting, and data formatting.
Or install from source:
http://localhost:8080/callback as a Redirect URIThis opens your browser, authorizes with QuickBooks, and stores tokens locally (encrypted). Note the Realm ID it prints at the end.
Add to your Claude Desktop config (claude_desktop_config.json):
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonRestart Claude Desktop and try:
"What are my current bank account balances?"
| Tool | Description |
|---|---|
list_invoices | List and filter invoices by status, date, customer |
get_invoice_details | Full invoice details with line items and payment history |
get_overdue_invoices | All overdue invoices sorted by days past due |
list_expenses | List expenses with date, vendor, amount, and category filters |
get_top_expenses | Top expenses grouped by category or vendor for any period |
get_account_balances | Current balances for Bank, Credit Card, or all accounts |
get_account_transactions | Recent transactions for any account with date filters |
search_customers | Search customers by name or email with contact info |
get_customer_summary | Customer financial summary: invoiced, paid, outstanding |
| Tool | Description |
|---|---|
get_profit_and_loss | P&L report for any period with income/expense breakdown |
get_balance_sheet | Balance sheet as of any date (assets, liabilities, equity) |
get_cash_flow | Cash flow statement (operating, investing, financing) |
get_accounts_receivable_aging | AR aging by customer (current/30/60/90+ days) |
get_accounts_payable_aging | AP aging by vendor (current/30/60/90+ days) |
create_invoice | Create invoices with line items, due dates, and memos |
record_payment | Record payments against invoices with method and reference |
create_expense | Record expenses with vendor, amount, category, and date |
get_financial_health | Key ratios: current ratio, DSO, burn rate, runway |
compare_periods | Side-by-side period comparison with % changes |
Get a premium license at nyxtools.dev/quickbooks-mcp
Set it in your environment:
"Show me all invoices from January" "Which invoices are overdue? Show me the worst ones first" "Get the details for invoice #1042" "Show me open invoices for Acme Corp"
"What did we spend this month?" "Show me our top 10 expense categories this quarter" "How much have we spent at Amazon this year?"
"What are our bank balances?" "Show me the last 20 transactions in checking" "What's the balance on our company credit card?"
"Find the customer John Smith" "Give me a financial summary for customer 456" "Search for customers with outstanding balances"
"Show me the P&L for this quarter" "Pull up the balance sheet" "How's our cash flow this month?" "Show me the AR aging report" "Who are our slowest-paying customers?"
"Create an invoice for customer 123: Website Design $2,500, Hosting $150/month, due net-30" "Record a $1,000 check payment on invoice #1042" "Record a $250 expense to Office Depot for supplies, paid by credit card on March 15"
"How healthy are our finances? Show me key ratios" "Compare this month to last month" "How did this quarter compare to the same quarter last year?"
All configuration is via environment variables:
| Variable | Required | Default | Description |
|---|---|---|---|
QBO_CLIENT_ID | Yes | QuickBooks OAuth2 Client ID | |
QBO_CLIENT_SECRET | Yes | QuickBooks OAuth2 Client Secret | |
QBO_REALM_ID | Yes | QuickBooks Company/Realm ID | |
QBO_REDIRECT_URI | No | http://localhost:8080/callback | OAuth redirect URI |
LICENSE_KEY | No | Premium license key | |
QBO_SANDBOX | No | false | Use sandbox environment |
TOKEN_STORE_PATH | No | ~/.quickbooks-mcp/tokens.json | Token storage location |
LOG_LEVEL | No | INFO | Logging level |
Run the OAuth setup:
Your refresh token may have expired. Re-run OAuth setup.
Verify your app has com.intuit.quickbooks.accounting scope.
The server handles rate limiting automatically. If you see this error, wait 60 seconds.
Some tools require a license key. Get one here or set LICENSE_KEY in your environment.
For testing without affecting real data:
Use your Development keys (not Production) from the Intuit developer dashboard.
MIT License. See LICENSE for details.
Copyright (c) 2026 NyxTools
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/quickbooks-mcp-server)<a href="https://allmcps.com/mcp/quickbooks-mcp-server"><img src="https://allmcps.com/api/badge/quickbooks-mcp-server?style=directory" alt="Quickbooks Mcp Server on AllMCPs" /></a>