
Quickbooks Mcp Server
io.github.NyxToolsDev由 GitHub 账号 NyxToolsDev 发布v0.1.1更新于 Oct 24, 2026
Connect Claude to QuickBooks Online — query finances, create invoices, run reports
概览
把 Claude 连接到 QuickBooks Online,让助手查询发票、支出、账户与客户,生成财务报表,并创建发票、付款和支出。
- 可以做什么
- 列出、筛选并查看发票详情,包括逾期发票与行项目
- 按日期、供应商或类别查看支出,并统计支出排行
- 查看账户余额与近期交易,搜索客户并获取其财务摘要
- 生成利润表、资产负债表、现金流量表、应收/应付账龄及期间对比等报表(付费版)
- 创建发票、登记付款、记录支出(付费版)
- 计算流动比率、DSO、资金消耗率与可支撑月数等财务健康指标(付费版)
- 适用场景
- 适合在 QuickBooks Online 记账、希望用自然语言直接询问账务问题而不必逐层点开报表的用户,也适合让助手在对话中起草发票、付款和支出记录。
- 运行要求
- 以本地 Python 包运行(pip install quickbooks-mcp),在 Claude Desktop 中配置。需要 Intuit 开发者应用提供的 Client ID 与 Client Secret,需执行一次 OAuth 授权并把令牌保存在本地,并设置 QBO_CLIENT_ID、QBO_CLIENT_SECRET、QBO_REALM_ID 环境变量。付费工具需要 LICENSE_KEY;可用 QBO_SANDBOX 指向测试数据。
安装
在 SourceWeft 中
- 打开 控制台中的 Quickbooks Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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
Or install from source:
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
4. Run OAuth Setup
This opens your browser, authorizes with QuickBooks, and stores tokens locally (encrypted). Note the Realm ID it prints at the end.
5. Configure Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
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)
Premium Tier (10 tools) -- $29/month
Get a premium license at nyxtools.dev/quickbooks-mcp
Set it in your environment:
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:
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
Project Structure
Troubleshooting
"No QuickBooks tokens found"
Run the OAuth setup:
"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:
Use your Development keys (not Production) from the Intuit developer dashboard.
License
MIT License. See LICENSE for details.
Copyright (c) 2026 NyxTools
来源:README.md,提交 dffaac6
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分