Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Takehomeapi

БесплатноНе проверен

UK take-home pay API and remote MCP server: income tax incl. Scotland, NI, student loans, pensions, with GOV.UK sources.

GitHubEmbed

Описание

UK take-home pay API and remote MCP server: income tax incl. Scotland, NI, student loans, pensions, with GOV.UK sources.

README

TakeHome API logo

TakeHome API

UK take-home pay, worked out properly.
Income tax (including Scotland), National Insurance, student loans, pensions and the High Income Child Benefit Charge in one call, with the GOV.UK source behind every figure.
REST API · remote MCP server · pay-per-call for AI agents (x402)

Website · OpenAPI · llms.txt · Free API key


This repository holds the public listing, connection examples and MCP Registry entry for TakeHome API. The service itself is hosted at https://api.takehomeapi.com; there is nothing to install or run.

Connect an AI assistant (MCP)

Endpoint https://api.takehomeapi.com/mcp
Transport Streamable HTTP (remote)
Auth Authorization: Bearer <your key> — optional for get_tax_rates, required for the calculators
Registry name io.github.Leeday-devs/takehomeapi

Get a free key (100 calls a month) at https://takehomeapi.com/pricing.

Cursor, Windsurf, VS Code and other clients that support remote servers with headers — see examples/mcp.json:

{
  "mcpServers": {
    "takehome": {
      "url": "https://api.takehomeapi.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_TAKEHOME_API_KEY" }
    }
  }
}

Claude Desktop — via mcp-remote, see examples/claude_desktop_config.json.

Tools

Tool What it does Cost
get_tax_rates Every rate and threshold for a tax year Free, no key
calculate_take_home Full breakdown for one salary: tax band by band, NI, student loan, pension, HICBC, net pay per year/month/week, effective and marginal rate, sources and assumptions 1 call
compare_take_home 2–5 scenarios side by side (a pay rise, a pension change, moving to Scotland) with the difference from the first 1 call

REST API

curl -X POST https://api.takehomeapi.com/v1/take-home \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $TAKEHOME_API_KEY" \
  -d '{ "grossSalary": 45000, "studentLoans": ["plan2"], "pension": { "percent": 5, "method": "salary_sacrifice" } }'

Response (trimmed):

{
  "data": {
    "incomeTax": { "total": 6036 },
    "nationalInsurance": 2414.4,
    "studentLoan": { "total": 1202.85 },
    "netPay": { "annual": 33096.75, "monthly": 2758.06, "weekly": 636.48 },
    "effectiveRate": 0.2145,
    "marginalRate": 0.37,
    "sources": ["https://www.gov.uk/income-tax-rates", "..."]
  }
}
Endpoint Returns
GET /v1/rates?taxYear=2026-27 Rates and thresholds (free)
POST /v1/take-home One scenario
POST /v1/compare 2–5 scenarios

More examples: examples/curl.sh, examples/node.mjs, examples/python.py. Full schema: OpenAPI spec.

What it handles

  • Tax years 2025-26 and 2026-27
  • England, Wales and Northern Ireland bands, and all six Scottish bands
  • The personal allowance taper between £100,000 and £125,140 (the "60% trap")
  • Student loan Plans 1, 2, 4, 5 and postgraduate
  • Pensions via salary sacrifice, net pay or relief at source
  • High Income Child Benefit Charge
  • Effective and marginal rates

Pricing

Free 100 calls / month
Starter £15 / month — 5,000 calls
Pro £49 / month — 50,000 calls
Business £149 / month — 250,000 calls
AI agents (x402) $0.01 per calculation, $0.03 per comparison, in USDC on Base — no account needed

Also on RapidAPI.

For AI agents paying with x402

Call a paid endpoint without a key and you get HTTP 402. The payment terms are in the PAYMENT-REQUIRED header (base64 JSON) and summarised in the JSON body. Pay with any x402 v2 client and retry with the PAYMENT-SIGNATURE header. You are only charged for successful responses.

Accuracy

Rates come from HMRC and the Scottish Government, and every result lists its sources and assumptions. Results are estimates for a standard tax code; payslips can differ slightly because of pay frequency and rounding. Not tax advice.


Built by LeeDay.uk · Hosting Easy Ltd, registered in England and Wales (15169743) · Terms · Privacy · [email protected]

from github.com/Leeday-devs/takehomeapi-mcp

Установка Takehomeapi

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/Leeday-devs/takehomeapi-mcp

FAQ

Takehomeapi MCP бесплатный?

Да, Takehomeapi MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Takehomeapi?

Нет, Takehomeapi работает без API-ключей и переменных окружения.

Takehomeapi — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Takehomeapi в Claude Desktop, Claude Code или Cursor?

Открой Takehomeapi на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Takehomeapi with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development