
CalcBloc tax and salary calculator
io.github.itmarkerzPublished by GitHub account itmarkerzv0.1.3Updated Nov 14, 2026
Take-home pay, employer cost and official tax tables for 41 countries, with sources.
The publisher's own server: Calculator Tools MCP
Overview
Calculates take-home pay, employer cost and cross-country salary comparisons, and looks up official income tax and social security tables for 37 countries.
- What you can do
- Calculate net pay after income tax and employee contributions, with yearly, monthly and weekly breakdowns
- Calculate total employer cost including employer social security and payroll on-costs
- Compare the same salary in two countries using European Central Bank reference rates
- Retrieve official tax tables (bands, allowances, contribution rates and thresholds) by country, year and region
- List supported countries, tax years, regions and the options each calculation accepts
- When to use it
- Useful when you want an assistant to answer payroll, net-pay or hiring-cost questions, or to pull official tax brackets and thresholds with their government sources, for example when comparing offers across countries or checking a specific region's rates.
- Requirements
- Node.js 20 or newer, run locally via npx; a remote hosted endpoint is also offered. Internet access to the CalcBloc API is needed for calculations. An optional free API key (CALCBLOC_API_KEY) raises the daily limit; an optional data folder (CALCBLOC_DATA_DIR) enables offline tax tables.
Installation
In SourceWeft
- Open CalcBloc tax and salary calculator in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
CalcBloc MCP server: take-home pay, employer cost and official tax tables for AI assistants
[npm version] [MCP Registry] [License: MIT]
calcbloc-mcp is a Model Context Protocol (MCP) server that lets AI assistants work out take-home pay, employer cost and cross-country salary comparisons, and look up official income tax and social security tables, using CalcBloc data. It covers 41 countries, including the United States (all states), the United Kingdom, Canada, Australia, India, Germany, France, Spain and the Netherlands. 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
- What it does
- Quick start
- Set up your AI client
- Tools
- Sample calls
- Configuration
- Limits and caching
- Offline tax tables
- Development
- Data, licence and credit
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?"
The server provides five read-only tools:
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.
Tax tables are available for all 41 countries. Take-home pay calculations currently cover 12 of them (US, UK, Canada, Australia, New Zealand, Ireland, India, Germany, France, Spain, the Netherlands and Singapore); for the others the tools say so and link the country's tax tables. list_countries always shows the live list.
Quick start
Requirements: Node.js 20 or newer.
The 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 five 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:
Without 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/):
Quit and restart Claude Desktop.
Claude Code
With an API key, available in all your projects:
To share it with a project, add it to .mcp.json at the project root and keep the key in your environment:
Cursor
Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
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:
Or from a terminal, without a key:
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):
OpenAI Codex (CLI, IDE extension and app)
or in ~/.codex/config.toml:
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
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.
calculate_employer_cost
Same arguments as calculate_take_home_pay (with employer options such as UK pension_mode or US health_per_month). Returns the total yearly and monthly cost, the cost multiplier where available, and a breakdown of employer contributions.
compare_countries
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.
get_tax_tables
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.
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.
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
The matching structuredContent (shortened):
Employer cost, €60,000 in Germany
Compare the UK and Germany at £50,000
Ontario income tax tables
A country without calculations yet
Configuration
All settings are optional environment variables, set in your client's env block:
Limits and caching
The CalcBloc API is free. Without a key it allows 50 requests a day and 5 a minute per IP address; a free key allows 5,000 a day and 60 a minute. 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 "Add your free API key": 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
-
npm 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: -
To 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
- Issues: github.com/itmarkerz/calcbloc-mcp/issues
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.
Source: README.md at commit ea5666f
Tools
0Version history
2- v0.1.3LatestNov 14, 2026
- v0.1.2Nov 13, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.
Other Calculator integrations
Calculator Tools MCP
tools.calculatorOfficial publisher
A remote MCP endpoint that lets an assistant publish a live calculator, tracker, tool, or game from Cursor, Claude, or ChatGPT.
Free IFTA Calculator
dev.pages.ifta-calculatorOfficial publisher
Read-only helper that answers US/Canadian IFTA fuel-tax questions and estimates quarterly tax from miles and gallons per jurisdiction.

Marketplace Seller Fee Calculator
Published by GitHub account davidemena-spec
Calculates seller fees, net payout, profit and target prices across 12 US marketplaces and advises where to list an item.

Zovo Tip Pool Calculator
Published by GitHub account theluckystrike
Remote calculator that splits pooled tips among restaurant, bar, cafe or salon staff and computes server tip-outs to support staff.

Zovo PTO Accrual Calculator
Published by GitHub account theluckystrike
A remote MCP server that calculates employee PTO, vacation and sick leave balances from an accrual policy, for one person or a whole team.