StateTakeHome

io.github.tresor4k由 GitHub 账号 tresor4k 发布v0.1.1更新于 Oct 27, 2026

US take-home pay calculator by state: federal and state tax, FICA, deductions.

已验证STDIO仅桌面效率与工作流金融

概览

AI 生成的概览

本地 MCP 服务器,让助手估算 2026 纳税年度的美国到手工资、自雇税和资本利得税。

可以做什么
  • 估算 W-2 员工的净收入:全美 50 州加华盛顿特区的联邦与州所得税、社会保障税、医疗保险税、附加医疗保险税及州级附加项,并支持税前 401(k) 与医疗保险扣除和按发薪周期的明细。
  • 计算 Schedule SE 自雇税、附加医疗保险税、联邦及可选州所得税,以及季度预缴税额。
  • 估算长期或短期资本利得的联邦税,含净投资所得税和可选的州级估算。
  • 每次结果附带数据来源说明和参考链接。
适用场景
适合在对话中快速估算工资到手金额、自由职业者税负或投资所得税,例如比较不同州的净收入或为季度预缴预留资金。它只是规划参考,不能替代税务专业人士。
运行要求
以 stdio 方式在本机运行,通常通过 npx 从 npm 包启动,因此需要 Node.js,首次下载还需要网络访问。未声明需要账号、API 密钥或环境变量。
安装前请注意
结果仅为规划用估算,明确不构成税务建议;数值取决于包内附带的 2026 年规则,可能不适用于特殊情形。收入、所在州和申报状态等输入会交给本地计算引擎,每次响应还包含指向厂商网站的链接。

安装

在 SourceWeft 中

  1. 打开 控制台中的 StateTakeHome,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

statetakehome-mcp

[npm version] [License: MIT]

A Model Context Protocol (MCP) server that puts a full US paycheck-tax engine directly at your AI assistant's fingertips: federal brackets, all 50 states + DC, FICA, self-employment tax, and capital gains — all for the 2026 tax year, and all sourced from the same engine that powers statetakehome.com.

Why it's different: most take-home-pay calculators stop at "gross minus taxes." This one also understands the 2026 OBBBA (One Big Beautiful Bill Act) landscape — the current-year federal brackets and thresholds it ships with already reflect the post-OBBBA baseline, so estimates stay accurate as the rules that shaped the 2026 tax year continue to roll out.

Quick Start

No installation needed — run it with npx.

Claude Desktop / Claude Code

Add to your MCP config (claude_desktop_config.json or .mcp.json):

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

Cursor

Add to .cursor/mcp.json:

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

Restart your client and the three tools below become available.

Tools

1. us_take_home_pay

Net pay for a US W-2 employee: federal income tax, state income tax (all 50 states + DC), Social Security, Medicare, Additional Medicare, and state-specific extras (CA SDI, OR transit tax, etc.). Handles pre-tax 401(k) and health-insurance deductions and returns a per-paycheck breakdown for every pay frequency.

Example call:

json
{  "gross": 75000,  "state": "CA",  "filingStatus": "single"}

Response (abridged, from the live engine):

json
{  "result": {    "gross": 75000,    "federalTax": 7670,    "stateTax": 2940.85,    "socialSecurity": 4650,    "medicare": 1087.5,    "totalTax": 17323.35,    "takeHome": 57676.65,    "effectiveRate": 0.2310,    "perPaycheck": { "biweekly": 2218.33, "monthly": 4806.39 }  }}

The same input with "state": "TX" (no state income tax) returns stateTax: 0 and takeHome: 61592.5 — $3,915.85 higher on the same gross pay.

2. self_employment_tax

Schedule SE self-employment tax (15.3% on 92.35% of net profit, split into the Social Security and Medicare portions), the 0.9% Additional Medicare surtax, federal income tax, an optional state income tax, and a quarterly estimated-payment figure.

Example call:

json
{  "netProfit": 90000,  "filingStatus": "single",  "state": "TX"}

Response (abridged, from the live engine):

json
{  "result": {    "netProfit": 90000,    "seTax": 12716.6,    "seTaxDeduction": 6358.3,    "federalIncomeTax": 9571.17,    "totalTax": 22287.77,    "quarterlyEstimate": 5571.94,    "setAsidePct": 0.2477  }}

3. capital_gains_tax

Federal capital gains tax — long-term stacked 0%/15%/20% bands or short-term ordinary rates — plus the 3.8% Net Investment Income Tax (NIIT) above the MAGI threshold, and an optional state estimate (most states tax gains as ordinary income).

Example call:

json
{  "gain": 50000,  "ordinaryTaxableIncome": 80000,  "filingStatus": "single",  "term": "long"}

Response (abridged, from the live engine):

json
{  "result": {    "gain": 50000,    "taxableGain": 50000,    "federalTax": 7500,    "niit": 0,    "totalTax": 7500,    "netProceeds": 42500,    "ltcgRate": 0.15  }}

Data & Methodology

  • Tax year: 2026.
  • Federal brackets & standard deduction: IRS Rev. Proc. 2025-32.
  • State brackets & standard deductions: Tax Foundation — State Individual Income Tax Rates and Brackets, as of January 1, 2026, cross-checked against individual state Departments of Revenue.
  • FICA: current Social Security wage base and Medicare rates, including the 0.9% Additional Medicare surtax.
  • Capital gains: long-term bands and the NIIT threshold per Rev. Proc. 2025-32, cross-checked against Tax Foundation and Schwab.
  • Every response includes a source block naming the underlying publication and a reference_url pointing to the matching calculator on the live site for further reading and methodology notes:

The calculation code in this package is the same engine that runs statetakehome.com, kept in sync by hand — it is not a reimplementation.

Disclaimer

This tool produces estimates for planning purposes only. It is not tax advice. Tax situations vary; consult a licensed CPA or tax professional before making financial decisions.

License

MIT © tresor4k

来源:README.md,提交 ba493b5

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分