Skip to main content
Glama
statetakehome-mcp

statetakehome-mcp

by tresor4k

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):

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

Cursor

Add to .cursor/mcp.json:

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

Restart your client and the three tools below become available.

Related MCP server: Tools Berry MCP Server

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:

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

Response (abridged, from the live engine):

{
  "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:

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

Response (abridged, from the live engine):

{
  "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:

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

Response (abridged, from the live engine):

{
  "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

Available Tools

3 tools
capital_gains_taxCapital Gains Tax CalculatorA

Computes federal capital gains tax (long-term 0%/15%/20% stacked bands or short-term ordinary rates), the 3.8% Net Investment Income Tax (NIIT) above the MAGI threshold, and an optional state income tax on the gain (states generally tax capital gains as ordinary income). Example input: { "gain": 50000, "ordinaryTaxableIncome": 80000, "filingStatus": "single", "term": "long" }. 2026 tax year — estimates, not tax advice; thresholds from Rev. Proc. 2025-32, cross-checked against Tax Foundation & Schwab.

Inputs: gain (required), term (required), filingStatus (required), ordinaryTaxableIncome (required), +2 more.

self_employment_taxSelf-Employment (1099) Tax CalculatorA

Computes Schedule SE self-employment tax (15.3% = 12.4% Social Security up to the wage base + 2.9% Medicare on 92.35% of net profit), the Additional Medicare surtax, federal income tax, and an optional state income tax, plus a quarterly estimated-payment figure. Example input: { "netProfit": 90000, "filingStatus": "single", "state": "TX" }. 2026 tax year — estimates, not tax advice; brackets from Tax Foundation (Jan 1, 2026) & IRS.

Inputs: netProfit (required), filingStatus (required), state, otherIncome.

us_take_home_payUS Take-Home Pay CalculatorA

Computes net take-home pay for a US W-2 employee: federal income tax, state income tax (all 50 states + DC), FICA (Social Security + Medicare + Additional Medicare), and state-specific extras (e.g. CA SDI, OR transit tax). Supports pre-tax 401(k) and health-insurance deductions and per-paycheck breakdowns. Example input: { "gross": 75000, "state": "CA", "filingStatus": "single" }. 2026 tax year — estimates, not tax advice; brackets from Tax Foundation (Jan 1, 2026) & IRS.

Inputs: gross (required), state (required), filingStatus (required), dependents, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool targets a distinct tax scenario: W-2 employment, self-employment, and capital gains. No overlap in purposes.

    Naming Consistency5/5

    All names follow a consistent snake_case pattern describing the tax type (e.g., us_take_home_pay, self_employment_tax, capital_gains_tax).

    Tool Count4/5

    3 tools is low but appropriate for a focused tax calculator; covers the most common income types without being too sparse.

    Completeness3/5

    Covers W-2, self-employment, and capital gains, but omits other income types like dividends, rental income, and business income beyond self-employment.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to calculate US household employer (nanny) taxes for all 50 states plus DC, including Social Security, Medicare, FUTA, and state unemployment, through natural language.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Answers US paycheck and payroll-tax questions for 2026 with real arithmetic, including take-home pay, bonus withholding, state comparisons, and per-state rate schedules for all 50 states and DC.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables models to query real US government data (BLS, BEA, Census, IRS 2026) to calculate 2026 take-home pay across all 50 states plus DC, compare cost-of-living-adjusted salaries between 50 US metros, retrieve tax bracket ladders, and look up occupation-level salary percentiles. Exposes five read-only tools over a free, keyless remote Streamable HTTP endpoint.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to calculate 2026 US freelancer and sole-proprietor tax figures — quarterly estimated payments with safe harbor, self-employment tax, IRS due dates, mileage deductions, home office deductions, and SEP IRA vs Solo 401(k) contribution limits. Runs entirely locally with no API key, account, or network calls.
      8
      366 npm
      MIT