
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.
概览
本地运行的确定性美国税务计算器,让助手估算 2024–2026 纳税年度的联邦与州所得税、抵免、扣除和规划方案。
- 可以做什么
- 计算联邦税、税率档、不同申报身份对比、季度预缴、W-4 预扣以及联邦加州的合计税额
- 分析扣除与抵免,包括标准扣除与分项扣除、EITC、保费税收抵免、教育与房贷优惠
- 查询退休账户与策略、资本利得优化、提取顺序和多年税务预测
- 模拟假设情景,如 Roth 转换、搬迁、收入变化和不同纳税年度的差异
- 生成完整税务报告、处理 1099 收入、核对工资单、评估审计风险,并给出个性化日历与清单
- 查询 IRS 截止日期、表格、各州税务参考信息和一般税务规则
- 适用场景
- 适合需要具体年末或规划数字的场景,例如是否做 Roth 转换、是否实现资本利得、是否分项扣除、是否更改申报身份或跨州搬迁,并希望得到确定性计算而非模型猜测。也适合自由职业者估算季度预缴,以及比较不同纳税年度或州。
- 运行要求
- 以 npm 包形式在本地运行(需 Node.js 20 或更高版本),通过 stdio 通信,也可用 Docker 或仅绑定回环地址的 HTTP 模式。无需账户、SSN、IRS 登录、API 密钥或环境变量,税率表已内置在本地。
安装
在 SourceWeft 中
- 打开 控制台中的 Irs Taxpayer,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
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
Example result for a synthetic TY2026 household (married filing jointly, $185,000 W-2, $12,000 long-term gains, two children):
Add --json for structured output with assumptions, official sources, a calculation trace, and privacy.modelInvoked: false.
💡 Decisions it helps with
🔒 Privacy Architecture
⚡ Getting Started
Option A: Direct local mode (recommended for taxpayer facts)
Install once, before entering any tax facts:
Run the guided local questionnaire. It does not start MCP or invoke a model:
Or create and edit a strict local template:
Calculate directly through the deterministic engine:
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):
Kiro (.kiro/settings/mcp.json):
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
Alternative: Streamable HTTP Transport
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:
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
Deduction Analysis
Tax Credits
Retirement & Strategy
Tax Planning & Scenarios
State Taxes
IRS Information
OBBB Act (2025) Tools
Full Reports & Analysis
Guidance & Feedback
📊 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
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.
🐛 Found a Bug?
- Calculation error or incorrect data? Open an issue: include the tool name, tax year, a rounded or synthetic example, and the expected result. Do not post taxpayer PII.
- Planner use case or product gap? Use the Planner Feedback form. Do not include taxpayer PII or a real tax return.
- Questions or discussion? GitHub Discussions
- Want to contribute? See CONTRIBUTING.md
🤝 Contributing
Contributions welcome. Please ensure:
- All tests pass (
npm test) - Build succeeds (
npm run build) - No
anytypes 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
来源:README.md,提交 b3f93f2
工具
0版本历史
4- v1.2.5Nov 7, 2026
- v1.2.4Nov 3, 2026
- v1.1.0Sep 18, 2026
- v1.0.2Sep 16, 2026
评分
已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具必需15 分
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分