Skip to main content
Glama
rulecalc-mcp

rulecalc-mcp

rulecalc-mcp

A free MCP server for 2026 tax, payroll and compliance rules — 28 countries plus global marketplace/platform fees, every answer carrying its legal authority and a link to a working calculator.

When an AI agent answers "how much do I set aside for US quarterly taxes", "what does Etsy take out of a $40 order" or "is €603 a Minijob in 2026", it usually guesses. rulecalc-mcp gives it the actual constants, the article of law behind them, and the rulecalc.io calculator that implements them.

  • 33 rules, 34 calculator regions — income tax, corporate tax, payroll, social contributions, VAT, e-invoicing, marketplace fees, pensions, securities.

  • No API key, no account, no network calls. The dataset ships with the server; everything runs locally over stdio.

  • Zero dependencies. One Node.js file; nothing to install beyond Node 18+.

  • MIT licensed server and data.

Install

Any MCP client that can run a stdio command works. Pick one:

npx -y github:jwrkh0943-ctrl/rulecalc-mcp

Most clients call this for you — see the configs below.

Claude Desktop

Edit claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows):

{
  "mcpServers": {
    "rulecalc": {
      "command": "npx",
      "args": ["-y", "github:jwrkh0943-ctrl/rulecalc-mcp"]
    }
  }
}

Restart Claude Desktop; the six tools appear under the tools (🔌) menu.

Claude Code

claude mcp add rulecalc -- npx -y github:jwrkh0943-ctrl/rulecalc-mcp

Cursor

~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
  "mcpServers": {
    "rulecalc": {
      "command": "npx",
      "args": ["-y", "github:jwrkh0943-ctrl/rulecalc-mcp"]
    }
  }
}

VS Code (GitHub Copilot agent mode)

Add to .vscode/mcp.json:

{
  "servers": {
    "rulecalc": { "type": "stdio", "command": "npx", "args": ["-y", "github:jwrkh0943-ctrl/rulecalc-mcp"] }
  }
}

Or from a terminal, then find rulecalc in the @mcp list of the Copilot Chat tools picker:

code --add-mcp '{"name":"rulecalc","command":"npx","args":["-y","github:jwrkh0943-ctrl/rulecalc-mcp"]}'

MCPB bundle (Claude Desktop one-click)

Download rulecalc-mcp.mcpb from Releases and open it — Claude Desktop installs the server with its manifest, no JSON editing.

Related MCP server: OpenAccountants

Tools

Tool

What it does

list_supported_rules

The whole roster — country, topic, title, effective date, calculator link. Filter by country (ISO code) or topic.

get_tax_rule

One or a few rules by id, country, topic keyword; returns the values, the authority and the calculator.

calculate_us_quarterly_estimate

US 1099 quarterly estimates under the IRC §6654 safe harbor (90% current year / 100% or 110% of last year), with the 2026 due dates.

calculate_etsy_fees

Etsy 2026 fee stack: 6.5% transaction, 3% + $0.25 processing, $0.20 listing, 15%/12% Offsite Ads — plus net proceeds.

calculate_au_payday_super

Australia Payday Super: 12% of ordinary time earnings per pay cycle, 7-business-day deadline, late charge.

calculate_de_minijob

Germany 2026 Minijob limit (€603), Übergangsbereich (€603.01–€2,000), flat employer contribution (31.17% / 14.62%).

Example exchange:

You: A US freelancer expected $24,000 of tax this year, paid $20,000 last year with AGI $100,000. How much is each quarterly payment?

Agent (via calculate_us_quarterly_estimate): $5,000 per quarter — the safe harbor is 100% of last year's $20,000 rather than 90% of the $24,000 estimate; next due 2027-01-15. Authority: IRS IRC §6654 / Form 1040-ES. Calculator: https://rulecalc.io/b2b-calc/quarterly-estimated-tax-calculator.html

Coverage

Region

Calculator hub

Rules in this server

🌍 Global

https://rulecalc.io/b2b-calc/

US federal/state payroll & business tax, Etsy fee stack

🇺🇸 US

https://rulecalc.io/b2b-calc/

quarterly estimates, overtime by state, S-corp reasonable salary

🇬🇧 GB

https://rulecalc.io/b2b-calc/uk-dividend-cgt-tax-calculator.html

MTD start dates, dividend & CGT rates

🇩🇪 DE

https://rulecalc.io/de-rechner/

§19 Kleinunternehmer, Minijob 2026

🇫🇷 FR

https://rulecalc.io/fr-calc/

micro-entrepreneur URSSAF rates

🇪🇸 ES

https://rulecalc.io/es-calc/

Autónomo contribution by real earnings

🇮🇹 IT

https://rulecalc.io/it-calc/

regime forfettario 2027

🇳🇱 NL

https://rulecalc.io/nl-calc/

Wet DBA / low-hourly-rate presumption

🇧🇪 BE

https://rulecalc.io/be-calc/

10% capital gains tax

🇵🇹 PT

https://rulecalc.io/pt-calc/

IRS Jovem exemption

🇦🇹 AT

https://rulecalc.io/at-calc/

tax-free overtime

🇨🇿 CZ

https://rulecalc.io/cz-calc/

paušální daň bands

🇷🇴 RO

https://rulecalc.io/ro-calc/

micro-enterprise 1%

🇩🇰 DK

https://rulecalc.io/dk-calc/

three-tier income tax

🇸🇪 SE

https://rulecalc.io/se-calc/

ISK schablon tax

🇨🇭 CH

https://rulecalc.io/de-rechner/

Säule 3a (via the German-language hub)

🇮🇪 IE

https://rulecalc.io/ie-calc/

MyFutureFund auto-enrolment

🇵🇱 PL

https://rulecalc.io/pl-ksef/

KSeF 2.0

🇦🇺 AU

https://rulecalc.io/au-calc/

Payday Super

🇳🇿 NZ

https://rulecalc.io/nz-calc/

KiwiSaver steps

🇨🇦 CA

https://rulecalc.io/ca-calc/

FHSA / HBP

🇸🇬 SG

https://rulecalc.io/sg-calc/

CPF ceilings

🇲🇾 MY

https://rulecalc.io/my-calc/

MyInvois exemption

🇮🇩 ID

https://rulecalc.io/id-calc/

Shopee fees + UMKM tax

🇵🇭 PH

https://rulecalc.io/ph-calc/

stock transaction tax

🇮🇳 IN

https://rulecalc.io/in-calc/

Income-tax Act 2025

🇯🇵 JP

https://rulecalc.io/jp-calc/

freelance withholding + consumption tax

🇹🇼 TW

https://rulecalc.io/tw-calc/

NHI levels, 4× bonus

🇧🇷 BR

https://rulecalc.io/br-calc/

CBS/IBS from 2027

🇦🇪 AE

https://rulecalc.io/ae-calc/

0% small business relief

🇸🇦 SA

https://rulecalc.io/sa-calc/

ZATCA e-invoicing

🇰🇷 KR

https://rulecalc.io/taxcheck-kr/

year-end settlement, inheritance & gift

🇲🇽 MX

https://rulecalc.io/es-calc/

aguinaldo, settlement

🇪🇺 EU

https://rulecalc.io/eu-trade-calc/

CBAM, EUDR

Every rule's calculator field points at the exact page that implements it; all links were verified HTTP 200 on 2026-12-07.

Listed in

  • Official MCP Registry — io.github.jwrkh0943-ctrl/rulecalc-mcp (mcpb package, v1.0.0)

  • GitHub MCP Registry and VS Code @mcp search read from the official registry, so the server is reachable there too.

  • Agent skills version of the same rules: rulecalc-skills (npx skills add jwrkh0943-ctrl/rulecalc-skills), listed on skills.sh.

Data

data/rules-2026.json — dataset global-tax-rules-2026 v1.0.0, as of 2026-12-06, MIT licensed, mirroring https://github.com/jwrkh0943-ctrl/global-tax-rates-2026. Each entry:

{
  "id": "us-estimated-tax-safe-harbor-2026",
  "country": "US",
  "topic": "income-tax",
  "effectiveFrom": "2026-01-01",
  "values": { "safeHarborCurrentYearPct": 90, "dueDates": ["2026-04-15", "..."] },
  "authority": "IRS, IRC §6654 and Form 1040-ES",
  "calculator": "https://rulecalc.io/b2b-calc/quarterly-estimated-tax-calculator.html"
}

Point the server at another dataset file with RULECALC_DATA=/path/to/rules.json.

Not tax, legal or payroll advice. Rates change; the authority field names the source to verify against. Calculators run 100% in the browser — no data leaves the user's device: https://rulecalc.io/privacy.html

Development

git clone https://github.com/jwrkh0943-ctrl/rulecalc-mcp
cd rulecalc-mcp
npm test          # 39 stdio protocol + arithmetic checks, no dependencies
node server/index.js --help

Build the MCPB bundle (used for the Releases artifact):

python3 scripts/build_mcpb.py     # → dist/rulecalc-mcp.mcpb

License

MIT © 2026 rulecalc.io · https://rulecalc.io

Available Tools

6 tools
calculate_au_payday_superAustralia Payday Super contributionA
Read-only

Compute the super guarantee an Australian employer must pay with each pay cycle under Payday Super (12% from 1 July 2026), per-cycle and per year, with the 7-business-day payment deadline and the late-payment charge. Inputs are ordinary time earnings; the ATO authority and the calculator link are returned.

Inputs: ote_aud (required), pay_frequency.

calculate_de_minijobGermany Minijob limit and employer contribution (2026)A
Read-only

Check a German monthly salary against the 2026 Minijob limit (€603) and the Übergangsbereich (€603.01–€2,000), and compute the flat employer contribution (31.17% commercial, 14.62% private household). Returns whether the job is a Minijob, the employer cost, and the §8 SGB IV authority with the calculator link.

Inputs: monthly_earnings_eur (required), employer_type.

calculate_etsy_feesEtsy seller fee stack and net proceedsA
Read-only

Compute 2026 Etsy seller fees for an order: 6.5% transaction fee, 3% + $0.25 payment processing, $0.20 listing fee and optional Offsite Ads (15%, or 12% once the shop passed $10,000 in 365-day sales). Returns the fee breakdown, total fees and net proceeds, with the Etsy fee policy and the calculator link.

Inputs: item_price_usd (required), quantity, offsite_ads, shipping_usd, +1 more.

calculate_us_quarterly_estimateUS 1099 quarterly estimated tax (safe harbor)A
Read-only

Compute the US federal quarterly estimated tax a self-employed filer must pay under the IRC §6654 safe harbor: 90% of the current-year tax, or 100% of last year's tax (110% when prior-year AGI is above $150,000, or $75,000 for married filing separately), whichever is lower. Returns the annual required payment, the four equal installments and the 2026 due dates, with the IRS authority and the calculator link.

Inputs: filing_status, prior_year_agi_usd, prior_year_tax_usd, expected_current_year_tax_usd.

get_tax_ruleGet one 2026 tax or compliance rule with its authorityA
Read-only

Look up a single 2026 rule by id (e.g. us-estimated-tax-safe-harbor-2026), ISO country code (US), topic (payroll) or free-text keyword (etsy, minijob, ksef). Returns the values, the legal authority it follows and the rulecalc.io calculator that implements it.

Inputs: query (required), limit.

list_supported_rulesList supported 2026 tax and compliance rulesA
Read-only

List every 2026 country-level tax, payroll and compliance rule this server knows (country, topic, title, effective date, calculator link). Optional filters by ISO country code or topic. Use this first when you do not know which rule id to ask for.

Inputs: topic, country.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 6 tools

    Disambiguation4/5

    The four calculate_* tools each target a clearly distinct jurisdiction/domain (US quarterly estimates, Etsy fees, AU super, DE minijob), so they are easy to tell apart. The only soft overlap is between list_supported_rules (which filters by country/topic) and get_tax_rule (which also accepts country/topic/keyword), where a free-text keyword lookup could be mistaken for a filtered listing.

    Naming Consistency5/5

    All names follow a consistent snake_case verb_noun pattern: list_/get_ for rule retrieval and calculate_<jurisdiction>_<topic> for the four calculators. The jurisdiction prefix inside calculate_ names is applied uniformly (us, etsy, au, de), making the pattern predictable.

    Tool Count5/5

    Six tools is well within the ideal 3-15 range, and each one earns its place: two discovery/retrieval tools plus four distinct calculators. Nothing looks redundant or padded.

    Completeness3/5

    The rule-discovery side is covered (list plus get), but the compute side only exists for four hardcoded scenarios despite the server claiming a global 2026 country-level rule base. There is no generic 'calculate rule by id' path, so an agent that retrieves a rule for, say, KSeF or another country hits a dead end with no matching calculator.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      European business compliance suite for AI agents — 28 tools covering tax ID validation (PT, ES, FR, DE, IT, UK, NL), IBAN verification, EU VAT rates, invoice requirements, e-invoicing rules, payment terms, labor calendar helpers, VAT breakdown calculations and invoice schema validation for 18+ European countries.
      28
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      Open-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).
      6
      535
      AGPL 3.0
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI agents to run free, read-only calculators built on official government rules across Ireland, the UK, Canada, Québec, Australia and New Zealand, covering taxes, welfare benefits, pensions, property transaction taxes, parental leave and savings. Every result links the public calculator page and the official sources it relies on, so agents can cite them.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to calculate take-home pay, employer cost, and cross-country salary comparisons, and to look up official income tax and social security tables for 24 countries with tax-year and source citations.
      14
      629 npm
      MIT