
台灣勞健保勞退試算
Wraps Taiwan's labor insurance, health insurance, pension, and occupational injury calculations into MCP tools that let Claude compute payroll deductions on the fly. Exposes `calculate_payroll` for monthly salary breakdowns across employee, employer, and government contributions, plus supplementary premium calculations for bonuses and other income types. Built on official 2024–2026 rate tables from Taiwan's Bureau of Labor Insurance and National Health Insurance Administration, with results validated bit-by-bit against government examples. Handles mid-month hire and termination prorations, generates NHI supplementary premium filing CSVs in Big5 encoding, and includes old-age pension estimators. Reach for this when you need Taiwan-specific payroll math in your AI workflows, either via the remote Cloudflare Workers endpoint or local stdio. Available as TypeScript and Python packages if you want the engine outside MCP.
- tools
- 9
- transport
- STDIO, HTTP
- last updated
- Jun 8, 2026
Install
From registry metadata$ npx add-mcp https://taiwan-payroll.simoko.workers.dev/mcp --name taiwan-payrollRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http taiwan-payroll https://taiwan-payroll.simoko.workers.dev/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 9 toolsVerified live against the running server on Nov 6, 2026.
calculate_payroll計算台灣某月薪資的勞保(含就保)、健保、勞退、職災各方(員工/雇主/政府)負擔。支援不同身份別、眷屬、自提、部分工時。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。9 params
計算台灣某月薪資的勞保(含就保)、健保、勞退、職災各方(員工/雇主/政府)負擔。支援不同身份別、眷屬、自提、部分工時。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。
dependentsintegeremploymentInsurancebooleanidentitystringcategory1 · migrantGeneral · migrantDomesticmonthlySalary*numberoccupationalRatenumberpartTimebooleanpensionSelfContributionnumberroundingstringround · ceil · aggregate-then-roundyearintegercalculate_supplementary_premium計算二代健保補充保費(費率 2.11%)。bonus 課徵年度累計超過當月投保額 4 倍部分;其餘五類單次達門檻全額課(單次上限 1,000 萬)。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。6 params
計算二代健保補充保費(費率 2.11%)。bonus 課徵年度累計超過當月投保額 4 倍部分;其餘五類單次達門檻全額課(單次上限 1,000 萬)。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。
amount*numbermonthlyInsuredSalarynumberroundingstringround · ceil · aggregate-then-roundtype*stringbonus · parttime · professional · dividend · interest · rentyearintegerytdBonusnumbercalculate_employer_supplementary_premium計算雇主端二代健保補充保費(費率 2.11%):(每月支付薪資總額 − 受僱者當月健保投保金額總額) × 費率,無上限。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。4 params
計算雇主端二代健保補充保費(費率 2.11%):(每月支付薪資總額 − 受僱者當月健保投保金額總額) × 費率,無上限。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。
monthlyInsuredTotal*numbermonthlyPaidTotal*numberroundingstringround · ceil · aggregate-then-roundyearintegercalculate_income_tax_withholding計算薪資所得扣繳稅額:居住者固定月薪(公式法)、非每月給付獎金(5%,未達起扣標準免扣)、非居住者(18%;月薪≤1.5倍基本工資為6%)。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。5 params
計算薪資所得扣繳稅額:居住者固定月薪(公式法)、非每月給付獎金(5%,未達起扣標準免扣)、非居住者(18%;月薪≤1.5倍基本工資為6%)。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。
amountnumberdependentsintegermonthlySalarynumbertype*stringresident · residentBonus · nonResidentyearintegercalculate_old_age_pension依勞保老年年金法定公式(擇優兩式、提前/延後增減給每年 ±4%,上限 ±5 年(±20%))試算月領金額;年資未滿 15 年不符年金請領資格。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。5 params
依勞保老年年金法定公式(擇優兩式、提前/延後增減給每年 ±4%,上限 ±5 年(±20%))試算月領金額;年資未滿 15 年不符年金請領資格。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。
avgInsuredSalary*numberclaimOffsetMonthsintegermonthsintegeryearintegeryears*integercalculate_old_age_lump_sum依勞保老年一次金法定公式(平均月投保薪資 × 給付月數;年資每滿 1 年給 1 個月、逾 60 歲後之年資最多計入 5 年)試算給付金額。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。5 params
依勞保老年一次金法定公式(平均月投保薪資 × 給付月數;年資每滿 1 年給 1 個月、逾 60 歲後之年資最多計入 5 年)試算給付金額。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。
avgInsuredSalary*numbermonthsintegerpostSixtyMonthsintegeryearintegeryears*integercalculate_old_age_single_payment依勞保一次請領老年給付法定公式(基數制:前 15 年每年 1 個基數、第 16 年起每年 2 個基數、60 歲前最高 45 個基數、逾 60 歲後年資每年 2 個基數最多計 5 年、合併最高 50 個基數)試算給付金額。適用 98 年前已有保險年資者。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。6 params
依勞保一次請領老年給付法定公式(基數制:前 15 年每年 1 個基數、第 16 年起每年 2 個基數、60 歲前最高 45 個基數、逾 60 歲後年資每年 2 個基數最多計 5 年、合併最高 50 個基數)試算給付金額。適用 98 年前已有保險年資者。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。
avgInsuredSalary*numberpostSixtyMonthsintegerpostSixtyYearsintegerpreSixtyMonthsintegerpreSixtyYears*integeryearintegercalculate_prorated計算月中到職或離職當月的破月保費。勞保/職保/勞退按日(30 日基準);健保採官方「月底歸屬」——到職當月計整月、離職當月不計。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。11 params
計算月中到職或離職當月的破月保費。勞保/職保/勞退按日(30 日基準);健保採官方「月底歸屬」——到職當月計整月、離職當月不計。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。
dependentsintegeremploymentInsurancebooleanendDatestringidentitystringcategory1 · migrantGeneral · migrantDomesticmonthlySalary*numberoccupationalRatenumberpartTimebooleanpensionSelfContributionnumberroundingstringround · ceil · aggregate-then-roundstartDatestringyearintegerlist_years列出目前支援的年度、資料版本與基本工資(月薪/時薪)。計算前可先用本工具確認有效的 year 值。
列出目前支援的年度、資料版本與基本工資(月薪/時薪)。計算前可先用本工具確認有效的 year 值。
No parameters. Call it with no arguments.
Sponsors
Readme
taiwan-payroll
開源的台灣勞健保勞退法定費用計算引擎。輸入薪資與身份,算出勞保(含就保)、健保、勞退、職災與二代健保補充保費的各方負擔——並涵蓋薪資所得扣繳、月中到職/離職破月、健保補充保費申報媒體檔,以及勞保老年給付試算。
在 AI 助理中以自然語言詢問薪資,taiwan-payroll MCP server 呼叫 calculate_payroll 即時算出員工自付 4,872、雇主負擔 8,315
示意:在支援 MCP 的 AI 助理(Claude / Cursor 等)中呼叫 taiwan-payroll
月薪 42,000 第一類計算結果:員工負擔 4,872、雇主負擔 8,315、政府補助 864(新台幣/月,民國115年度)
Details
- Repository
- github.com/supra126/taiwan-payroll
- Package
taiwan-payroll-mcp- Transport
- STDIO, HTTP
- Registry
- MCP registry, active
- Tools verified
- Nov 6, 2026