calcbloc-mcp
calcbloc-mcp provides read-only tax, payroll, equity, tariff and treaty data through 14 MCP tools backed by official sources.
Calculate take-home pay and employer cost by country, with regional breakdowns where required.
Compare the same salary across two countries using ECB reference rates.
Estimate withholding on bonuses, commissions, RSU vests, option exercises and lump sums versus final tax.
Calculate tax on RSUs and stock options at vest/exercise and sale, including flags and alternative scenarios.
Split cross-border equity income between countries by workdays or official rules and estimate each country's tax.
Calculate import duty and landed cost, look up tariff lines, and list trade agreements for the UK, EU, US and India.
Retrieve official tax tables and search tax facts for 217 countries, including regional and historical year data.
Get tax calendars: current/next tax year, upcoming changes and budget dates.
Look up stored double-taxation treaty withholding rates, relief methods, dates and MLI status.
List supported countries, regions and country-specific calculation options.
Every result includes tax year, official source URLs, a CalcBloc page, attribution and a non-advice disclaimer.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@calcbloc-mcp What's my take-home pay on $85,000 in California, filing single?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CalcBloc MCP server: take-home pay, employer cost and official tax tables for AI assistants
calcbloc-mcp is a Model Context Protocol (MCP) server that lets AI assistants work out take-home pay, employer cost, cross-country salary comparisons, the tax withheld on a bonus and the tax on RSUs and stock options, and look up official income tax and social security tables and double taxation treaty rates, using CalcBloc data. It covers the United States (all states), the United Kingdom, Canada, Australia, India, Germany, France, Spain, the Netherlands and every other country listed under Coverage. Every answer states the tax year, links the official government sources behind the rates, and carries the credit "Data by CalcBloc".
CalcBloc is a product of itmarkerz technologies.
Install with npx -y calcbloc-mcp (npm package). The server is listed in the official MCP Registry as io.github.itmarkerz/calcbloc-mcp.
Contents
Related MCP server: NannyKeeper MCP Server
What it does
Ask your assistant things like:
"What is my take-home pay on $85,000 in California, filing single?"
"How much does it cost a German employer to hire someone on €60,000?"
"Compare £50,000 in Scotland with the same salary in Germany."
"Show me the 2026 Ontario income tax brackets and where they come from."
"What are the UK National Insurance thresholds for 2026-27?"
"How much of my $20,000 bonus will be withheld in New York, and will I owe more at tax time?"
"I exercise 1,000 EMI options worth £12 a share with an exercise price of £3: what tax do I pay?"
"What is the maximum withholding tax on royalties paid from India to a UK company under the treaty?"
The server provides fourteen read-only tools:
Tool | What it returns |
| Net pay after income tax and employee contributions, with a yearly, monthly and weekly breakdown |
| Salary plus employer social security, payroll taxes and other on-costs |
| The same salary in two countries, converted at the European Central Bank reference rate |
| Tax withheld on a bonus, commission, RSU vest, option exercise or lump sum, next to the final tax it adds |
| Tax on RSUs and stock options at vest or exercise and on sale, with flags and alternative scenarios |
| An RSU vest or option exercise split between the countries worked in, with each share's estimated tax |
| Duties, import VAT, excise and landed cost of one import into the UK, the EU, the US or India |
| Tariff lines of a commodity code: duty rates, preferences, quotas and extra duties |
| Trade agreements and preference schemes in a tariff, with rules of origin and official links |
| Official tax tables (bands, allowances, contribution rates and thresholds) for a country, year and region |
| Tax-table figures as facts, filtered by country, tax type, jurisdiction, level and year |
| Tax year in force, next tax year, enacted and announced changes and the next budget |
| Double taxation treaty withholding limits (dividends, interest, royalties, technical fees), relief method, dates and MLI status |
| Supported countries, tax years, regions and the options each calculation accepts |
Calculations run on CalcBloc's public API (calcbloc.com/developers), the same engines and data as the calculators on calcbloc.com. Every result includes:
the tax year the figures apply to;
the official source URLs (government or statutory publications) for the rates used, with the date each was last checked;
the calcbloc.com page for the result (calculator or tax-table page);
the credit "Data by CalcBloc" and a short note that the figures are an estimate, not tax advice.
Coverage
217 countries with official tax tables; 15 with take-home pay calculations; 14 with employer cost; 15 in the cross-country comparison (France: take-home pay and compare only, no employer cost yet); 12 with supplemental (bonus) withholding; 5 with equity compensation tax (RSUs and stock options); 10 with cross-border equity estimates for mobile employees.
Take-home pay (
calculate_take_home_pay):ee,pl,dk,sg,fr,nl,es,de,us,uk,au,nz,ca,ie,in.Employer cost (
calculate_employer_cost):ee,pl,dk,sg,nl,es,de,us,uk,au,nz,ca,ie,in.Compare (
compare_countries):ee,pl,dk,sg,fr,nl,es,de,us,uk,au,nz,ca,ie,in.Supplemental withholding (
calculate_supplemental_withholding: tax withheld on a bonus, commission, RSU vest, option exercise or lump sum, next to the final tax it adds):sg,fr,nl,es,de,us,uk,au,nz,ca,ie,in.Equity tax (
calculate_equity_tax: RSUs and stock options at vest or exercise, and on sale):us(rsu, nso, iso),uk(rsu, emi, csop, unapproved_option),au(ess_upfront, ess_deferred, rsu),ca(stock_option),in(esop, rsu).Cross-border equity (
calculate_cross_border_equity: an RSU vest or option exercise split between the countries worked in from grant to vest, with each share's estimated tax): tax estimates forsg,nl,es,de,us,uk,au,ca,ie,in; the split itself works for every country.Tax tables (
get_tax_tables) and tax facts (search_tax_facts): all 217 countries; the others say so and link their tax tables when a calculation is asked for.Tax calendar (
get_tax_calendar: tax year, next tax year, enacted and announced changes, next budget): all 217 countries.Import duty, tariffs and trade agreements (
calculate_import_duty,get_tariff,list_trade_agreements): imports into the UK, the EU (any member state), the United States and India, as the API's tariff data allows.Tax treaties (
get_tax_treaties: withholding limits on dividends, interest, royalties and technical fees, relief method, dates and MLI status): the double taxation treaties the API stores (India's with the United States, Singapore, the United Kingdom, Japan, Australia and Austria in API 1.10).regionis required for take-home pay inus,ca; for employer cost inus,au,ca; for supplemental withholding inus,ca; for equity tax inca. A missing or unknown region returns the valid codes and names.Not yet supported: cross-border salary withholding (multi-country payroll), and the double-tax relief amount (get_tax_treaties lists the treaty withholding limits CalcBloc stores).
list_countries always shows the live list.
Quick start
Requirements: Node.js 20 or newer.
npx -y calcbloc-mcpThe server talks MCP over stdio, so you normally do not run it yourself: you add it to your AI client with the snippets below, and the client starts it when needed. No API key is required. A free key raises the daily limit (see Limits and caching).
Remote server (no install)
The same tools are also hosted at https://calcbloc.com/mcp (Streamable HTTP, no sign-in). Use it in clients that connect to MCP servers by URL, such as custom connectors on claude.ai or Claude Desktop (Settings > Connectors > Add custom connector), or in Claude Code:
claude mcp add --transport http calcbloc https://calcbloc.com/mcpWithout a key, each address gets 500 tool API calls a day (30 a minute) within a shared daily total. To use your own free key (5,000 a day), send it as the X-API-Key header, for example claude mcp add --transport http calcbloc https://calcbloc.com/mcp --header "X-API-Key: your-free-key", or as Authorization: Bearer your-free-key.
Set up your AI client
All clients use the same command, npx -y calcbloc-mcp. The CALCBLOC_API_KEY entry is optional: leave it out, or paste your free key from calcbloc.com/developers/keys.
Claude Desktop
Open Settings > Developer > Edit Config and add the server to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\, Linux: ~/.config/Claude/):
{
"mcpServers": {
"calcbloc": {
"command": "npx",
"args": ["-y", "calcbloc-mcp"],
"env": {
"CALCBLOC_API_KEY": "your-free-key"
}
}
}
}Quit and restart Claude Desktop.
Claude Code
claude mcp add --transport stdio calcbloc -- npx -y calcbloc-mcpWith an API key, available in all your projects:
claude mcp add --transport stdio --scope user --env CALCBLOC_API_KEY=your-free-key calcbloc -- npx -y calcbloc-mcpTo share it with a project, add it to .mcp.json at the project root and keep the key in your environment:
{
"mcpServers": {
"calcbloc": {
"command": "npx",
"args": ["-y", "calcbloc-mcp"],
"env": { "CALCBLOC_API_KEY": "${CALCBLOC_API_KEY:-}" }
}
}
}Cursor
Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"calcbloc": {
"command": "npx",
"args": ["-y", "calcbloc-mcp"],
"env": { "CALCBLOC_API_KEY": "your-free-key" }
}
}
}VS Code (GitHub Copilot)
Add to .vscode/mcp.json, or run MCP: Add Server from the Command Palette. VS Code asks for the key the first time and stores it securely:
{
"inputs": [
{
"type": "promptString",
"id": "calcbloc-api-key",
"description": "CalcBloc API key (optional, leave empty for anonymous use)",
"password": true
}
],
"servers": {
"calcbloc": {
"type": "stdio",
"command": "npx",
"args": ["-y", "calcbloc-mcp"],
"env": { "CALCBLOC_API_KEY": "${input:calcbloc-api-key}" }
}
}
}Or from a terminal, without a key:
code --add-mcp '{"name":"calcbloc","type":"stdio","command":"npx","args":["-y","calcbloc-mcp"]}'Windsurf and Devin
Devin Desktop and Devin CLI read ~/.config/devin/mcp_config.json (Windows: %APPDATA%\devin\mcp_config.json) or .devin/mcp_config.json in a project. Windsurf uses the same mcpServers format in its MCP settings (raw config):
{
"mcpServers": {
"calcbloc": {
"command": "npx",
"args": ["-y", "calcbloc-mcp"],
"env": { "CALCBLOC_API_KEY": "your-free-key" }
}
}
}OpenAI Codex (CLI, IDE extension and app)
codex mcp add calcbloc -- npx -y calcbloc-mcpor in ~/.codex/config.toml:
[mcp_servers.calcbloc]
command = "npx"
args = ["-y", "calcbloc-mcp"]
[mcp_servers.calcbloc.env]
CALCBLOC_API_KEY = "your-free-key"Other MCP clients
Any client that can start a local (stdio) MCP server works: use the command npx with the arguments -y calcbloc-mcp, and optionally set CALCBLOC_API_KEY in its environment.
Tools
All tools are read-only and idempotent, and declare an output schema; results come back as readable text plus structuredContent that matches the schema.
calculate_take_home_pay
Argument | Type | Notes |
| string, required | Short code (ISO 3166-1 alpha-2 in lower case; the UK is |
| number, required | Gross salary in the country's currency. Annual everywhere except Singapore (monthly). |
| string | Code or name, where the calculation varies by region: US state ( |
| string | Defaults to the current tax year ( |
| object | Country-specific options, e.g. US |
Returns net annual pay, total deductions and effective rate where available, the engine's full results, a yearly/monthly/weekly breakdown, notes and the inputs used. For countries on CalcBloc's shared take-home engine (Denmark, Estonia, Poland), it also shows how the calculation was verified: "checked against an official worked example" or "computed from the law text; no official example is published", with the official URLs (verification in the structured result; null for the other countries).
calculate_employer_cost
Same arguments as calculate_take_home_pay (with employer options such as UK pension_mode, US health_per_month or Poland accident_rate_pct). Returns the total yearly and monthly cost, the cost multiplier where available, a breakdown of employer contributions and, where the API gives one, the same verification marker.
compare_countries
Argument | Type | Notes |
| string, required | Two different countries with calculations. |
| number, required | Annual gross salary in |
| string | Country A's or country B's currency (ISO code). Default: country A's. |
| string | Region for the US, UK, Canada or India. |
Returns both sides (gross, income tax, contributions, take-home pay, effective rate, assumptions), the exchange rate and date, the difference, and a plain-English summary.
calculate_supplemental_withholding
Tax withheld on a bonus, commission, RSU vest, stock option exercise or lump sum paid on top of a regular salary, with the official withholding method (for example the IRS supplemental flat rate and the mandatory rate over $1 million, HMRC cumulative PAYE, the CRA bonus method), next to the final tax the payment adds at the person's real rates.
Argument | Type | Notes |
| string, required | A country listed under Coverage for supplemental withholding. Other countries return the list of supported ones. |
| number, required | Regular gross salary for the year, before the payment, in the country's currency (annual everywhere). |
| number, required | The supplemental payment (gross). |
| string |
|
| string | Code or name. Required for the US (state) and Canada (province); optional where it changes the result (UK nation, German state, Spanish community). |
| object | Country-specific options, e.g. US |
Returns the method, each line's withholding and the final tax it adds (with its official source), the totals, the difference (positive: more due after the year; negative: refund), the net payment, notes and the inputs used.
calculate_equity_tax
Tax on RSUs and stock options: income tax, social security and employer withholding at vest or exercise, and capital gains tax on a later sale, with flags (such as AMT exposure) and alternative outcomes (such as qualifying vs disqualifying disposition).
Argument | Type | Notes |
| string, required | A country listed under Coverage for equity tax. Other countries return the list of supported ones. |
| string, required | Per country: US |
| number, required | Shares vesting or options exercised. |
| string, required |
|
| number, required | Market value per share at vest or exercise. |
| number, required | Regular annual gross salary (for the marginal rates and contribution ceilings). |
| number | Per share; required for options. |
| number | Market value per share at grant (UK EMI discount and CSOP limit, Canada stock option deduction). |
| number, string | Together: adds the tax on the sale. |
| string | Required for Canada (province); optional for the US (state withholding) and the UK (Scotland, Wales). |
| object | Country-specific options, e.g. US |
Returns the taxable amount at the event, each line (stage, base, amount, rate, amount withheld, note, official source), the totals at the event and at sale, flags, scenarios, notes and the inputs used.
get_tax_tables
Argument | Type | Notes |
| string, required | Any listed country (every one has tax tables). |
| string | Default: latest. Some countries also have the previous year (for example UK |
| string | Regional table: US state, Canadian province, UK nation (Scotland, Wales), Swiss canton, Spanish community, Italian region, and others. |
| string | Only |
| string[] | Only these section ids. |
Returns each section's rows (bands with from/to/rate, or values with units), its basis, notes and official source, plus links to the tax-table page, the JSON API and a CSV download. Very long tables return a section index first, so the assistant can ask for the part it needs.
get_tax_treaties
The double taxation treaties CalcBloc stores for a country (API 1.10: India's treaties with the United States, Singapore, the United Kingdom, Japan, Australia and Austria), each read from an official copy.
Argument | Type | Notes |
| string, required | Short code or English name, e.g. |
| string | Only the treaty with this country: ISO code or name ( |
Returns, for each treaty, the maximum withholding tax the source country may charge on dividends (and the lower rate for a qualifying shareholding), interest, royalties and fees for technical services, each with its condition, article and wording. It also gives each country's relief method (credit or exemption), the signature and entry-into-force dates, whether the MLI modifies the treaty, and the official source. Nothing is computed: a lower domestic rate, beneficial ownership, the MLI principal purpose test and anti-abuse rules still apply.
list_countries
Without arguments, lists every country with its current tax year and which tools work for it. With country, also lists its regions and every calculation option, with allowed values and defaults, including the payment types, instruments and options of supplemental withholding and equity tax.
Sample calls
These are real responses from the server (recorded with the MCP SDK client over stdio; the figures come from the CalcBloc API on 11 November 2026). Long source lists are shortened.
Take-home pay, £50,000 in Scotland
{ "name": "calculate_take_home_pay", "arguments": { "country": "uk", "gross_salary": 50000, "region": "scotland" } }Take-home pay in United Kingdom (Scotland), tax year 2026-27
Gross salary: GBP 50,000.00 (annual gross salary in GBP)
Take-home pay: GBP 38,024.07 a year
Effective deduction rate: 23.95%
Your pay in 2026/27 (Year | Month | Week, GBP):
- Gross salary: 50,000.00 | 4,166.67 | 961.54
- Income Tax: 8,982.05 | 748.50 | 172.73
- National Insurance: 2,993.88 | 249.49 | 57.57
- Take-home pay: 38,024.07 | 3,168.67 | 731.23
...
Calculator: https://calcbloc.com/uk/take-home-pay-calculator
Tax tables: https://calcbloc.com/uk/tax-tables/2026-27/scotland
Official sources:
- HMRC: Income Tax rates and allowances for current and previous tax years (updated 6 April 2026): https://www.gov.uk/government/publications/rates-and-allowances-income-tax/income-tax-rates-and-allowances-current-and-past (checked 2026-10-16)
- GOV.UK: Rates and thresholds for employers 2026 to 2027 (Class 1 National Insurance thresholds and rates): https://www.gov.uk/guidance/rates-and-thresholds-for-employers-2026-to-2027 (checked 2026-10-16)
...
Estimate for information only, not tax, legal or financial advice. Figures follow the official sources listed; check them, or ask a qualified adviser, before making decisions.
Data by CalcBloc: https://calcbloc.com/uk/take-home-pay-calculator (licence CC BY 4.0, https://calcbloc.com/data)The matching structuredContent (shortened):
{
"country": "uk",
"countryName": "United Kingdom",
"region": "scotland",
"taxYear": "2026-27",
"currency": "GBP",
"grossSalary": 50000,
"netAnnual": 38024.07,
"effectiveRate": 0.2395186,
"results": { "netMonthly": 3168.6725, "incomeTax": 8982.05, "employeeNi": 2993.88, "employerNi": 6749.4 },
"taxTablesUrl": "https://calcbloc.com/uk/tax-tables/2026-27/scotland",
"sources": [{ "title": "HMRC: Income Tax rates and allowances ...", "url": "https://www.gov.uk/government/publications/rates-and-allowances-income-tax/income-tax-rates-and-allowances-current-and-past", "retrievedAt": "2026-10-16" }],
"calcblocUrl": "https://calcbloc.com/uk/take-home-pay-calculator",
"attribution": "Data by CalcBloc",
"licence": "CC BY 4.0",
"disclaimer": "Estimate for information only, not tax, legal or financial advice. ..."
}Employer cost, €60,000 in Germany
{ "name": "calculate_employer_cost", "arguments": { "country": "germany", "gross_salary": 60000 } }Employer cost in Germany, tax year 2026
Gross salary: EUR 60,000.00 (annual gross salary in EUR (above the Midijob range))
Total cost to the employer: EUR 73,392.00 a year
Monthly cost: EUR 6,116.00
Employer cost of a €60,000 salary (Berlin) (Year | Month, EUR):
- Gross salary: 60,000.00 | 5,000.00
- Pension insurance (employer half): 5,580.00 | 465.00
- Unemployment insurance (employer half): 780.00 | 65.00
- Health insurance (employer half): 5,250.00 | 437.50
- Long-term care insurance (employer half): 1,080.00 | 90.00
- U1 sick-pay levy (0.8%): 480.00 | 40.00
- U2 maternity levy (0.22%): 132.00 | 11.00
- U3 insolvency levy (0.15%): 90.00 | 7.50
- Total employer cost: 73,392.00 | 6,116.00
...
Data by CalcBloc: https://calcbloc.com/germany/germany-employer-cost-calculator (licence CC BY 4.0, https://calcbloc.com/data)Compare the UK and Germany at £50,000
{ "name": "compare_countries", "arguments": { "country_a": "uk", "country_b": "germany", "gross_salary": 50000 } }Salary comparison: United Kingdom vs Germany, GBP 50,000.00 a year
England, United Kingdom (tax year 2026-27):
- Gross: GBP 50,000.00
- Income Tax: GBP 7,486.00
- National Insurance: GBP 2,993.88
- Take-home pay: GBP 39,520.12 (20.96% deducted)
...
Germany (tax year 2026):
- Gross: EUR 59,941.26
- Wage tax: EUR 9,372.00
...
- Take-home pay: EUR 37,532.10 (37.39% deducted)
...
Exchange rate: 1 GBP = 1.1988 EUR, rates as of 6 November 2026 (European Central Bank reference rates)
Comparison page: https://calcbloc.com/compare/salaryOntario income tax tables
{ "name": "get_tax_tables", "arguments": { "country": "canada", "region": "on", "group": "income-tax" } }Tax tables: Canada, Ontario, tax year 2026 (in force 2026-01-01 to 2026-12-31)
Currency: CAD. Status: verified.
### Ontario income tax brackets
(section: provincial-income-tax; group: income-tax; basis: Taxable income, per year)
- 0 to 53,891 at 5.05%
- 53,891 to 107,785 at 9.15%
- 107,785 to 150,000 at 11.16%
- 150,000 to 220,000 at 12.16%
- 220,000 and above at 13.16%
Source: T4127 Payroll Deductions Formulas, 122nd Edition, effective January 1, 2026 (CRA), ..., https://www.canada.ca/content/dam/cra-arc/formspubs/pub/t4127-jan/t4127-01-26e.pdf (checked 2026-10-25)
...A country without calculations yet
{ "name": "calculate_take_home_pay", "arguments": { "country": "austria", "gross_salary": 50000 } }Take-home pay calculation is not available for Austria yet. Its official 2026 tax tables are available: call get_tax_tables with country "austria", or see https://calcbloc.com/austria/tax-tables/2026.Configuration
All settings are optional environment variables, set in your client's env block:
Variable | Default | Purpose |
| none | Optional; raises the keyless allowance. Free API key (email only) from calcbloc.com/developers/keys, sent as the |
| none | Folder with a copy of the CalcBloc tax-table data. Tax tables are read from it first (see Offline tax tables). |
|
| API base URL (for testing). |
|
| Request timeout in milliseconds. |
| none | The same API key under the name the CalcBloc Claude plugin passes it ( |
Limits and caching
The CalcBloc API is free. Without a key it allows a smaller number of requests a day and a minute per IP address than with a free key; the current numbers are on calcbloc.com/developers, and every API response reports the daily limit in X-RateLimit-Limit. When the keyless allowance runs out (the API answers 429, or reports X-RateLimit-Remaining: 0), the tool error says the free allowance without a key is used up and continues "Get a free API key (email only)": it links to calcbloc.com/developers/keys and says to set it as CALCBLOC_API_KEY in this server's env block and restart. Until the limit resets the server sends no more requests (each tool call answers with the same message at once); offline tax tables from CALCBLOC_DATA_DIR keep working. With a key, a limit message gives the key's limits and when to try again.
To save requests, the server keeps the country list and tax tables in memory for six hours. The first calculation for a country uses up to four requests (country list, calculation, and the national and regional tax tables that supply the official source links); later calculations for the same country use one. Tax-table lookups use one request per table, or none when a local data folder is set.
Offline tax tables
The tax tables are also published as open data (JSON and CSV) at calcbloc.com/data. If you keep a copy, point CALCBLOC_DATA_DIR at it (either the repository root or its tables folder, which contains manifest.json). get_tax_tables then reads from the folder without using the API, and keeps working when the API cannot be reached. Calculations always need the API.
The data is not bundled in the npm package: it is about 10 MB, and tables are updated when governments publish changes, so a bundled copy would go out of date between releases.
Development
git clone https://github.com/itmarkerz/calcbloc-mcp.git
cd calcbloc-mcp
npm install
npm run build
npm testnpm testbuilds the server and runs the unit tests (mocked HTTP) and an end-to-end test that startsdist/index.jsover stdio with the MCP SDK client against a local mock of the API.npm run inspectoropens the MCP Inspector on the built server. From the command line:npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/list npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/call --tool-name list_countries --tool-arg country=ukTo use a local build in a client, replace
npx -y calcbloc-mcpwithnode /path/to/calcbloc-mcp/dist/index.js.
Built with the official MCP TypeScript SDK v2 (@modelcontextprotocol/server 2.4), which implements the 2026-07-28 MCP specification. Node.js 20 or newer.
Data, licence and credit
Tax data: CalcBloc, licensed CC BY 4.0. Credit: "Data by CalcBloc (calcbloc.com/data)". Each figure is taken from the official source named next to it, with the date it was last checked.
Code: MIT licence, see LICENSE.
Results are estimates for information only and are not tax, legal or financial advice.
Links
Website: calcbloc.com
API documentation: calcbloc.com/developers
Free API key: calcbloc.com/developers/keys
Tax tables and downloads: calcbloc.com/data
About
CalcBloc is built and maintained by itmarkerz technologies, a web and mobile app development company in Kerala, India. The data behind this server is at calcbloc.com/data and the API documentation at calcbloc.com/developers. The other CalcBloc packages (Python, JavaScript, PHP, R, Google Sheets and the dataset itself) are in the itmarkerz GitHub organization.
Available Tools
14 toolscalculate_cross_border_equitySplit equity income between countries (mobile employees)ARead-onlyIdempotent
For an employee who worked in several countries between grant and vest: splits an RSU vest or stock option exercise between those countries by workdays (OECD Commentary on Article 15) or the country's own official rule (US Treas. Reg. § 1.861-4, HMRC relevant period, Ireland, Singapore, Canada), then estimates each country's tax and withholding on its share. Tax estimates for: sg, nl, es, de, us, uk, au, ca, ie, in; the split works for every country. Flags where two countries tax the same income (relief by credit or exemption under the treaty); treaty rates and the relief amount are not computed. Canada needs options {"ca":{"region":"on"}}. Every result is an estimate. Returns the rule used per country, official source URLs and the calcbloc.com page. Not yet supported: cross-border salary withholding (multi-country payroll), and the double-tax relief amount (get_tax_treaties lists the treaty withholding limits CalcBloc stores).
Inputs: units (required), periods (required), fmv_event (required), event_date (required), +10 more. Returns: fx, flags, label, notes, +22 more
calculate_employer_costCalculate employer costARead-onlyIdempotent
Total cost of employing someone on a gross salary: the salary plus employer social security, payroll taxes, pension and other on-costs, with a breakdown, for the current tax year. Countries: ee, pl, dk, sg, nl, es, de, us, uk, au, nz, ca, ie, in. region is REQUIRED for: us, au, ca; optional for: es, de, in; a missing or unknown region returns the valid codes. Returns the tax year, official source URLs and the calcbloc.com page. Bonus and other supplemental pay (withholding vs final tax): calculate_supplemental_withholding (sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in). Equity compensation (RSUs, stock options): calculate_equity_tax (us, uk, au, ca, in). Equity earned while working in several countries: calculate_cross_border_equity (tax estimates for sg, nl, es, de, us, uk, au, ca, ie, in). Not yet supported: cross-border salary withholding (multi-country payroll), and the double-tax relief amount (get_tax_treaties lists the treaty withholding limits CalcBloc stores).
Inputs: country (required), gross_salary (required), year, region, +1 more. Returns: notes, inputs, region, country, +19 more
calculate_equity_taxCalculate tax on RSUs and stock optionsARead-onlyIdempotent
Tax on equity compensation: income tax, social security and employer withholding when RSUs vest or stock options are exercised, and capital gains tax on a later sale (give sale_price and sale_date), with flags (such as AMT exposure) and the alternative outcomes the law allows (such as qualifying vs disqualifying disposition). Countries and instruments: us (rsu, nso, iso), uk (rsu, emi, csop, unapproved_option), au (ess_upfront, ess_deferred, rsu), ca (stock_option), in (esop, rsu). Required: country, instrument, units, grant_date, event_date, fmv_event, gross_salary; options also need exercise_price. region is REQUIRED for: ca; optional for: us, uk. Other countries return the list of supported ones. Returns the tax year, official source URLs and the calcbloc.com page. Not yet supported: cross-border salary withholding (multi-country payroll), and the double-tax relief amount (get_tax_treaties lists the treaty withholding limits CalcBloc stores).
Inputs: units (required), country (required), fmv_event (required), event_date (required), +9 more. Returns: flags, lines, notes, units, +20 more
calculate_import_dutyCalculate import duty and landed costARead-onlyIdempotent
Duties and taxes on one import, as of the tariff's version date: the third-country (MFN) duty or, with proof_of_origin, the lowest preferential duty under a trade agreement; extra duties in force for the origin (anti-dumping, countervailing, safeguard, US Section 301); excise (UK); import VAT (UK, or the EU member state's standard rate); US entry fees; and the landed cost. Destinations: gb (the UK), eu or an EU member state (de, fr, it, es, nl…; its import VAT applies), us (the United States) or in (India). Each line has its measure, legal instrument and source. A duty that cannot be computed (a specific duty without quantity, an exporter-specific anti-dumping duty without additional_code) is shown as not computed and totals.complete is false with the reasons. Use get_tariff to find the 10-digit code. The figures are an estimate, not a customs ruling: TARIC is not legally binding, and the customs authority makes the final determination.
Inputs: origin (required), hs_code (required), customs_value (required), unit, +9 more. Returns: mfn, basis, lines, notes, +22 more
calculate_supplemental_withholdingCalculate withholding on a bonus or other supplemental payARead-onlyIdempotent
Tax withheld on a supplemental payment (bonus, commission, RSU vest, stock option exercise or lump sum) paid on top of a regular salary, using the country's official withholding method (for example the IRS supplemental flat rate, HMRC cumulative PAYE, the CRA bonus method), line by line, next to the final tax the payment adds at the person's real rates, so over- or under-withholding shows. Countries: sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in. Types are limited for au (bonus, commission, lump_sum), ie (bonus, commission, rsu_vest, lump_sum); other countries take every type. region is REQUIRED for: us, ca; optional for: es, de, uk; a missing or unknown region returns the valid codes. Other countries return the list of supported ones. Returns the tax year, the method, official source URLs and the calcbloc.com page. Not yet supported: cross-border salary withholding (multi-country payroll), and the double-tax relief amount (get_tax_treaties lists the treaty withholding limits CalcBloc stores).
Inputs: amount (required), country (required), gross_salary (required), type, +2 more. Returns: type, lines, notes, amount, +20 more
calculate_take_home_payCalculate take-home payARead-onlyIdempotent
Net (take-home) pay after income tax and employee social security for a gross salary, with a line-by-line breakdown, using official rates for the current tax year. Countries: ee, pl, dk, sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in (217 countries with official tax tables; 15 with take-home pay calculations; 14 with employer cost; 15 in the cross-country comparison (France: take-home pay and compare only, no employer cost yet); 12 with supplemental (bonus) withholding; 5 with equity compensation tax (RSUs and stock options); 10 with cross-border equity estimates for mobile employees.) region is REQUIRED for: us, ca; optional for: es, de, uk, in; a missing or unknown region returns the valid codes. Returns the tax year, official source URLs and the calcbloc.com page. Bonus and other supplemental pay (withholding vs final tax): calculate_supplemental_withholding (sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in). Equity compensation (RSUs, stock options): calculate_equity_tax (us, uk, au, ca, in). Equity earned while working in several countries: calculate_cross_border_equity (tax estimates for sg, nl, es, de, us, uk, au, ca, ie, in). Not yet supported: cross-border salary withholding (multi-country payroll), and the double-tax relief amount (get_tax_treaties lists the treaty withholding limits CalcBloc stores).
Inputs: country (required), gross_salary (required), year, region, +1 more. Returns: notes, inputs, region, country, +19 more
compare_countriesCompare take-home pay in two countriesARead-onlyIdempotent
The same gross salary in two countries: take-home pay, income tax and contributions on each side, converted at the European Central Bank reference rate, with a plain-English summary. Countries: ee, pl, dk, sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in. Use region_a / region_b for a US state, UK nation, Canadian province or Indian state (defaults apply otherwise and are stated in the answer). Returns each side's tax year and official sources. Bonus and other supplemental pay (withholding vs final tax): calculate_supplemental_withholding (sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in). Equity compensation (RSUs, stock options): calculate_equity_tax (us, uk, au, ca, in). Equity earned while working in several countries: calculate_cross_border_equity (tax estimates for sg, nl, es, de, us, uk, au, ca, ie, in). Not yet supported: cross-border salary withholding (multi-country payroll), and the double-tax relief amount (get_tax_treaties lists the treaty withholding limits CalcBloc stores).
Inputs: country_a (required), country_b (required), gross_salary (required), currency, +2 more. Returns: a, b, salary, licence, +11 more
get_tariffLook up tariff lines by commodity codeARead-onlyIdempotent
The importing country's tariff lines for a commodity code or HS prefix: description, MFN duty, tariff preferences with their agreements and quotas, suspensions, extra duties (anti-dumping and others, grouped by exporter additional code), import VAT, excise and other charges, each in the tariff's own wording, as of the tariff's version date. Tariffs: gb (the UK), eu or an EU member state (de, fr, it, es, nl…; its import VAT applies), us (the United States) or in (India). With origin, only the measures for that origin and the best preferential rate. Paginated: pass nextCursor as cursor for more lines. Not a customs ruling.
Inputs: hs_code (required), limit, cursor, origin, +2 more. Returns: code, count, lines, total, +11 more
get_tax_calendarGet the tax calendarARead-onlyIdempotent
A country's tax calendar: the tax year in force (dates, calendar or fiscal, days remaining), when the next tax year starts, other tax periods, every change already enacted or officially announced for the next 24 months (effective date, what changes, status and the official source) and the last and next budget dates (next budget "not announced" unless the government has announced it). Nothing is estimated. Without country: one line per country (217 countries). With region (US state, Canadian province, UK nation…), that region's changes too.
Inputs: region, country. Returns: asOf, licence, sources, calendar, +6 more
get_tax_tablesGet official tax tablesARead-onlyIdempotent
Official tax tables for a country and year: income tax bands, allowances, employee and employer social security rates and thresholds, and for many countries corporate, property, transfer and other taxes, each with its official source and the date it was checked. Available for all 217 countries, including those without calculations. Filter with group or sections for long tables.
Inputs: country (required), year, group, region, +1 more. Returns: apiUrl, csvUrl, region, status, +19 more
get_tax_treatiesGet double taxation treaty ratesARead-onlyIdempotent
A country's double taxation treaties (DTAs, DTAAs) as CalcBloc stores them, each read from an official copy (the partner country's tax authority or treasury): the maximum withholding tax the source country may charge on dividends (and the lower rate for a qualifying shareholding), interest, royalties and fees for technical services, each with its condition, article and the article's wording; each country's method of relief from double taxation (credit or exemption); signature and entry-into-force dates; whether the MLI modifies the treaty; and the source. Stored for India (its treaties with the United States, Singapore, the United Kingdom, Japan, Australia and Austria); another country returns the list of countries with treaties. With partner, one treaty. Nothing is computed: a lower domestic rate, beneficial ownership, the MLI principal purpose test and anti-abuse rules still apply. Returns the official source URLs and the calcbloc.com page; not tax advice.
Inputs: country (required), partner. Returns: count, country, licence, partner, +9 more
list_countriesList supported countriesARead-onlyIdempotent
Countries CalcBloc covers (217 countries with official tax tables; 15 with take-home pay calculations; 14 with employer cost; 15 in the cross-country comparison (France: take-home pay and compare only, no employer cost yet); 12 with supplemental (bonus) withholding; 5 with equity compensation tax (RSUs and stock options); 10 with cross-border equity estimates for mobile employees.), their current tax year, and which tools work for each. With a country, also its regions (and whether they are required) and the country-specific options accepted by calculate_take_home_pay and calculate_employer_cost.
Inputs: country. Returns: details, licence, sources, warnings, +5 more
list_trade_agreementsList trade agreements and preference schemesARead-onlyIdempotent
Every trade agreement and preference scheme in an importing country's tariff (free trade agreements, customs unions, GSP and DCTS tiers, US special programs): id, official title, type, parties, signing date and the origin countries it covers. With partner (an origin country) or agreement (an id from get_tariff), also the rules of origin and the official links. Tariffs: gb (the UK), eu or an EU member state (de, fr, it, es, nl…; its import VAT applies), us (the United States) or in (India). Agreements are directional: these are the preferences for imports into the destination.
Inputs: partner, importer, agreement, destination. Returns: count, caveat, tariff, licence, +8 more
search_tax_factsSearch tax factsARead-onlyIdempotent
Every tax-table figure as a fact tagged with its tax type, jurisdiction and level of government, each with its value (rate, amount or bands), validity dates, status and official source. Filter by country, tax_type (a code or dotted prefix: income.pit, payroll.ss, consumption.), jurisdiction (gb-sct, us-ca, ca-on), level and year, across all 217 countries; for example every US state sales tax rate, or one country's income tax bands. Paginated: pass nextCursor as cursor.
Inputs: year, level, limit, cursor, +3 more. Returns: count, facts, total, filters, +8 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools target clearly distinct payroll/tax computations, and the long descriptions cross-reference each other to route agents correctly. However, calculate_supplemental_withholding (which explicitly covers RSU vest and option exercise) overlaps with calculate_equity_tax, and get_tax_tables vs search_tax_facts both expose the same underlying tax-table data in different shapes, so a couple of choices can be confused.
Every tool follows a predictable verb_noun snake_case pattern (calculate_*, get_*, list_*, search_*, compare_*). The verbs vary semantically but always match the operation type, with no mixed casing or stylistic drift.
14 tools is squarely within a well-scoped range for a payroll/tax/trade data server. Each tool covers a distinct calculation or data lookup area, and none appears redundant enough to be filler.
Coverage is broad: income tax, employer cost, supplemental pay, equity, cross-border equity, tables, facts, calendar, treaties, plus a full import-duty/tariff/agreement trio, and country/region discovery. Minor gaps remain, notably the explicitly unsupported cross-border salary withholding and treaty double-tax relief amount, and there is no product-name commodity search to feed get_tariff.
Maintenance
Related MCP Connectors
Read-only payroll calculations and multi-country tax comparisons for eight countries.
Jordan & GCC labour-law, tax and finance calculators for AI agents — 36 deterministic tools.
Exact French tax & payroll calculations for AI agents: income tax (impôt sur le revenu: parts, quotient familial, décote, TMI), micro-entrepreneur URSSAF contributions (ACRE, versement libératoire) with an optional VAT franchise check (franchise en base de TVA: must I charge VAT?), and gross-to-net salary with employer cost — CDI or CDD (prime de précarité, congés payés), full-time or part-time. Missing information? Your agent gets, for free, the exact questions to ask the user (in French, with types and allowed values) in a single round trip. Deterministic, no LLM: matches all 7,095 values of the official DGFiP tax tables, 60 cases from the official simulators and the official worked examples of the tax doctrine (BOFiP). Unsupported cases are refused for free; you pay $0.005 in USDC via x402 only when the calculation succeeds. Free catalogue tool: list_france_calculators.
Net pay, employer cost and severance for 50 countries, with official sources.
Related MCP Servers
AlicenseAqualityAmaintenanceOpen-source, accountant-verified tax computation skills for AI agents. 261+ skills across 172+ jurisdictions covering income tax, VAT/GST, payroll, corporate tax, crypto, and cross-border planning. Every skill is verified section-by-section by licensed CPAs and chartered accountants. 3 tools (list_skills, get_skill, get_skill_sections) and 1 prompt (skill-review).6524AGPL 3.0- AlicenseNot gradedqualityBmaintenanceEnables 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
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to compute accurate Polish payroll figures, including net-to-gross salary conversions, hourly rates, and statutory tax/ZUS data, matching the results on kalkulatory-place.pl to the cent.60 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables 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