Let your AI agent buy training — and claim the levy
Connect Claude, ChatGPT or any MCP-compatible agent to MegaLearn. It discovers courses, estimates your HRD Corp levy, enrolls your staff and pulls audit-ready compliance evidence — while you stay in control with scoped keys and a spend cap.
Agent-native by design
Every capability of our corporate portal is also a clean, documented API and an official Model Context Protocol server. Agents don't scrape screens — they call typed tools with verified responses.
- ✓ Public OpenAPI 3.1 spec +
llms.txtfor discovery - ✓ One-line MCP install:
npx -y @megalearn/mcp - ✓ Idempotent writes — safe for autonomous agents
HRDC claim-readiness guarantee
Every enrollment is wrapped in our compliance pipeline: 80% minimum watch enforced server-side, a tamper-resistant attendance log, assessment results and a certificate — assembled into an eTRiS-ready evidence pack.
- ✓ Attendance logged every 5 seconds, scrub-protected
- ✓ One-click evidence CSV for your HRD Corp claim
- ✓ Complete the course to spec, or we refund the platform fee
What your agent can do
Eleven tools, mapped one-to-one to the gateway. Read-only by default; enrollment requires an explicit enroll:write scope.
Discover courses
Filter by category, HRDC-claimability, price and free text.
Estimate HRDC levy
0.5% of monthly payroll, annual projection, and an affordability table.
Recommend within budget
Budget-aware picks with how many staff each course can train.
Enroll staff
Single or bulk (up to 500). Idempotent — retries never double-charge.
Track progress
Per-enrollment and per-module completion status.
Pull HRDC evidence
Attendance, completion, assessment, certificate + CSV for eTRiS.
Talk to it in plain English
Once connected, your AI agent handles the whole levy-management workflow from a single instruction:
"We have 80 staff averaging RM4,500/month. Estimate our HRDC levy, then recommend claimable courses under RM900 and tell me how many people we can train."
"Enroll these 12 people in course 5 as an HRDC claim, paying with credits."
"Pull the HRDC evidence pack for enrollment 348."
Connect in 30 seconds
Add MegaLearn to Claude Desktop, Claude Code or any MCP client:
{
"mcpServers": {
"megalearn": {
"command": "npx",
"args": ["-y", "@megalearn/mcp"],
"env": {
"MEGALEARN_API_KEY": "ml_live_xxxxxxxx"
}
}
}
}
Generate a scoped key with a spend cap from Portal → AI Agent. Revoke it any time; every call is in your audit log.
11 MCP tools available today
You stay in control
Agent autonomy without losing the reins. Every key is governed and every action is logged.
Scoped keys
Grant only the permissions an agent needs — read-only, or enrollment too.
Spend cap
Cap the total enrollment value any single key can commit.
Rate limited
Per-minute throttle protects your account from runaway loops.
Full audit log
Every call recorded with endpoint, status and summary. Revoke instantly.
Ready to make your levy agent-driven?
Get a scoped API key, point your AI agent at MegaLearn, and turn HRDC levy management into a single conversation.