Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Malaysia public holidays, school terms, business days & a leave optimizer (13 tools).
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"mycal": {
"command": "npx",
"args": [
"-y",
"@catlabtech/mycal-mcp-server"
]
}
}
}在终端中运行这条命令
claude mcp add mycal -- npx -y @catlabtech/mycal-mcp-server粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mycal": {
"command": "npx",
"args": [
"-y",
"@catlabtech/mycal-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mycal": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@catlabtech/mycal-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Junhui20 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.4)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Georgia MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
An MCP server for Georgian public data, read from the organizations that publish it.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Malaysia's most complete calendar API — public holidays, school calendar, exam schedules, and MCP server for AI tools.
Data source: Official government gazette (JPM BKPP), JAKIM, KPM, MPM. Not scraped from third-party websites.
Published to npm under the @catlabtech scope:
| Package | Purpose | Install |
|---|---|---|
@catlabtech/mycal-core | Shared types, Zod schemas, and calendar/business-day logic | npm install @catlabtech/mycal-core |
@catlabtech/mycal-sdk | TypeScript client SDK for the REST API | npm install @catlabtech/mycal-sdk |
@catlabtech/mycal-mcp-server | MCP server exposing 13 calendar tools for AI agents | npm install @catlabtech/mycal-mcp-server |
.ics feeds@catlabtech/mycal-sdk) with typed responses# Clone and install
git clone https://github.com/Junhui20/malaysia-calendar-api.git cd malaysia-calendar-api pnpm install
pnpm --filter @catlabtech/mycal-core build pnpm --filter @catlabtech/mycal-sdk build
cd packages/api && npx wrangler dev
pnpm --filter @mycal/web dev
pnpm validate
pnpm test
Base URL: https://mycal-api.huijun00100101.workers.dev/v1
# All holidays for Selangor in 2026
curl "https://mycal-api.huijun00100101.workers.dev/v1/holidays?year=2026&state=selangor"
curl "https://mycal-api.huijun00100101.workers.dev/v1/holidays?year=2026&type=islamic"
curl "https://mycal-api.huijun00100101.workers.dev/v1/holidays?year=2026&state=KL&month=3"
# Is March 21 a holiday/weekend/working day?
curl "https://mycal-api.huijun00100101.workers.dev/v1/holidays/check?date=2026-03-21&state=KL"
Response:
{
"data": { "date": "2026-03-21", "dayOfWeek": "Saturday", "isHoliday": true, "isWeekend": true, "isWorkingDay": false, "isSchoolDay": false, "holidays": [ { "id": "2026-hari-raya-aidilfitri-1", "name": { "ms": "Hari Raya Aidilfitri", "en": "Eid al-Fitr", "zh": "开斋节" }, "type": "islamic", "status": "confirmed" } ] } }
# Count working days in March for Selangor
curl "https://mycal-api.huijun00100101.workers.dev/v1/business-days?start=2026-03-01&end=2026-03-31&state=selangor"
curl "https://mycal-api.huijun00100101.workers.dev/v1/business-days/add?date=2026-03-01&days=10&state=selangor"
# Is this a school day?
curl "https://mycal-api.huijun00100101.workers.dev/v1/school/is-school-day?date=2026-03-21&state=selangor"
curl "https://mycal-api.huijun00100101.workers.dev/v1/school/holidays?year=2026&group=B"
curl "https://mycal-api.huijun00100101.workers.dev/v1/school/exams?year=2026&type=spm"
# Next holiday for Penang
curl "https://mycal-api.huijun00100101.workers.dev/v1/holidays/next?state=penang"
# Resolve alias
curl "https://mycal-api.huijun00100101.workers.dev/v1/states/resolve?q=kl"
| Endpoint | Description |
|---|---|
GET /v1/holidays | List holidays (filter by year, state, type, status, month) |
GET /v1/holidays/check | Is this date a holiday/weekend/working day/school day? |
GET /v1/holidays/today | Today's holiday status |
GET /v1/holidays/next | Next upcoming holiday |
GET /v1/holidays/between | Holidays in date range |
GET /v1/holidays/leave-optimizer | Suggest annual-leave days to spend for the longest consecutive break |
GET /v1/business-days | Count business days between dates |
GET /v1/business-days/add | Add N business days to a date |
GET /v1/states | All 13 states + 3 FTs with weekend config |
GET /v1/states/resolve | Resolve alias (KL, penang, jb) to canonical code |
GET /v1/school/terms | School term dates + day counts |
GET /v1/school/holidays | School holidays + KPM cuti perayaan |
GET /v1/school/exams | SPM, STPM, MUET, PT3 schedule |
GET /v1/school/is-school-day | Is this a school day? |
GET /v1/feed/ical/:state | iCal subscription feed |
GET /v1/feed/csv/:state | CSV/spreadsheet export of holidays |
GET /v1/data/* | Raw, cacheable open-data snapshots — manifest, states, holidays/:year, all (no API key required) |
GET /v1/prayer-times/:zone | JAKIM prayer times for a zone (MYT-formatted); GET /v1/prayer-times/zones lists the zone directory |
POST /v1/keys | Issue an API key (admin-gated for now; GET /v1/keys/whoami checks the caller's tier) |
See the full OpenAPI 3.1 spec for request/response schemas.
import { MyCalClient } from "@catlabtech/mycal-sdk";
const cal = new MyCalClient();
// Check if a date is a working day const result = await cal.check("2026-03-21", "selangor"); console.log(result.isWorkingDay); // false
// List holidays const holidays = await cal.holidays({ year: 2026, state: "KL" });
// Business days const workDays = await cal.businessDays("2026-03-01", "2026-03-31", "selangor"); console.log(workDays.businessDays); // 22
// School calendar const terms = await cal.school.terms({ year: 2026, group: "B" }); const exams = await cal.school.exams({ year: 2026, type: "spm" }); const isSchool = await cal.school.isSchoolDay("2026-03-21", "selangor");
Connect the Malaysia Calendar API to Claude, ChatGPT, or any MCP-compatible AI assistant.
Add to your MCP configuration:
{
"mcpServers": { "malaysia-calendar": { "command": "npx", "args": ["@catlabtech/mycal-mcp-server"] } } }
| Tool | Description |
|---|---|
get_malaysia_holidays | Get public holidays (filter by year, state, type) |
check_malaysia_holiday | Check if a date is a holiday or working day |
next_malaysia_holiday | Find the next upcoming holiday |
malaysia_business_days | Count working days between two dates |
malaysia_long_weekends | Find long weekends (3+ days) |
malaysia_leave_optimizer | Find the most efficient leave days to take to maximise consecutive days off |
list_malaysia_states | List all states with weekend config |
resolve_malaysia_state | Resolve alias (KL, JB) to canonical code |
malaysia_holiday_changes | Recent data changes |
malaysia_school_terms | School term dates and day counts |
malaysia_school_holidays | School holidays (cuti penggal, cuti perayaan) |
malaysia_exams | SPM, STPM, MUET, PT3 exam schedule |
malaysia_is_school_day | Check if a date is a school day |
| Code | Aliases | Group | Weekend |
|---|---|---|---|
johor | jhr, jb | B | Sat-Sun (was Fri-Sat 2014-2024) |
kedah | kd, kdh | A | Fri-Sat |
kelantan | kel, kb | A | Fri-Sat |
terengganu | trg, kt | A | Fri-Sat |
perak | prk, ipoh | B | Sat-Sun |
pulau-pinang | penang, pg | B | Sat-Sun |
selangor | sel, sgr | B | Sat-Sun |
negeri-sembilan | ns, n9 | B | Sat-Sun |
melaka | mlk, malacca | B | Sat-Sun |
pahang | phg, kuantan | B | Sat-Sun |
perlis | pls, kangar | B | Sat-Sun |
sabah | sbh, kk | B | Sat-Sun |
sarawak | swk, kuching | B | Sat-Sun |
kuala-lumpur | kl | B | Sat-Sun |
wp-putrajaya | putrajaya, pjy | B | Sat-Sun |
wp-labuan | labuan, lbn | B | Sat-Sun |
State aliases are case-insensitive. Use GET /v1/states/resolve?q=kl to resolve any alias to the canonical code.
malaysia-calendar-api/
├── data/ # JSON data files (source of truth / 数据源) │ ├── holidays/ │ │ ├── 2024.json # Holiday data per year │ │ ├── 2025.json │ │ └── 2026.json │ ├── school/ │ │ ├── terms-2026.json # School terms (Kumpulan A + B) │ │ ├── holidays-2026.json # School holidays + KPM cuti perayaan │ │ └── exams-2026.json # SPM, STPM, MUET, PT3 schedules │ ├── states.json # 13 states + 3 FT, aliases, weekend history │ └── known-fixed-holidays.json ├── packages/ │ ├── core/ # Shared business logic (types, schemas, utils) │ │ └── src/ │ │ ├── types.ts # Holiday, State, SchoolTerm, Exam interfaces │ │ ├── schemas.ts # Zod validation schemas │ │ ├── filter.ts # Query filtering logic │ │ ├── replacement.ts # Cuti ganti calculation │ │ ├── state-resolver.ts │ │ ├── business-days.ts │ │ └── school.ts # School term/holiday/exam logic │ ├── api/ # Hono API on Cloudflare Workers │ ├── mcp-server/ # MCP Server (13 tools) │ ├── sdk/ # TypeScript client SDK (@catlabtech/mycal-sdk) │ └── web/ # Astro + Starlight — marketing site, demos, docs ├── scripts/ │ ├── validate-data.ts # 5-layer data validation pipeline │ └── sync-to-kv.ts # JSON -> Cloudflare KV denormalization ├── openapi.yaml # OpenAPI 3.1 spec (spec-first) ├── pnpm-workspace.yaml └── turbo.json
All data is sourced from official Malaysian government publications:
| Source | Data | URL |
|---|---|---|
| JPM BKPP | Federal Gazette / Warta Kerajaan (public holidays) | kabinet.gov.my |
| JAKIM | Takwim Hijri-Miladi (Islamic calendar) | e-solat.gov.my |
| KPM | Kalendar Akademik / school calendar (Lampiran A/B/C) | moe.gov.my |
| MPM | STPM & MUET exam schedules | mpm.edu.my |
| State Portals | State-specific holidays (13 states) | *.gov.my |
Holiday
只显示了开头部分;其余内容请在仓库中阅读