What is MCP?
Model Context Protocol (MCP) is an open standard for connecting AI assistants (Claude Desktop, Claude Code, ChatGPT with MCP support, and many other clients) to external tools and data sources.
When you add MyCal’s MCP server to your AI assistant, the assistant gains 13 new capabilities — ask it “Is next Monday a public holiday in KL?” and it calls the right tool instead of hallucinating.
Why this matters
LLMs are notoriously bad at calendar arithmetic and Malaysia-specific knowledge:
- They get Islamic holidays wrong (wrong Gregorian date mapping)
- They don’t know about cuti peristiwa announced after their training cutoff
- They mix up state-specific vs federal holidays
- They default to Sat–Sun weekends even for Kedah / Kelantan / Terengganu
With the MCP server in place, the assistant queries MyCal’s bundled calendar dataset directly.
Architecture
Your AI client MyCal MCP server(Claude Desktop, etc.) ──────▶ (local npx process, stdio JSON-RPC bundled MY calendar data)The MCP server runs locally via npx @catlabtech/mycal-mcp-server. It ships with the full Malaysia calendar dataset bundled in, so there’s nothing to host and no network call to make.
What it can do
13 tools covering every common question:
get_malaysia_holidays— list holidayscheck_malaysia_holiday— is this date a holiday?next_malaysia_holiday— what’s next?malaysia_business_days— count working daysmalaysia_long_weekends— when are the 3+ day stretches?malaysia_leave_optimizer— best leave days to take for the longest breaklist_malaysia_states— state referenceresolve_malaysia_state— alias to canonicalmalaysia_holiday_changes— recent data updatesmalaysia_school_terms— KPM school termsmalaysia_school_holidays— cuti penggal / perayaanmalaysia_exams— SPM, STPM, MUET, PT3malaysia_is_school_day— school day check
Full reference: Available Tools.
Set it up
- Claude Desktop
- Claude Code
- Other MCP clients: follow your client’s MCP server setup doc, using
npx @catlabtech/mycal-mcp-serveras the command.