Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Exact date/time math for agents: business days, holidays, time zones, cron, RRULE, SLA. x402 paid.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://date-math.datemath.workers.dev/mcp在终端中运行这条命令
claude mcp add --transport http date-math https://date-math.datemath.workers.dev/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"date-math": {
"url": "https://date-math.datemath.workers.dev/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"date-math": {
"type": "http",
"url": "https://date-math.datemath.workers.dev/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://date-math.datemath.workers.dev/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
工具名称和描述与服务器在 2026年11月7日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
date_diffDifference between two dates or datetimes: calendar (Y/M/D), total days/weeks/hours, and business days (weekdays in [from, to) minus holidays; pass country to exclude its public holidays). Costs $0.001 per call (x402).
date_addAdd or subtract years/months/weeks/days/business days/hours/minutes/seconds. Month-end clamping; business days skip weekends, given holidays, and the public holidays of an optional country. Costs $0.001 per call (x402).
timezone_convertConvert an instant or local wall-clock time between IANA time zones (DST-aware). Costs $0.001 per call (x402).
date_infoCalendar facts for a date: weekday, ISO week, quarter, day of year, leap year, weekend. Costs $0.001 per call (x402).
public_holidaysPublic holidays for a country and year: 207 countries, 2000–2050. Lunar or government-proclaimed dates are rule-based estimates. Costs $0.001 per call (x402).
working_hours_overlapFind when working hours overlap across time zones (meeting windows). Per-participant hours optional; skips weekends by default; up to 14 days. Costs $0.001 per call (x402).
cron_scheduleExplain a cron expression in plain English and list its next run times in any time zone. Costs $0.001 per call (x402).
parse_date_textResolve natural-language dates like "next Friday at 3pm", "in 2 weeks" or "Dec 25 to Jan 2" to exact datetimes, relative to a reference time and time zone. Costs $0.001 per call (x402).
city_timeFind the IANA time zone and current local time for up to 10 cities by name ("Cebu", "São Paulo", "Springfield" + country). 7,000+ cities. Costs $0.001 per call (x402).
recurring_datesExpand an iCalendar RRULE ("every 2nd Tuesday", "Mon/Wed until June") into concrete dates and times in a time zone, DST-aware, with optional excluded dates. Costs $0.001 per call (x402).
business_hours_deadlineSLA math in working hours: the deadline N business hours after a start time, or business time elapsed between two times. Custom hours and workdays, holidays, country public holidays, DST-aware. Costs $0.001 per call (x402).
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 JowenDelaPena 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
在 280 毫秒内响应(HTTP 200)
无需登录
已读取 11 个工具描述,未发现针对 AI 的隐藏指令
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.2.0)于今天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Playcal
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Edit-settle-verify loop, observe, replay and log tools for AI agents working in the Unity Editor
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Exact date and time math for AI agents, paid per call. LLMs are unreliable at business days, DST, recurring schedules and holiday calendars. Date Math gives them deterministic answers over HTTP or MCP.
https://date-math.datemath.workers.devhttps://date-math.datemath.workers.dev/mcp (Streamable HTTP)/llms.txt · /openapi.jsonHTTP (POST, JSON body) | MCP tool | What it does |
|---|---|---|
/v1/diff | date_diff | Days, weeks, months and business days between two dates. Pass country to skip its public holidays. |
/v1/add | date_add | The date N days, weeks, months or business days before or after a date |
/v1/convert | timezone_convert | Converts a time between IANA time zones (DST-aware) |
/v1/info | date_info | Weekday, ISO week, quarter, day of year, leap year |
/v1/holidays | public_holidays | Public holidays for 207 countries, 2000–2050 |
/v1/overlap | working_hours_overlap | When working hours overlap across time zones (meeting slots) |
/v1/cron | cron_schedule | Explains a cron expression and lists its next runs in any zone |
/v1/parse | parse_date_text | "next Friday at 3pm" → an exact ISO datetime |
/v1/city | city_time | City name → time zone and local time (7,000+ cities) |
/v1/recurrence | recurring_dates | Expands an iCal RRULE ("every 2nd Tuesday") into dates |
/v1/business_hours | business_hours_deadline | SLA deadline N working hours from now, or working time elapsed |
Every response is a JSON object. Errors look like {"error":{"code","message"}}. Full schemas and examples are in /openapi.json.
# Unpaid call → HTTP 402 with payment terms in the PAYMENT-REQUIRED header
curl -i -X POST https://date-math.datemath.workers.dev/v1/business_hours \ -H "Content-Type: application/json" \ -d '{"start":"2026-11-06T16:00","hours":2,"timezone":"Asia/Manila","country":"PH"}'
| Request body | Result |
|---|---|
/v1/business_hours {"start":"2026-11-06T16:00","hours":2,"timezone":"Asia/Manila"} | "deadline":"2026-11-09T10:00:00+08:00" (Monday) |
/v1/add {"date":"2026-12-22","business_days":5,"country":"PH"} | "result":"2026-12-31" (skips Christmas and Rizal Day) |
/v1/overlap {"timezones":["Asia/Manila","Europe/London"],"date":"2026-11-10","work_end":"18:00"} | One window: 09:00–10:00Z |
/v1/recurrence {"rrule":"FREQ=MONTHLY;BYDAY=2TU","start":"2026-01-01T10:00","timezone":"Asia/Manila","count":3} | Jan 13, Feb 10, Mar 10 at 10:00 +08:00 |
Any x402 client pays automatically. With the official TypeScript client:
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm"; import { privateKeyToAccount } from "viem/accounts";
const pay = wrapFetchWithPaymentFromConfig(fetch, { schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(privateKeyToAccount(process.env.KEY as 0x${string})) }], });
const res = await pay("https://date-math.datemath.workers.dev/v1/city", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ cities: ["Cebu", "London"] }), }); console.log(await res.json());
The wallet needs USDC on Base. No ETH is required, because the facilitator pays gas.
https://date-math.datemath.workers.dev/mcp (Streamable HTTP, stateless)tools/list) is free._meta, and x402-aware clients handle it automatically:import { createx402MCPClient } from "@x402/mcp";
import { ExactEvmScheme } from "@x402/evm/exact/client"; import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const client = createx402MCPClient({ name: "my-agent", version: "1.0.0", schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }], autoPayment: true, }); await client.connect(new StreamableHTTPClientTransport(new URL("https://date-math.datemath.workers.dev/mcp"))); const r = await client.callTool("public_holidays", { country: "US", year: 2026 });
MCP clients without x402 support can list the tools, but calls return "Payment required".
The service is a single Cloudflare Worker and fits the free plan: every tool uses 0–6 ms of CPU per call.
cd worker
npm install npm test # 99 tests npx wrangler login npx wrangler deploy
Set your own wallet and price in worker/wrangler.toml:
| Setting | Meaning |
|---|---|
PAY_TO | Your wallet address. Leave empty to make every endpoint free. |
PRICE | Price per call, e.g. $0.001 |
X402_NETWORK | eip155:8453 (Base) or eip155:84532 (Base Sepolia, for testing) |
FACILITATOR_URL | Defaults to PayAI: no key needed, and it pays gas |
Optional secrets (set with npx wrangler secret put):
To check your deployment against x402scan's discovery rules, run node tools/x402scan-audit.mjs https://your-worker.workers.dev.
@x402/hono and @x402/mcp.x-payment-info, /.well-known/x402, x402 Bazaar metadata on every 402, and llms.txt.worker/scripts/build-*.mjs), so lookups are O(1) per request.Intl formatters and a week-segment cache. They're tested against direct lookups for tricky zones (Morocco, Lord Howe, Chatham).worker/src/cron.ts), checked against cron-parser on 400 random expressions.new Function), which Workers blocks. wrangler.toml aliases it to a no-op shim (worker/src/shims/bazaar.ts).Contact: see info.contact in /openapi.json.