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 分