Skip to main content
Glama
calcbloc-mcp

calcbloc-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CALCBLOC_API_KEYNoFree API key from calcbloc.com/developers/keys, sent as the X-API-Key header. Raises the limit from 50 to 5,000 requests a day. Default: none.
CALCBLOC_API_URLNoAPI base URL (for testing).https://calcbloc.com/api/v1
CALCBLOC_DATA_DIRNoFolder with a copy of the CalcBloc tax-table data. Tax tables are read from it first. Default: none.
CALCBLOC_TIMEOUT_MSNoRequest timeout in milliseconds.20000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

CalcBloc tools calculate take-home pay, employer cost, cross-country salary comparisons, tax withheld on bonuses and other supplemental pay, and tax on RSUs and stock options (also split between the countries a mobile employee worked in), and return official tax tables (income tax bands, social security rates, allowances), tax facts and tax calendars (tax year, upcoming changes, next budget). For imports, calculate_import_duty gives the duties, taxes and landed cost of one import, get_tariff the tariff lines of a commodity code and list_trade_agreements the agreements in a tariff (UK, EU, US, India). get_tax_treaties gives the treaty withholding limits on dividends, interest, royalties and technical fees, and the relief method, of the double taxation treaties CalcBloc stores (India's). Call list_countries first when unsure which countries, regions or extra options are supported; calculations exist for some countries, tax tables for all listed countries. Calculations use each country's current tax year; earlier years are available as tax tables. When you present results, state the tax year (or the tariff version), link the official source URL(s) and the calcbloc.com page, credit "Data by CalcBloc", and say that the figures are an estimate, not tax advice; for import duty, also that it is not a customs ruling.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
calculate_take_home_payA

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).

calculate_employer_costA

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).

compare_countriesA

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).

calculate_supplemental_withholdingA

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).

calculate_equity_taxA

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).

calculate_cross_border_equityA

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).

calculate_import_dutyA

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.

get_tariffA

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.

list_trade_agreementsA

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.

get_tax_tablesA

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.

search_tax_factsA

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.

get_tax_calendarA

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.

get_tax_treatiesA

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.

list_countriesA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 14 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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

ActivityMaintained
ResponsivenessNo recent community issues