myinvois-mcp
MCP server for Malaysian LHDN e-invoicing (MyInvois) compliance rules. Gives an AI agent
four tools over the current, structured ruleset — scope, field rules, invoice validation, and
change-diffs. It's a thin client over the public API, so it needs no database and no API key.
Informational, not tax advice. Verify against LHDN.
Tools
check_einvoice_scope(turnover, date?, entity_type?) — is a business in scope, and by when?
get_einvoice_field_rules(scenario, amount?) — required fields, formats, allowed values.
validate_einvoice(invoice) — validate an invoice object → valid / errors / warnings. Stateless.
get_einvoice_changes(since) — rule changes effective on/after a date.
Every result carries asOf, rulesetVersion, source (LHDN URL), and a disclaimer.
Install (Claude Desktop / Cursor / any MCP client)
{
"mcpServers": {
"myinvois": {
"command": "npx",
"args": ["-y", "myinvois-mcp"]
}
}
}
That's it — no env vars required. To point at a self-hosted deployment, set MYINVOIS_API_URL.
Links