Sri Lanka Tax (lk-tax) MCP server
io.github.ShalomHunukumbura/lk-tax-mcp·v0.1.0Exact, sourced Sri Lankan tax calculations: APIT, income tax, withholding tax, VAT and SSCL.
0 stars30 downloads/wk
Reviews
Write oneNobody has reviewed Sri Lanka Tax (lk-tax) yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Sri Lanka Tax (lk-tax) tools (9)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
calculate_annual_income_taxPersonal income tax for a resident individual for a whole year of assessment.
calculate_salary_taxAPIT (Advance Personal Income Tax) an employer deducts from one month's salary.
calculate_ssclSocial Security Contribution Levy (SSCL): 2.5% of the liable share of turnover for an activity.
calculate_vatAdd VAT to a price, or work out the VAT included in a VAT-inclusive price.
calculate_withholding_taxWithholding tax (WHT / AIT) the payer must deduct from a payment and pay to the IRD.
check_sscl_registrationWhether a business must register for SSCL, given its aggregate turnover. Give at least one figure.
check_vat_registrationWhether a business must register for VAT, given its taxable supplies. Give at least one figure.
get_rule_historyEvery version of a tax's rules since 1 January 2023: what changed, when, and the IRD source.
get_tax_rulesThe rates, bands and thresholds of a tax in force on a date, with their IRD sources.
Public scan report
scanner v0.1.10 · 2026-10-14 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 5 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Sri Lanka Tax (lk-tax) compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- Tools
- 9
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 30
- more than 18% of 12,191 servers with a package
What its tools let an agent do: 9 read
Install Sri Lanka Tax (lk-tax) in Claude Code, Cursor or VS Code
claude mcp add lk-tax-mcp -- uvx lk-tax-mcp
What the publisher says
From the Sri Lanka Tax (lk-tax) repository's README, as published. We do not edit it. Read it on GitHub
lk-tax-mcp
Exact, sourced Sri Lankan tax calculations for AI assistants. An MCP server that lets Claude (or any MCP client) calculate APIT, income tax, withholding tax, VAT and SSCL from the official Inland Revenue Department rules for any date since 1 January 2023, instead of recalling rates from memory.
<!-- mcp-name: io.github.ShalomHunukumbura/lk-tax-mcp -->
What it looks like
A real Claude Code session with only this server connected:
You: I'm paid Rs. 350,000 a month in Sri Lanka. How much APIT will my employer deduct this month,
and how much was it before the April 2025 change?
Claude calls calculatesalarytax twice, once for today and once for 31 March 2025, and answers (abridged):
This month: Rs. 32,500 APIT. The first Rs. 150,000/month is tax-free, then 6% / 18% / 24% / 30%.
Source: IRD Notice PN/IT/2025-01 and APIT Tax Table No. 01 (2025/26). In force since 1 April 2025.
Before the change (to 31 March 2025): Rs. 52,500. Rs. 100,000/month tax-free, then
6% / 12% / 18% / 24% / 30% / 36%. Source: APIT Tax Table No. 01 (2023/24 & 2024/25).
So you now pay Rs. 20,000 less per month. This assumes it's your regular pay from your main job and
you're a Sri Lankan tax resident; one-off bonuses or a second job use different tables.
The numbers come from the tool, the caveats come from the server's instructions, and every figure is traceable to an IRD document.
Why
Language models are confident about tax rates, and Sri Lanka's change often: in 2025 the salary tax bands were rebuilt, and in 2026 alone the SSCL threshold dropped, VAT on financial services rose to 20.5% and withholding tax was extended to more professions, all mid-year. A model recalling "the rate" is wrong for some dates and has no source to show. This server gives the model exact arithmetic over dated, sourced rules, built on lk-tax, which is tested against every row of the IRD's official APIT tables.
Install
Requires uv (uvx runs the server without a manual install).
Claude Code
claude mcp add lk-tax -- uvx lk-tax-mcpClaude Desktop: add to claudedesktopconfig.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"lk-tax": { "command": "uvx", "args": ["lk-tax-mcp"] }
}
}Any other MCP client: run uvx lk-tax-mcp as a stdio server, or pip install lk-tax-mcp and run lk-tax-mcp.
Tools
Every result includes a one-line summary, exact amounts as decimal strings, and the rule version used (effectivefrom, effectiveto, IRD sources).
Design notes
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Sri Lanka Tax (lk-tax): common questions
- Is Sri Lanka Tax (lk-tax) MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Sri Lanka Tax (lk-tax) safety report
- How do I install Sri Lanka Tax (lk-tax)?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Sri Lanka Tax (lk-tax) need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Sri Lanka Tax (lk-tax) maintained?
- The last commit was 26 days ago (2026-10-09). The latest release is v0.1.0.
- How does Sri Lanka Tax (lk-tax) compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); tools 9 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.