Irs Taxpayer

io.github.dma9527由 GitHub 帳號 dma9527 發布v1.2.6更新於 Nov 8, 2026

45 local US tax estimation and planning tools for supported TY2024 through TY2026 scenarios.

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

在本機執行的確定性美國稅務計算器,讓助理估算 2024–2026 納稅年度的聯邦與州所得稅、抵減、扣除額與規劃方案。

可以做什麼
  • 計算聯邦稅、稅率級距、不同申報身分比較、季度預繳、W-4 預扣,以及聯邦加州的合計稅額
  • 分析扣除額與抵減,包括標準扣除與列舉扣除、EITC、保費稅額抵減、教育與房貸優惠
  • 查詢退休帳戶與策略、資本利得最佳化、提領順序與多年稅務預測
  • 模擬假設情境,例如 Roth 轉換、搬遷、收入變動與不同納稅年度的差異
  • 產出完整稅務報告、處理 1099 收入、核對薪資單、評估查核風險,並提供個人化行事曆與清單
  • 查詢 IRS 截止日期、表單、各州稅務參考資料與一般稅務規則
適用情境
適合需要具體年末或規劃數字的場合,例如是否做 Roth 轉換、是否實現資本利得、是否列舉扣除、是否變更申報身分或跨州搬遷,並希望得到確定性計算而非模型猜測。也適合自由工作者估算季度預繳,以及比較不同納稅年度或州。
執行需求
以 npm 套件形式在本機執行(需 Node.js 20 或更新版本),透過 stdio 通訊,也可使用 Docker 或僅綁定回送位址的 HTTP 模式。不需帳號、SSN、IRS 登入、API 金鑰或環境變數,稅率表已內建於本機。
安裝前請注意
結果僅供規劃與學習參考,不構成稅務、法律或財務建議,也不是報稅軟體。在 MCP 模式下,輸入助理的資料可能由用戶端模型供應商處理;若需端到端本機處理,請改用本機命令列或本機模型。州級涵蓋不完整,不支援的年度、州或缺少資料時會直接回報錯誤而不提供估算。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Irs Taxpayer,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

🏛️ irs-taxpayer-mcp

Exact US tax numbers for year-end decisions, without sending your finances to a chatbot.

Deterministic TY2024 to TY2026 estimates · local no-model CLI · 45 MCP tools

[License: MIT] [CI] [npm] [TypeScript] [MCP]

English | 中文 | Español | 日本語 | Website


Estimates for planning and education only. Not tax, legal, or financial advice, and not filing software. See the legal notice.

Know the number before December 31

Should you convert $30,000 to Roth this year? Harvest gains in the 0% bracket? Top up your 401(k)? These decisions have deadlines, and a chatbot guess is not good enough when real money is on the line.

irs-taxpayer-mcp is a deterministic US individual tax engine for TY2024 through TY2026. It does the math from IRS annual tables, shows its work, and refuses to guess when a case is not supported.

  • 🔒 Your numbers can stay on your machine. The direct CLI calculates locally, starts no MCP connection, calls no model, and sends no tax data anywhere.
  • 🎯 Deterministic, not generated. The same inputs always give the same answer. A language model never does the arithmetic.
  • 🛑 Fails closed. Unsupported states, years, or missing required facts return an error instead of a rough estimate.
  • 🤖 Works with your AI assistant too. 45 MCP tools for Claude, Kiro, Cursor, and other MCP clients.

🚀 Try it in 30 seconds

bash
npm install --global irs-taxpayer-mcpirs-taxpayer-mcp intake --output taxpayer-facts.json   # guided local questionnaireirs-taxpayer-mcp plan --facts taxpayer-facts.json

Example result for a synthetic TY2026 household (married filing jointly, $185,000 W-2, $12,000 long-term gains, two children):

text
# Local Tax Plan for TY2026
Adjusted gross income: $197,000Taxable income: $164,800Federal tax after refundable credits: $20,440Employee FICA: $14,122Total modeled tax: $34,562Take-home income: $162,438
## PrivacyCalculated directly by the local deterministic engine. No model, network request,persistence, or telemetry was used.

Add --json for structured output with assumptions, official sources, a calculation trace, and privacy.modelInvoked: false.

💡 Decisions it helps with

QuestionToolExample (synthetic, TY2026)
What does a Roth conversion cost me this year?simulate_tax_scenarioMFJ, $150,000 income: a $30,000 conversion adds $6,600 of federal tax, a flat 22%
Can I sell winners at 0% tax?optimize_capital_gainsShows room left in the 0% bracket and warns when losses would only offset tax-free gains
Should I itemize or take the standard deduction?standard_vs_itemizedApplies the TY2026 SALT cap, charitable floor, and non-itemizer charitable deduction
What are my quarterly estimates as a freelancer?estimate_quarterly_tax1040-ES amounts with safe harbor guidance
Is my paycheck withholding on track?analyze_paycheckProjects annual tax, including credits, and suggests W-4 changes
Will moving states save money?analyze_relocation_taxesCompares exact-year state profiles; unsupported states fail closed
What changed between tax years?what_changed_between_tax_yearsTY2025 and TY2026 rule changes with primary-source citations

🔒 Privacy Architecture

LayerDesign
Deterministic engineLocal execution with no runtime network calls
Direct intake, validate, and plan commandsNo MCP connection, model invocation, telemetry, or automatic persistence
Local facts filesStrict versioned JSON, no identity fields, 1 MiB maximum, mode 0600 on POSIX
MCP serverSends and stores no taxpayer data
MCP client and modelPrivacy depends on the selected host and model provider; prompts and tool arguments may leave the machine
AuthenticationNo SSN, IRS login, or taxpayer identity required
Public IRS dataBundled and versioned locally
Source codeOpen-source MIT code with auditable calculations

⚡ Getting Started

Option A: Direct local mode (recommended for taxpayer facts)

Install once, before entering any tax facts:

bash
npm install --global irs-taxpayer-mcp

Run the guided local questionnaire. It does not start MCP or invoke a model:

bash
irs-taxpayer-mcp intake --output taxpayer-facts.json

Or create and edit a strict local template:

bash
irs-taxpayer-mcp template --output taxpayer-facts.jsonirs-taxpayer-mcp validate --facts taxpayer-facts.json

Calculate directly through the deterministic engine:

bash
irs-taxpayer-mcp plan --facts taxpayer-facts.jsonirs-taxpayer-mcp plan --facts taxpayer-facts.json --json

New facts files are created with mode 0600 on POSIX. On Windows, the CLI rejects existing symbolic links but relies on the current user's filesystem permissions. Existing files are not replaced unless --force is explicit. Imported JSON is limited to 1 MiB, rejects symbolic links and unknown fields, and does not accept names, SSNs, addresses, employer IDs, or account numbers.

Using npx may download the public package before execution, but the direct commands do not send the facts file or its values over the network.

Option B: MCP mode for AI assistants

The MCP server makes no network requests and stores no taxpayer data. However, facts typed into an MCP client may be processed by that client's model provider. Use direct local mode or a local-model MCP client when end-to-end local handling is required.

MCP Step 1: Add to your AI assistant

Add this to your MCP client configuration:

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

json
{  "mcpServers": {    "irs-taxpayer": {      "command": "npx",      "args": ["-y", "irs-taxpayer-mcp"]    }  }}

Kiro (.kiro/settings/mcp.json):

json
{  "mcpServers": {    "irs-taxpayer": {      "command": "npx",      "args": ["-y", "irs-taxpayer-mcp"]    }  }}

Cursor: same format in Cursor's MCP settings.

MCP Step 2: Restart your AI assistant

After saving the config, restart the app. The MCP server will auto-download and connect.

MCP Step 3: Ask supported tax questions

The client model converts natural language into tool arguments. Do not enter real taxpayer facts here unless the selected MCP host and model satisfy your privacy requirements:

  • "Calculate my federal tax: $150k income, married filing jointly, 2 kids"
  • "Compare California vs Texas vs Washington for $200k income"
  • "I'm a freelancer making $80k: what are my quarterly estimated taxes?"
  • "What tax credits am I eligible for? AGI $60k, single, one child"
  • "Should I itemize or take the standard deduction? I pay $15k in mortgage interest and $12k in state taxes"
  • "Explain the Backdoor Roth IRA strategy"
  • "How much is the EITC for a family of 4 earning $35k?"
  • "I exercised ISOs this year: will I owe AMT?"
  • "Help me plan my year-end tax moves. I have a 401k and HSA."

Alternative: Docker

bash
docker build -t irs-taxpayer-mcp .docker run -i irs-taxpayer-mcp

Alternative: Streamable HTTP Transport

bash
npx irs-taxpayer-mcp --http --port 3000# MCP endpoint: http://127.0.0.1:3000/mcp# Health check: http://127.0.0.1:3000/health

HTTP mode is stateless and binds only to a loopback host by default. Browser requests must use an exact allowed Origin. Add a trusted browser Origin with a repeatable flag:

bash
npx irs-taxpayer-mcp --http \  --allowed-origin https://trusted-client.example

The legacy --sse flag remains a deprecated alias for --http. The old /sse and /messages endpoints are not exposed.

🛠️ Tools (45)

All tools use the current MCP registerTool API. Each advertises read-only annotations and an output schema, and returns both human-readable text and structuredContent. Error results include a stable error code, message, and recovery suggestion.

The 1.0 flagship generate_tax_plan workflow returns domain structured results, assumptions, official source provenance, a calculation trace, and explicit unsupported boundaries. The deterministic engine performs no network requests, persistence, or telemetry. Its structured privacy metadata reports whether the MCP adapter or direct CLI path was used. Unsupported tax years, state profiles, and required worksheet facts fail closed. See Local Tax Planner 1.0 Contract.

Federal Tax Calculations

ToolWhat it does
calculate_federal_taxFull federal tax with bracket breakdown, AMT, NIIT (3.8%), Additional Medicare Tax (0.9%), QBI deduction, SE tax, capital gains, CTC
get_tax_bracketsTax brackets and standard deduction by filing status and year
compare_filing_statusesSide-by-side comparison of all 4 filing statuses for the same income
estimate_quarterly_taxEstimated quarterly payments (1040-ES) with safe harbor guidance
calculate_total_taxCombined federal + state tax in one call, with take-home pay and monthly income
calculate_w4_withholdingPer-paycheck withholding estimate with step-by-step W-4 form recommendations

Deduction Analysis

ToolWhat it does
list_deductionsBrowse all deductions with eligibility rules, limits, and forms
standard_vs_itemizedCompare standard vs itemized with year-specific SALT cap ($10K for TY2024, $40K for TY2025)

Tax Credits

ToolWhat it does
list_tax_credits20+ federal credits: CTC, EITC, AOTC, EV, solar, saver's credit, and more
check_credit_eligibilityQuick screening based on your income, family, and situation
calculate_eitcPrecise EITC calculation with phase-in/plateau/phase-out for 0-3 children
estimate_premium_tax_creditTY2026 Premium Tax Credit (Form 8962) with the 400% limit, full APTC repayment, monthly allocation, and the below-100% and MFS exceptions

Retirement & Strategy

ToolWhat it does
get_retirement_accountsIRA, Roth, 401k, SEP, Solo 401k, HSA, 529: limits, tax treatment, tips
get_retirement_strategyBackdoor Roth, Mega Backdoor, Roth Conversion Ladder, Tax Loss/Gain Harvesting

Tax Planning & Scenarios

ToolWhat it does
generate_tax_planPrivacy-first local plan with structured results, assumptions, sources, trace, and explicit boundaries
get_tax_planning_tipsPersonalized year-end optimization: 401k maxing, HSA, Roth conversion, tax-loss harvesting, charitable bunching
compare_tax_yearsCompare TY2024 vs TY2025 to see how bracket changes and OBBB affect your tax
estimate_self_employment_taxFull SE tax breakdown: Schedule C profit, SE tax, QBI deduction, quarterly payments, SEP/Solo 401k limits
analyze_mortgage_tax_benefitMortgage interest + property tax deduction analysis with year-specific SALT cap
analyze_education_tax_benefitsAOTC vs Lifetime Learning Credit comparison, student loan deduction, 529 plan guidance

State Taxes

ToolWhat it does
get_state_tax_infoReference data and notes for all 50 states + DC
estimate_state_taxEstimate supported state paths; unsupported bracket data fails closed
compare_state_taxesCompare states only when every requested calculation is supported
list_no_income_tax_statesAll 9 states with no broad individual income tax

IRS Information

ToolWhat it does
get_tax_deadlinesKey IRS dates and deadlines by tax year
check_refund_statusHow to check your refund (guidance only: no IRS account access)
get_irs_form_infoInfo about 14 common IRS forms (1040, W-2, 1099s, Schedules, etc.)

OBBB Act (2025) Tools

ToolWhat it does
calculate_obbb_deductionsCalculate all 4 new OBBB deductions: tips, overtime, senior bonus, auto loan interest
what_changed_between_tax_yearsDiff any two supported years: brackets, deductions, credits, SALT, and OBBB provisions

Full Reports & Analysis

ToolWhat it does
generate_full_tax_reportEstimation report: income, deductions, federal, FICA, supported state tax, take-home, and refund inputs
process_1099_incomeProcess multiple 1099 forms (NEC, INT, DIV, B, MISC) with tax impact by category
get_personalized_tax_calendarPersonalized deadlines based on your situation (self-employed, extension, investments)
analyze_paycheckVerify paycheck withholding accuracy, project annual tax, suggest W-4 adjustments
compare_mfj_vs_mfsMFJ vs MFS comparison with tax diff and all MFS restriction warnings
simulate_tax_scenarioWhat-if modeling: income changes, relocation, Roth conversion, 401k, filing status
assess_audit_riskIRS audit risk scoring with red flag identification and mitigation tips
get_tax_document_checklistPersonalized filing document checklist based on your income and life events
optimize_capital_gainsLot analysis: 0% bracket gain harvesting, loss harvesting that nets against taxed gains first, wash sale warnings
plan_retirement_withdrawalsOptimal withdrawal order (Traditional/Roth/Taxable), RMD calculation, Roth conversion
plan_multi_year_taxes3-5 year tax projection with bracket management and age milestones
analyze_relocation_taxesIn-depth state relocation analysis with multi-year savings and SALT impact

Guidance & Feedback

ToolWhat it does
run_tax_health_checkOne-call check of a full financial picture with actionable findings
lookup_tax_ruleSearch the built-in tax knowledge base
get_form_filing_guideProvide step-by-step guidance for supported IRS forms
submit_feedbackGenerate a prefilled GitHub issue link without transmitting tax data

📊 Tax Year Coverage

TY2024

Supported historical calculation year using IRS Revenue Procedure 2023-34. Standard deduction $14,600 (single) / $29,200 (MFJ). CTC $2,000. SALT cap $10,000.

TY2025

Reflects OBBB signed July 4, 2025:

  • Standard deduction: $15,750 (single) / $31,500 (MFJ) / $23,625 (HoH)
  • Child Tax Credit: $2,200 per child (up from $2,000)
  • SALT cap: $40,000 for AGI ≤ $500K (was $10,000)
  • New deductions: tips ($25K), overtime ($12.5K), senior bonus ($6K age 65+), auto loan interest ($10K)
  • 401k catch-up: $11,250 for ages 60-63 (SECURE 2.0)

TY2026

Uses IRS Revenue Procedure 2025-32 and the SSA 2026 contribution and benefit base:

  • Standard deduction: $16,100 (single) / $32,200 (MFJ) / $24,150 (HoH)
  • Child Tax Credit: $2,200 per qualifying child, with up to $1,700 refundable
  • SALT cap: $40,400 for MAGI up to $505,000; $20,200 and $252,500 for MFS
  • Social Security wage base: $184,500
  • AMT exemption phase-out at 50% above $500,000 / $1,000,000 AMTI (OBBB)
  • Non-itemizer charitable deduction ($1,000 / $2,000), 0.5% itemized charitable floor, and 2/37 itemized deduction limit
  • Child and Dependent Care Credit up to 50% of qualifying expenses
  • 401(k) $24,500, IRA $7,500, HSA $4,400 / $8,750
  • Updated ordinary, capital-gains, EITC, and AMT thresholds

Supported Scope and Boundaries

This project is a deterministic estimation and planning engine, not tax preparation or filing software.

  • Federal estimates cover the modeled TY2024 through TY2026 inputs exposed by each tool. They do not implement every Form 1040 line, schedule, election, limitation, carryforward, or dependency rule.
  • State reference information covers all 50 states and DC. Numeric estimates require an exact tax-year profile: TY2024 supports AK, CA, FL, NV, SD, TN, TX, and WY; TY2025 supports AK, FL, NH, NV, SD, TN, TX, and WY; TY2026 supports those states plus CA, GA, IL, IN, KS, KY, MA, MI, MN, MS, NC, ND, NE, NJ, OH, PA, RI, and VA. City, county, and school district income taxes (IN, KY, MI, OH, PA) are not included. Rhode Island income above $261,000 and Minnesota AGI above $220,650 return an error because their deduction phase-outs are not modeled. California supports single and married brackets only (HoH Schedule Z is not modeled). Other state-year and filing-status paths return an error.
  • State calculations do not yet model part-year or nonresident allocation, every local tax, or separate HoH and MFS brackets.
  • QBI, AMT, audit-risk, retirement, relocation, and multi-year outputs are planning estimates with documented simplifications.
  • Refund projections depend only on the inputs and refundable credits modeled by the selected tool. They are not an IRS refund determination.
  • The server does not generate a tax return, sign a return, transmit MeF data, or provide filing eligibility validation.

See ROADMAP.md for the remaining work toward a filing-grade federal return engine.

🧮 Calculation Engine

FeatureStatus
Federal income tax (7 brackets × 4 statuses)✅
Long-term capital gains (0%/15%/20%)✅
Capital-loss netting, annual limit, carryoversPlanning-grade
Social Security benefit taxationPublication 915 planning model
Retirement distributions and early taxPlanning-grade from supplied 1099-R facts
Self-employment tax (SS + Medicare)✅
Net Investment Income Tax (3.8% NIIT)✅
Additional Medicare Tax (0.9%)✅
Alternative Minimum Tax (AMT)Modeled with preferential rates and stated preference-item limits
QBI Deduction (Section 199A)Planning-grade with wage, UBIA, and SSTB limits
Child Tax Credit with phase-out✅
AOTC and Lifetime Learning CreditForm 8863 planning model
EITC TY2024/TY2025/TY2026 calculation✅
Standard vs itemized deduction✅
Year-specific SALT cap (OBBB)✅
State reference data (50 states + DC)✅
State numeric estimatesSupported paths only
20+ federal credit reference and screening✅
Retirement account reference and planningPlanning estimate
W-4 withholding calculatorPlanning estimate

Numeric regression tests cite IRS Revenue Procedures, IRC sections, and relevant legislation. Reference and planning tools may summarize rules that are not fully represented in the calculation engine.

🏗️ Build from Source

Requires Node.js 20 or later.

bash
git clone https://github.com/dma9527/irs-taxpayer-mcp.gitcd irs-taxpayer-mcpnpm installnpm run buildnpm start          # stdio modenpm run dev        # development mode (tsx)

🐛 Found a Bug?

🤝 Contributing

Contributions welcome. Please ensure:

  • All tests pass (npm test)
  • Build succeeds (npm run build)
  • No any types in TypeScript
  • Data changes include IRS source citations

See CONTRIBUTING.md for full guidelines.

Legal Notice

This software is provided "as is" without warranty of any kind. The authors and contributors are not tax professionals, CPAs, enrolled agents, or attorneys. No attorney-client, CPA-client, or fiduciary relationship is created by using this software. Tax laws change frequently and vary by jurisdiction. The calculations may contain errors, omissions, or may not reflect the most recent legislative changes. You are solely responsible for your tax filing decisions. The authors disclaim all liability for any damages arising from the use of this software. See DISCLAIMER.md for the full legal notice.

📄 License

MIT

來源:README.md,提交 b3f93f2

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

4
  1. v1.2.5Nov 7, 2026
  2. v1.2.4Nov 3, 2026
  3. v1.1.0Sep 18, 2026
  4. v1.0.2Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分