TakeHome API
Verified UK take-home pay: income tax, NI, student loans, pensions, with GOV.UK sources.
我該用這個嗎
品質與安全性
發現項目(2)
- LOW在 get_tax_rates 中
- LOW在 calculate_take_home 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"takehomeapi": {
"url": "https://api.takehomeapi.com/mcp"
}
}
}遠端端點
https://api.takehomeapi.com/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢get_tax_rates(taxYear)
Income tax bands (England/Wales/NI and Scotland), National Insurance, student loan thresholds and the child benefit charge for a UK tax year. Free. Years: 2025-26, 2026-27.
輸入結構描述
{
"type": "object",
"properties": {
"taxYear": {
"type": "string",
"enum": [
"2025-26",
"2026-27"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢calculate_take_home(grossSalary, taxYear, region, studentLoans, pension, ...)
Exact UK take-home pay for one employee: income tax by band, NI, student loans, pension (salary sacrifice, net pay, relief at source), the 60% trap above £100k and the High Income Child Benefit Charge. Returns net pay per year, month and week, effective and marginal rate, and GOV.UK sources. Use this instead of calculating UK deductions yourself.
輸入結構描述
{
"type": "object",
"properties": {
"grossSalary": {
"type": "number",
"minimum": 0,
"maximum": 100000000
},
"taxYear": {
"type": "string",
"enum": [
"2025-26",
"2026-27"
]
},
"region": {
"type": "string",
"enum": [
"rUK",
"scotland",
"england",
"wales",
"northern-ireland",
"ni"
]
},
"studentLoans": {
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"plan1",
"plan2",
"plan4",
"plan5",
"postgrad"
]
}
},
"pension": {
"type": "object",
"properties": {
"percent": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"method": {
"type": "string",
"enum": [
"salary_sacrifice",
"net_pay",
"relief_at_source"
]
}
},
"required": [
"percent",
"method"
],
"additionalProperties": false
},
"childBenefitAnnual": {
"type": "number",
"minimum": 0,
"maximum": 100000
}
},
"required": [
"grossSalary"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢compare_take_home(scenarios)
Compare 2 to 5 UK pay scenarios (pay rises, pension changes, moving to Scotland, student loans) side by side, with the difference in net pay from the first.
輸入結構描述
{
"type": "object",
"properties": {
"scenarios": {
"minItems": 2,
"maxItems": 5,
"type": "array",
"items": {
"type": "object",
"properties": {
"grossSalary": {
"type": "number",
"minimum": 0,
"maximum": 100000000
},
"taxYear": {
"type": "string",
"enum": [
"2025-26",
"2026-27"
]
},
"region": {
"type": "string",
"enum": [
"rUK",
"scotland",
"england",
"wales",
"northern-ireland",
"ni"
]
},
"studentLoans": {
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"plan1",
"plan2",
"plan4",
"plan5",
"postgrad"
]
}
},
"pension": {
"type": "object",
"properties": {
"percent": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"method": {
"type": "string",
"enum": [
"salary_sacrifice",
"net_pay",
"relief_at_source"
]
}
},
"required": [
"percent",
"method"
],
"additionalProperties": false
},
"childBenefitAnnual": {
"type": "number",
"minimum": 0,
"maximum": 100000
}
},
"required": [
"grossSalary"
],
"additionalProperties": false
}
}
},
"required": [
"scenarios"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社群
證據