# China Workday Calendar and Package Vulnerability Advisories > Pay-per-call APIs for agents, paid with USDC via x402 v2 (scheme "exact", network eip155:8453). A request with no parameters returns 402 with the price and an example. Invalid input is rejected with a free 400/404 before any payment is requested; upstream or facilitator failures return 502 and are not charged. ## Use from Claude Code / Cursor / Codex npx agentcash add https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com npx agentcash try https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com npx agentcash onboard `add` needs no wallet; `try` and `onboard` create an AgentCash wallet on first run. Agent skill: https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/SKILL.md ## MCP server (free daily quota) claude mcp add --transport http cn-calendar https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/mcp Remote MCP server (Streamable HTTP) at https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/mcp with tools cn_workday_check and package_advisories. 20 free calls per IP address per day, no sign-up. After that each tool call returns an error naming the x402 URL and price of the same lookup, with a payment link {url, status: 402, challenge} in structuredContent. https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/paid/mcp is the same server without the free calls, for x402 MCP clients and paid-MCP directories: every tool call returns that payment link; pay the URL over x402. Quota counters store no raw IP address, only a keyed hash (HMAC-SHA256 of the day and IP), deleted by TTL after 2 days; request logs keep only the same hash, which changes every UTC day; API Gateway access logs keep the source IP for 30 days. Manifest: https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/.well-known/mcp.json ## China Workday Calendar Whether a date is a working day in mainland China, including official holidays and weekend makeup workdays (调休补班) from State Council (国务院) notices. Coverage 2020-01-01 to 2027-12-31, data updated 2026-11-05. - [GET https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/cn/workday?date=YYYY-MM-DD](https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/cn/workday?date=2026-02-14): $0.003. Is a given date a working day in mainland China? Applies the State Council (国务院) holiday notice: public holiday periods, weekend makeup workdays (调休补班) and ordinary weekends. Returns holiday name and source link. - [GET https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/cn/business-days?from=YYYY-MM-DD&to=YYYY-MM-DD](https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/cn/business-days?from=2026-09-28&to=2026-10-11): $0.005. Count and list mainland China working days between two dates (inclusive, up to 366 days, may cross years), honouring official holidays and weekend makeup workdays (调休补班) from State Council notices. Example: GET /cn/workday?date=2026-02-14 returns {"date":"2026-02-14","weekday":6,"is_workday":true,"is_public_holiday":false,"is_makeup_workday":true,"holiday_name":null,"kind":"makeup_workday","source_url":"https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm","data_updated":"2026-11-05"} ## Package Vulnerability Advisories Is this package version safe to install? Known vulnerabilities for an exact version. Ecosystems: npm, PyPI, Go, crates.io, Maven. - [GET https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/deps/advisories?ecosystem=npm&name=lodash&version=4.17.20](https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/deps/advisories?ecosystem=npm&name=lodash&version=4.17.20): $0.005. Is this package version safe to install? Call before adding or upgrading an npm, PyPI, Go, crates.io or Maven dependency. Returns vulnerable true/false and the known advisories (CVE, GHSA, PYSEC, GO, RUSTSEC) for that exact version: CVSS, affected ranges, fixed versions and links. Package names are case-sensitive (npm: use the published lowercase name). Data from OSV.dev, fetched live (cached up to 1 hour). - POST https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/deps/advisories/batch with JSON {"packages":[{"ecosystem","name","version"}, ...]} (max 50): $0.02. Are these package versions safe to install? Checks up to 50 npm, PyPI, Go, crates.io or Maven package versions in one call, e.g. a whole lockfile: $0.02 per call, $0.0004 per package. Same fields as GET /deps/advisories for each package, in request order. Example: GET /deps/advisories?ecosystem=npm&name=lodash&version=4.17.20 returns (trimmed to one advisory) {"ecosystem":"npm","name":"lodash","version":"4.17.20","vulnerable":true,"advisory_count":1,"advisories":[{"id":"GHSA-35jh-r3h4-6jhm","aliases":["CVE-2021-23337"],"summary":"Command Injection in lodash","severity":{"level":"HIGH","cvss":[{"type":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]},"affected":[{"package":"lodash","ranges":[{"type":"SEMVER","introduced":"0","fixed":"4.17.21"}]}],"fixed_versions":["4.17.21"],"published":"2021-05-06T16:05:51Z","modified":"2026-10-17T02:55:38.085813876Z","references":["https://nvd.nist.gov/vuln/detail/CVE-2021-23337","https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c","https://www.oracle.com/security-alerts/cpuoct2021.html"],"url":"https://osv.dev/vulnerability/GHSA-35jh-r3h4-6jhm","license":"CC-BY-4.0","source_database":"GitHub Advisory Database"}],"truncated":false,"data_fetched_at":"2026-11-24T08:00:00.000Z","queried_at":"2026-11-24T08:00:00.000Z","source":"OSV.dev (https://osv.dev). Excerpted and modified: details text omitted, affected ranges restructured and filtered to the queried package. Per-advisory license in `license`."} Advisory data from OSV.dev (https://osv.dev, Apache-2.0), which aggregates source databases under their own licenses: GitHub Advisory Database, PyPI Advisory Database, Go Vulnerability Database (CC-BY 4.0), Rust Advisory Database (CC0 1.0), OpenSSF Malicious Packages (Apache-2.0). Records are excerpted and modified (details omitted, ranges restructured). Each advisory carries its source license; summaries of records from other sources are omitted. ## Free - [OpenAPI](https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/openapi.json): full input/output JSON schema and examples - [SKILL.md](https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/SKILL.md): agent skill with endpoints, prices and examples - [Preview page](https://mvqz0m8d6g.execute-api.ap-northeast-1.amazonaws.com/) - [Source code and data](https://github.com/walkley/x402-content-site)