Sri Lanka Payslip MCP
A community-built Model Context Protocol server that provides read-only tools for calculating Sri Lankan payroll metrics including APIT/PAYE, EPF, ETF, stamp duty, and net pay. It allows agents to retrieve calculation results, payroll reference data, and payslip checklists without storing salary inputs.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mypayslip.lk/api/mcpWhat its tools do
3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- 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
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- sri-lanka-payslip 2026.27.2
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 3 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Tools
3 advertised
calculate_sri_lanka_payslip — Calculate a Sri Lanka payslip
Estimate monthly APIT/PAYE, employee and employer EPF, ETF, stamp duty, net pay, and employer cost for regular primary employment in Sri Lanka.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"grossSalary"
],
"properties": {
"grossSalary": {
"type": "number",
"maximum": 100000000,
"minimum": 0,
"description": "Gross monthly employment income in Sri Lankan rupees"
},
"epfEtfEarningsBase": {
"type": "number",
"maximum": 100000000,
"minimum": 0,
"description": "EPF/ETF-eligible monthly earnings; defaults to gross salary"
},
"otherEmployeeDeductions": {
"type": "number",
"default": 0,
"maximum": 100000000,
"minimum": 0,
"description": "Optional non-statutory employee deductions, such as a loan repayment"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"yearOfAssessment",
"sourceTableYear",
"currency",
"grossSalary",
"epfEtfEarningsBase",
"apit",
"employeeEpf",
"employerEpf",
"employerEtf",
"stampDuty",
"otherEmployeeDeductions",
"totalEmployeeDeductions",
"netPay",
"employerCost",
"methodologyUrl",
"payslipGeneratorUrl",
"caution",
"sources"
],
"properties": {
"apit": {
"type": "number"
},
"netPay": {
"type": "number"
},
"caution": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"authority",
"topic",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"topic": {
"type": "string"
},
"authority": {
"type": "string"
}
},
"additionalProperties": false
}
},
"currency": {
"type": "string",
"const": "LKR"
},
"stampDuty": {
"type": "number"
},
"employeeEpf": {
"type": "number"
},
"employerEpf": {
"type": "number"
},
"employerEtf": {
"type": "number"
},
"grossSalary": {
"type": "number"
},
"employerCost": {
"type": "number"
},
"methodologyUrl": {
"type": "string",
"format": "uri"
},
"sourceTableYear": {
"type": "string",
"const": "2025/26"
},
"yearOfAssessment": {
"type": "string",
"const": "2026/27"
},
"epfEtfEarningsBase": {
"type": "number"
},
"payslipGeneratorUrl": {
"type": "string",
"format": "uri"
},
"otherEmployeeDeductions": {
"type": "number"
},
"totalEmployeeDeductions": {
"type": "number"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_sri_lanka_payroll_reference — Get the Sri Lanka payroll reference
Return the maintained APIT, EPF, ETF, and stamp-duty assumptions with official Sri Lankan sources and scope limits.
{
"type": "object",
"properties": {}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"yearOfAssessment",
"sourceTableYear",
"effectiveFrom",
"currency",
"period",
"scope",
"monthlyApitRelief",
"employeeEpfRate",
"employerEpfRate",
"employerEtfRate",
"stampDutyThreshold",
"stampDutyAboveThreshold",
"provenanceNote",
"excludedCases",
"methodologyUrl",
"machineReadableMethodologyUrl",
"openApiUrl",
"citation",
"sources"
],
"properties": {
"scope": {
"type": "string"
},
"period": {
"type": "string",
"const": "monthly"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"authority",
"topic",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"topic": {
"type": "string"
},
"authority": {
"type": "string"
}
},
"additionalProperties": false
}
},
"citation": {
"type": "string"
},
"currency": {
"type": "string",
"const": "LKR"
},
"openApiUrl": {
"type": "string",
"format": "uri"
},
"effectiveFrom": {
"type": "string",
"const": "2025-04-01"
},
"excludedCases": {
"type": "array",
"items": {
"type": "string"
}
},
"methodologyUrl": {
"type": "string",
"format": "uri"
},
"provenanceNote": {
"type": "string"
},
"employeeEpfRate": {
"type": "number"
},
"employerEpfRate": {
"type": "number"
},
"employerEtfRate": {
"type": "number"
},
"sourceTableYear": {
"type": "string",
"const": "2025/26"
},
"yearOfAssessment": {
"type": "string",
"const": "2026/27"
},
"monthlyApitRelief": {
"type": "number"
},
"stampDutyThreshold": {
"type": "number"
},
"stampDutyAboveThreshold": {
"type": "number"
},
"machineReadableMethodologyUrl": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_sri_lanka_payslip_checklist — Get a Sri Lanka payslip checklist
Return the fields and checks needed to prepare or review a Sri Lankan employee payslip.
{
"type": "object",
"properties": {}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"identityAndPeriod",
"earnings",
"employeeDeductions",
"employerContributions",
"verificationChecks",
"evidenceNote",
"guideUrl",
"generatorUrl",
"sources"
],
"properties": {
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"authority",
"topic",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"topic": {
"type": "string"
},
"authority": {
"type": "string"
}
},
"additionalProperties": false
}
},
"earnings": {
"type": "array",
"items": {
"type": "string"
}
},
"guideUrl": {
"type": "string",
"format": "uri"
},
"evidenceNote": {
"type": "string"
},
"generatorUrl": {
"type": "string",
"format": "uri"
},
"identityAndPeriod": {
"type": "array",
"items": {
"type": "string"
}
},
"employeeDeductions": {
"type": "array",
"items": {
"type": "string"
}
},
"verificationChecks": {
"type": "array",
"items": {
"type": "string"
}
},
"employerContributions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-06: 1 of 1 checks answered
- 2026-11-07: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 738 ms
- 95th percentile latency
- 738 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 738 ms · metadata changed · 3 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http sri-lanka-payslip-mcp-mypayslip https://mypayslip.lk/api/mcpCodex
codex mcp add sri-lanka-payslip-mcp-mypayslip --url https://mypayslip.lk/api/mcpCursor
{
"mcpServers": {
"sri-lanka-payslip-mcp-mypayslip": {
"url": "https://mypayslip.lk/api/mcp"
}
}
}Cline
{
"mcpServers": {
"sri-lanka-payslip-mcp-mypayslip": {
"type": "streamableHttp",
"url": "https://mypayslip.lk/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"sri-lanka-payslip-mcp-mypayslip": {
"type": "http",
"url": "https://mypayslip.lk/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http sri-lanka-payslip-mcp-mypayslip https://mypayslip.lk/api/mcpClaude Desktop
https://mypayslip.lk/api/mcpWindsurf
{
"mcpServers": {
"sri-lanka-payslip-mcp-mypayslip": {
"serverUrl": "https://mypayslip.lk/api/mcp"
}
}
}Let your agent find its tools
Find servers like Sri Lanka Payslip MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.