quickbooks-mcp-server MCP Server
Connect Claude to QuickBooks Online — query finances, create invoices, run reports
quickbooks-mcp-server scores 51 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 19 tools. Filed under Finance. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
51 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 51 comes from
22 + 5 + 0 + 10 + 4 + 10 = 51. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "nyxtoolsdev-quickbooks-mcp-server": { "command": "uvx", "args": [ "quickbooks-mcp" ] } }}
Environment variables
This server does not declare environment variables.
Tools19Tool docs quality grade D
All capabilitiescompare_periodstoolSide-by-side period comparison with % changes
create_expensetoolRecord expenses with vendor, amount, category, and date
create_invoicetoolCreate invoices with line items, due dates, and memos
Current balances for Bank, Credit Card, or all accounts
Recent transactions for any account with date filters
AP aging by vendor (current/30/60/90+ days)
AR aging by customer (current/30/60/90+ days)
Balance sheet as of any date (assets, liabilities, equity)
get_cash_flowtoolCash flow statement (operating, investing, financing)
Customer financial summary: invoiced, paid, outstanding
Key ratios: current ratio, DSO, burn rate, runway
Full invoice details with line items and payment history
About
QuickBooks MCP Server
Connect Claude Desktop and Claude Code to QuickBooks Online for natural-language accounting. Ask questions about invoices, expenses, reports, and more using plain English.
What is this?
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.
Quick Start
1. Install
pip install quickbooks-mcp
Or install from source:
git clone https://github.com/nyxtools/quickbooks-mcp-server.git
cd quickbooks-mcp-server
pip install -e .
2. Create a QuickBooks Developer App
- Go to developer.intuit.com
- Create an app and select QuickBooks Online and Payments
- Under Keys & OAuth, note your Client ID and Client Secret
- Add
http://localhost:8080/callbackas a Redirect URI
3. Set Environment Variables
export QBO_CLIENT_ID='your_client_id'
export QBO_CLIENT_SECRET='your_client_secret'
4. Run OAuth Setup
python scripts/setup_oauth.py
This opens your browser, authorizes with QuickBooks, and stores tokens locally (encrypted). Note the Realm ID it prints at the end.
export QBO_REALM_ID='your_realm_id'
5. Configure Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"quickbooks": {
"command": "quickbooks-mcp",
"env": {
"QBO_CLIENT_ID": "your_client_id",
"QBO_CLIENT_SECRET": "your_client_secret",
"QBO_REALM_ID": "your_realm_id"
}
}
}
}
Config file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
6. Start Using It
Restart Claude Desktop and try:
"What are my current bank account balances?"
All 19 Tools
Free Tier (9 tools)
| 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 |
Premium Tier (10 tools) -- $29/month
| 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:
export LICENSE_KEY='your_license_key'
Usage Examples
Invoices
"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"
Expenses
"What did we spend this month?" "Show me our top 10 expense categories this quarter" "How much have we spent at Amazon this year?"
Accounts
"What are our bank balances?" "Show me the last 20 transactions in checking" "What's the balance on our company credit card?"
Customers
"Find the customer John Smith" "Give me a financial summary for customer 456" "Search for customers with outstanding balances"
Reports (Premium)
"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?"
Write Operations (Premium)
"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"
Analytics (Premium)
"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?"
Configuration
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 |
Security
- Tokens encrypted at rest using machine-specific keys (Fernet + PBKDF2)
- Tokens auto-refresh -- access tokens last 60 min, refresh tokens 100 days
- No credentials stored in code -- all secrets via environment variables
- Rate limiting built in to respect QuickBooks API throttles
- Input sanitization on all query parameters to prevent injection
Development
# Clone and install with dev dependencies
git clone https://github.com/nyxtools/quickbooks-mcp-server.git
cd quickbooks-mcp-server
pip install -e ".[dev]"
# Run tests
pytest
# Run with coverage
pytest --cov=quickbooks_mcp
# Lint
ruff check src/ tests/
# Type check
mypy src/
Project Structure
quickbooks-mcp-server/
src/quickbooks_mcp/
auth/ # OAuth2 flow and encrypted token storage
client/ # QBO REST API client with rate limiting
tools/ # MCP tool implementations (19 tools)
utils/ # Money (Decimal), formatting, license validation
server.py # MCP server setup and tool registration
config.py # Environment-based configuration
scripts/
setup_oauth.py # Interactive OAuth setup
examples/ # Config examples and usage guide
tests/ # Pytest test suite
Troubleshooting
"No QuickBooks tokens found"
Run the OAuth setup:
python scripts/setup_oauth.py
"Token refresh failed"
Your refresh token may have expired. Re-run OAuth setup.
"QuickBooks API error (HTTP 403)"
Verify your app has com.intuit.quickbooks.accounting scope.
"Rate limited by QuickBooks"
The server handles rate limiting automatically. If you see this error, wait 60 seconds.
"This is a premium feature"
Some tools require a license key. Get one here or set LICENSE_KEY in your environment.
Sandbox Mode
For testing without affecting real data:
export QBO_SANDBOX=true
Use your Development keys (not Production) from the Intuit developer dashboard.
License
MIT License. See LICENSE for details.
Copyright (c) 2026 NyxTools
Frequently asked questions
What is quickbooks-mcp-server MCP Server?
Connect Claude to QuickBooks Online — query finances, create invoices, run reports
How do I install quickbooks-mcp-server MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. quickbooks-mcp-server MCP Server runs locally from the PyPI package quickbooks-mcp with the command uvx quickbooks-mcp.
Is quickbooks-mcp-server MCP Server free and open source?
Yes. quickbooks-mcp-server MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does quickbooks-mcp-server MCP Server support remote (HTTP) connections?
No remote endpoint is listed for quickbooks-mcp-server MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does quickbooks-mcp-server MCP Server provide?
quickbooks-mcp-server MCP Server provides 19 tools, including compare_periods, create_expense, create_invoice, and get_account_balances. See the full tool list for descriptions and parameters.
How is quickbooks-mcp-server MCP Server's trust score calculated?
quickbooks-mcp-server MCP Server scores 51 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.