myinvois-mcp
v0.1.1
Published
MCP server for Malaysian LHDN e-invoicing (MyInvois) compliance rules — scope, field rules, invoice validation, and change-diffs. Thin client over the public API; no database needed.
Maintainers
Readme
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
- API + docs: https://myinvois-compliance-rules-feed-anhq280.vercel.app/docs
- OpenAPI: https://myinvois-compliance-rules-feed-anhq280.vercel.app/openapi.yaml
- Source: https://github.com/ANHQ280/myinvois-compliance-rules-feed
