dk-tax
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., "@dk-tax how much tax would I pay on 900,000 kr in Aarhus in 2026?"
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.
danish-tax-mcp
MCP server for Danish personal income tax. It has the yearly rates and thresholds, each with the official source it came from, calculators for income tax, the skattekort, share income and property tax, and lookups in SKAT's positivliste and Den juridiske vejledning.
The results are estimates for planning. What you actually owe is set by your årsopgørelse from Skattestyrelsen.
Install
You need uv. For Claude Code:
claude mcp add dk-tax -- uvx danish-tax-mcpOther MCP clients can run the same command over stdio. To pin a version, use
uvx danish-tax-mcp@0.4.1.
Related MCP server: Dutch Tax Income Calculator MCP
Tools
Tool | |
| The figure keys for a year, with name and unit |
| Values with source, date checked and status |
| Kommuneskat, kirkeskat, skatteloftsnedslag and grundskyld |
| Income tax for an unmarried employee, with take-home pay and marginal rate |
| Income tax for a married couple living together at year end, with what moves between the spouses (personfradrag, kapitalindkomst, underskud) |
| Trækprocent and månedsfradrag from a forskudsopgørelse, monthly payout, share vests and expected restskat, with an optional spouse (2026 onwards) |
| Ejendomsværdiskat and grundskyld for an owner-occupied home, including the years it is bought and sold, with the cap on grundskyld increases (2026 onwards). Enter the valuation for the year before the income year: the 2026 tax uses the 2025 ejendomsværdi and grundværdi |
| Skat af aktieindkomst (27 % and 42 %) for one person or a married couple, with withheld udbytteskat, losses on listed and unlisted shares, and amounts carried forward |
| The year's taxable gain or loss on ETFs and other investeringsselskaber (lagerbeskatning), split into aktieindkomst and kapitalindkomst |
| Whether a fund is on SKAT's list of aktiebaserede investeringsselskaber for a year, read live from skat.dk |
| The current text of a section of Den juridiske vejledning, read live from info.skat.dk |
The two lookups fetch public pages from skat.dk and info.skat.dk and cache them in
~/.cache/dk-tax. Your query is matched locally and is not sent anywhere.
Example questions:
Hvad er topskattegrænsen i 2027?
How much tax do I pay on 900.000 kr. in Aarhus?
What happens to my trækprocent if I put my bonus and RSUs in the forskudsopgørelse?
Hvad bliver ejendomsværdiskatten på en lejlighed vurderet til 4 mio. kr. i Aarhus?
How much tax do I pay if I sell shares with a gain of 120.000 kr.?
My spouse is on unpaid parental leave. How much of their personfradrag can I use?
Is IE00B4L5Y983 on the positivliste, and how is it taxed?
My ETF was worth 200.000 kr. on 1 January and 230.000 kr. on 31 December, and I bought for 20.000 kr. What is taxed?
How much interest do I pay on restskat if I pay it in May?
Coverage
Income years 2025 to 2027, and all 98 kommuner. 2023 is included only because the official worked example is from that year. Foreign withholding tax on dividends and business income are not covered yet.
Testing
The salary calculator reproduces svmn.dk's worked example for 2023 to the øre, and the
skatteloft reduction matches svmn.dk's table for every kommune in 2025 to 2027. The
skattekort formulas reproduce SKAT's examples. Where the law doesn't settle something
(mostly rounding), the assumption is written down in the module docstring in calc/.
The aktieindkomst split is checked against the 2026 examples in Den juridiske vejledning
(C.E.3.2.4.1.2).
uv run pytest
uv run dk-tax # start the serverData
One YAML file per year in src/dk_tax/figures/:
bundskat:
name: Bundskatteprocent # term used in the source
value: 12.01 # as printed: 12.01 means 12,01 %
unit: percent # percent or DKK
source: https://svmn.dk/...
verified: 2026-11-01
status: verified # verified, secondary, unverified or proposed
note: PSL § 6.Keys are the Danish terms with æ, ø, å written as ae, oe, aa. They follow the law of each year, so 2025 has the old 15 % topskat and no mellemskat.
New figures come out every autumn. CONTRIBUTING.md describes how to add a year.
License
MIT
Available Tools
5 toolsestimate_payslipA
Predict the skattekort (trækprocent, månedsfradrag) and what is actually paid out in a normal month and in the bonus month, plus the year-end restskat, from 2026 onwards.
Use this for questions about monthly take-home pay or what to enter in the
forskudsopgørelse. One scenario per call: the include_*_in_forskud flags say whether the
bonus and the shares are entered in the forskudsopgørelse; call twice to compare.
monthly_salary: DKK per month INCLUDING the employee's own pension share.
pension_*_pct: percent of monthly_salary (e.g. 4 and 8).
bonus: the year's total bonus in DKK, paid in bonus_payments equal parts (4 = quarterly). share_compensation: the year's RSU vest value in DKK.
Shares are B-income: the employer withholds nothing, so if they are left out of the
forskudsopgørelse the tax comes as restskat (year_end.restskat > 0); paying it
voluntarily before 31 December avoids interest.
share_withholding: "none" = shares are B-income, nothing withheld (skat.dk's general rule);
"traekprocent" = the employer keeps back shares to cover the tax at the skattekort's
percentage (withhold-to-cover, common in private companies); "fixed" = at
share_withholding_rate percent. Ask the employer which applies; see share_vest.
Cite the sources with the income year and flag any figure that is not 'verified'.
Assumptions are listed in dk_tax.calc.payslip. Not tax advice.
Inputs: year (required), kommune (required), monthly_salary (required), folkekirke_member (required), +15 more. Returns: kommune, payslip
estimate_salary_taxA
Estimate a single (unmarried) employee's Danish income tax for one year, with the full breakdown.
Use this instead of doing tax arithmetic yourself. All amounts are yearly DKK, not percent.
gross_salary: total salary INCLUDING the employee's own pension share and EXCLUDING the
employer's share; bonus and RSU vests count as salary. If the user gives pension as
percentages of salary, convert them to kroner first.
pension_own / pension_employer: contributions to an employer-administered pension.
private_ratepension: what the person pays into a ratepension themselves.
atp_full_time: use the statutory full-time ATP amounts; set False and pass atp_own /
atp_employer for part-time or other ATP.
other_deductions: other ligningsmæssige fradrag (befordring, union dues, ...).
The result includes til_udbetaling (take-home), effektiv_skatteprocent and marginalskat
(share of the next 1.000 kr. that goes to tax), and the source, verified date and status
of every figure used: cite them with the income year, and flag any figure that is not
'verified' (all_verified tells you at a glance). Not covered: married couples,
aktieindkomst, ejendomsværdiskat. Not tax advice.
Inputs: year (required), kommune (required), gross_salary (required), folkekirke_member (required), +10 more. Returns: tax, kommune
get_figuresA
Get Danish tax figures for an income year, each with source, verified date and status.
Values are exactly as printed in the source: percent as 12.01 (not 0.1201),
amounts in whole DKK. When answering, cite the source and the income year,
and say so if status is not 'verified'. Use list_figures to discover keys.
Inputs: keys (required), year (required). Returns: year, figures
get_kommuneB
Get a municipality's kommuneskat, kirkeskat, skatteloftsnedslag and grundskyldspromille.
`kommune` is the municipality name, e.g. 'Aarhus' or 'Lyngby-Taarbæk'.
Percentages as printed (24.52 means 24,52 %). Kirkeskat applies only to
members of Folkekirken.
Inputs: year (required), kommune (required). Returns: year, source, status, kommune, +1 more
list_figuresA
List the tax figure keys available for an income year, with name and unit.
Use this to find the right keys, then fetch values with get_figures.
Keys differ between years when the law changed (e.g. 2025 has the old 15 %
topskat; mellemskat and toptopskat start in 2026).
Inputs: year (required). Returns: year, figures
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The five tools have mostly distinct purposes: list_figures (key discovery) vs get_figures (value retrieval) form a clearly explained discover/fetch pair, and get_kommune targets a specific local-rate resource. The weakest boundary is between estimate_salary_tax (annual, single employee, full breakdown) and estimate_payslip (monthly skattekort/take-home, 2026+), which both answer 'what do I pay in tax' and could be confused for salary questions.
All names are snake_case and follow a verb_noun pattern (list_figures, get_figures, get_kommune, estimate_salary_tax, estimate_payslip). Verbs are predictable by intent: list/get for lookups, estimate for calculations.
Five tools is well-scoped for a domain-specific tax data server: one discovery tool, one lookup, one sub-resource lookup, and two calculation entry points. Nothing looks redundant or padding.
The lifecycle is covered end to end: discover figure keys, fetch values with provenance, get municipal rates, then compute annual and monthly outcomes. Gaps are real but acknowledged in descriptions (married couples, aktieindkomst, ejektivskat/ejendomsværdiskat are unsupported, and there is no way to list available years).
Maintenance
Related MCP Connectors
Read-only European tax, salary and benefit calculators with official sources and unknowns.
Danish vehicle registration tax (registreringsafgift) calculator and DMR registration statistics
Market-value estimates, comparable sales and property tax for Danish homes, from public registers.
Danish public records with sources: Parliament, tenders, companies, statistics, budgets, maps.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceCalculate income tax (UK/US brackets), EU VAT, UK corporation tax, and capital gains tax. Provides estimates only - not professional tax advice.8 npm32 PyPIMIT
- FlicenseNot gradedqualityDmaintenanceEnables Dutch income tax calculations: converts gross to net salary, net to gross, compares multiple salary scenarios, and provides tax bracket data for supported years. Every result includes a detailed breakdown and a thetax.nl permalink.-
- AlicenseAqualityDmaintenanceEnables AI assistants to calculate Swiss income, wealth, inheritance, capital payment, and corporate taxes for any municipality, compare tax burdens, and find cheapest locations without an API key.13MIT
- AlicenseAqualityCmaintenanceEnables users to calculate UK take-home pay and tax liabilities for 2025/26 and 2026/27, covering regional and Scottish income tax bands, National Insurance, student loan repayments, pension effects, tax codes, and marginal rates including the 60% tax trap.424 npmMIT