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"
}社区
证据