Sri Lanka Payslip
The server provides read-only tools to calculate and review Sri Lankan employee payslips based on official tax and contribution rules.
Calculate a Sri Lanka payslip: Estimate monthly APIT/PAYE, employee EPF (8%), employer EPF (12%), ETF (3%), stamp duty, net pay, and total employer cost for regular primary employment.
Get the Sri Lanka payroll reference: Return maintained assumptions (tax rates, relief, thresholds), official Sri Lankan sources, and scope limits.
Get a Sri Lanka payslip checklist: Obtain a structured checklist of required fields (earnings, deductions, employer contributions) and verification checks for preparing or reviewing a payslip.
Sri Lanka Salary Calculator and Payslip Reference
An inspectable reference implementation for estimating a regular primary employment payslip in Sri Lanka. It calculates monthly APIT (PAYE), employee EPF, employer EPF, employer ETF, stamp duty, net pay, and employer cost.
The current reference is maintained by MyPayslip.lk for the Sri Lanka 2026/27 year of assessment. The latest regular-employment APIT table published by the Inland Revenue Department is labelled 2025/26; the relief and rates effective from 1 April 2025 remain the basis used for 2026/27.
Try the calculator
No account is required. The hosted calculator runs in the browser, and the public calculation API does not store salary inputs.
Related MCP server: mcp-latam-business
Verified example
For a monthly gross salary and EPF/ETF contribution base of LKR 200,000:
Item | Monthly amount |
Gross salary | LKR 200,000 |
APIT / PAYE | LKR 3,000 |
Employee EPF (8%) | LKR 16,000 |
Stamp duty | LKR 25 |
Estimated net pay | LKR 180,975 |
Employer EPF (12%) | LKR 24,000 |
Employer ETF (3%) | LKR 6,000 |
Run the same case locally:
node examples/calculate.mjs 200000Or call the hosted read-only API:
curl "https://mypayslip.lk/api/calc?salary=200000"Reference implementation
calculator.mjs is intentionally dependency-free. It
accepts a gross monthly salary and an optional EPF/ETF eligible earnings base.
The contribution base should come from payroll records when excluded or
unusual payments make it different from gross salary.
Install the package from npm after its first registry release, or directly from this public repository now:
npm install github:Buddhima-JD3/sri-lanka-salary-calculatorimport { calculateSalary } from "sri-lanka-salary-calculator";
const result = calculateSalary({
grossSalary: 200000,
epfEtfEarningsBase: 200000,
});
console.log(result.netPay); // 180975Verify the published examples:
npm testUse with an AI assistant
This repository includes a local Model Context Protocol server built with the official MCP SDK. It gives compatible AI assistants three read-only tools:
Tool | Purpose |
| Calculate APIT/PAYE, EPF, ETF, stamp duty, net pay, and employer cost |
| Retrieve maintained assumptions, scope limits, and official sources |
| Prepare or review the required payslip fields and arithmetic checks |
Use the no-auth Streamable HTTP endpoint when the client supports remote MCP servers:
https://mypayslip.lk/api/mcpThe same tools can run locally over stdio. In that mode, salary inputs are not sent to MyPayslip.lk or another external service.
Official MCP Registry:
io.github.Buddhima-JD3/sri-lanka-payslip
Agent-oriented installation instructions are available in
llms-install.md.
The Registry package is a public AMD64/ARM64 container:
docker run -i --rm ghcr.io/buddhima-jd3/sri-lanka-payslip-mcp:2026.27.2Add it to an MCP client configuration:
{
"mcpServers": {
"sri-lanka-payslip": {
"command": "npx",
"args": [
"-y",
"github:Buddhima-JD3/sri-lanka-salary-calculator"
]
}
}
}Or start it from this repository:
npm install
npm run mcpMachine-readable references
Live OpenAPI: https://mypayslip.lk/openapi.json
Live methodology: https://mypayslip.lk/calculation-methodology.json
Agent guidance: https://mypayslip.lk/llms.txt
Primary sources
Scope
This reference covers regular profits from primary employment. Bonus, terminal-benefit, secondary-employment, non-resident, and unusual payroll cases may require a different APIT table or professional review. Results are estimates, not payroll, tax, or legal advice.
When citing a result, use:
MyPayslip.lk, Sri Lanka 2026/27 payslip calculation methodology, verified 17 July 2026.
Maintenance
Related MCP Servers
- AlicenseBqualityFmaintenance39 tax tools for US individual taxpayers — federal/state tax calculations, credits, deductions, retirement strategies, audit risk, and tax planning. All calculations run locally, no data leaves the machine. Supports TY2024 and TY2025 (One Big Beautiful Bill Act).Last updated443678MIT
- FlicenseAqualityDmaintenanceLatin American business compliance suite — 28 tools for tax ID validation (CPF, CNPJ, RFC, RUT, CUIT, NIT), banking (PIX, CLABE, CBU), VAT rules, e-invoicing (NF-e, CFDI, DTE), holidays, and labor calendar across Brazil, Mexico, Chile, Argentina, and Colombia.Last updated28

OpenAccountantsofficial
AlicenseAqualityBmaintenanceOpen-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).Last updated3272AGPL 3.0- Flicense-qualityBmaintenance24 free personal-finance and macro tools (mortgage, paycheck, tax, FRED, BLS) for LLM agents. Zero API keys, stdio transport, source-cited from IRS, Federal Reserve, BLS, Treasury, and Freddie Mac.Last updated
Related MCP Connectors
台灣勞保、健保、勞退、職災與二代健保補充保費試算,含薪資扣繳、破月與勞保老年給付。資料取自主管機關公告,對官方範例逐位元驗證。
Open-source AI accounting skills verified by licensed accountants (tax, VAT, payroll).
Free public tax MCP: GST/VAT, income, company & capital-gains tax for 50+ countries, source-cited.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Buddhima-JD3/sri-lanka-salary-calculator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server