Open source 1040 tax calculation engine for AI agents and developers.
Accurately calculates federal taxes. For filing your taxes, visit irs.gov.
Your AI does the thinking. Open Tax does the calculations.
Example 1
Calculate my 2025 taxes — drop your W-2s and 1099s, Claude handles the rest.
Skill loaded. Following it now.
Step 1: Checking for the CLI
Not installed. Installing now:
opentax 1.0.2 installed and ready.
Please upload some source docs and let's talk tax.
Calculate my taxes for 2025. Here are my W2 and 1099MISC
The documents came through as blank templates — the actual values (wages, withholding, SSN, employer info, etc.) aren't filled in. Let me read the raw files directly.
These are form PDFs — let me extract the form field data directly.
Got all the data. Now let me fetch the Tax Preparer skill and run the CLI.
Good. I have everything I need. Let me parse the docs and proceed through the phases.
Extracted from documents:
Before I proceed to compute, I need a few more things per the skill:
1. Single, Age - 30, Dependents - No, no other docs
Got it. Here's the full picture before I compute:
Dante Hicks — 2025 Federal Tax Return
| Filing status | Single |
| Age | 30 |
| Dependents | None |
Income:
No additional deductions or credits noted.
Does this look complete and correct?
yes
Clean result. Here's Dante's full return:
Form 1040 — Dante Hicks — 2025
| Line | Description | Amount |
|---|---|---|
| 1a | Wages (Quick Stop W-2) | $72,000 |
| 8 | Additional income (rental, Sch. E) | $24,000 |
| 9 | Total income | $96,000 |
| 11 | Adjusted gross income | $96,000 |
| 12a | Standard deduction (single) | $15,750 |
| 15 | Taxable income | $80,250 |
| 16 | Income tax | $12,569 |
| 24 | Total tax | $12,569 |
| 25a | W-2 federal withholding | $7,454 |
| 33 | Total payments | $7,454 |
| 37 | Amount owed | $5,114.96 |
Plain summary:
Dante owes $5,114.96 by April 15, 2026. His W-2 withholding covered the wage income reasonably well, but the $24,000 in rental income had zero withholding applied — that's the main driver of the balance due.
Worth noting: Since Dante has rental income with no withholding, he may be subject to an underpayment penalty (Form 2210). To avoid this next year, he should consider making quarterly estimated tax payments (Form 1040-ES) on the rental income.
Would you like me to:
Claude is AI and can make mistakes. Please double-check responses.
Example 2
Already have a draft return? Drop your source docs and the finished 1040 — Claude audits it line by line and flags what's wrong.
Step 3: What would you like to do?
Open Tax is ready. What would you like to do?
1. Prepare a return — I'll walk you through it step by step. Drop in your W-2s, 1099s, and other tax documents (photos, PDFs, or just type the values). I'll ask questions until I have everything, confirm the details with you, then compute your full 1040 with all schedules.
2. Review a completed return — Already have a return prepared by someone else? Upload it along with your source documents and I'll independently compute everything, compare line-by-line, and flag any discrepancies — missed income, incorrect deductions, unclaimed credits, or compliance risks.
Now fetching the Tax Reviewer skill before diving in.
Good. Now let me work through the review systematically. I have all the source documents and the draft return. Let me extract and compute everything.
Based on my independent read of all source documents vs. the draft return, here's a phase-by-phase audit:
Phase 1 — Source Document Extraction ✅
Oliver K. Filed | SSN: 576-54-3211 | Single | DOB 1/1/1986 | Denton, MD 21629
| Source | Key Values |
|---|---|
| W-2 (False Landscape Supply) | $102,000 wages, $8,786 fed withheld, $5,280 state withheld |
| K-1 FOJ Ventures (50%) | $434,800 ordinary, $80,000 rental, $14,200 interest, $24,330 dividends, $44,000 §179, $26,000 charitable |
| K-1 MHJB Investments (50%) | $191,584 ordinary, $24,000 rental, $2,637 interest, $8,413 dividends, $70,000 distributions |
| 1099-INT Fidelity | $2,400 interest |
| 1099-DIV Fidelity | $22,475 ordinary, $21,874 qualified, $8,800 §199A |
| 1099-B | ST noncovered RSUs: $4,747/+$276 adj gain; LT covered: $8,449/$111; LT noncovered: $158 |
| 1098 XYZ Bank | $13,045 mortgage interest, $7,292 property taxes |
| 1098-SA / §498-SA | HSA contributions $3,200, distributions $3,871 (all qualified) |
Phase 2 — Line-by-Line Comparison & Findings
Here's what my independent calculation shows vs. the draft return:
✅ Items that check out
| Line | Description | Draft | My Calc | |
|---|---|---|---|---|
| 1a | W-2 wages | $102,000 | $102,000 | ✅ |
| 2b | Taxable interest | $19,237 | $19,237 | ✅ |
| 3b | Ordinary dividends | $55,218 | $55,218 | ✅ |
| 3a | Qualified dividends | $51,089 | $51,089 | ✅ |
| 7a | Capital gain | $772 | $772 | ✅ |
| Sch A L8a | Mortgage interest | $13,045 | $13,045 | ✅ |
| Sch A L8b | Real estate taxes | $7,292 | $7,292 | ✅ |
| Sch SE | Self-employment tax | ~$24,785 | ~$24,785 | ✅ |
| Form 8960 | NIIT | $2,850 | $2,850 | ✅ |
🔴 FINDING 1 — HSA Deduction Not Taken (Missing $4,300)
Draft return Schedule 1, line 13 (HSA deduction) = $0. Your §498-SA shows $3,200 in contributions. Form 8889 correctly computes a $4,300 deduction limit — but line 13 shows $0. The deduction was computed but not linked to Schedule 1.
Impact: ~$1,600–$1,700 in overpaid tax at ~37% marginal rate on $4,300.
🔴 FINDING 2 — §199A REIT Dividends Not Captured ($800)
The Fidelity 1099-DIV shows $800 in Section 199A dividends (box 5). The return's Form 8995-A shows the MHJB/FOJ QBI but the $800 REIT dividend is not appearing on Form 8995-A Part IV (line 28). Potential $160 additional deduction.
🟡 FINDING 3 — Qualified Dividends Classification (FOJ K-1)
The FOJ K-1 shows $24,330 in ordinary dividends (box 6a). The return picks these up on Schedule B. However, there's no qualified dividends breakdown from FOJ — the Statement A doesn't indicate any are qualified. The return treats all K-1 dividends as ordinary (non-qualified), which is the conservative correct approach absent additional information. No error, but worth confirming with the partnership.
Claude is AI and can make mistakes. Please double-check responses.
Install the CLI for macOS, Linux, or Windows. Runs locally. No cloud, no signup required.
186 registered nodes. Every IRS form piped as JSON. Inspect schemas, create returns, compute taxes — all from your terminal.
Create a full return using the CLI