← miaotoolbox.com

INDIVIDUAL MCP TOOL

calculate_date

确定性日历与工作日计算(1900-2100年,内置 2025-2026 中国国务院办公厅法定节假日与调休补班)。支持 3 种操作:1) action="diff" 计算两个日期间隔天数与工作日数;2) action="offset" 从基准日加减 N 个工作日/自然日/周/月/年推算目标日期;3) action="inspect" 查询单日星期、是否工作日、法定假日/补班及年内天数。

miaotoolbox.comnone authenticationAvailability not checked

LIVE ENDPOINT

https://mcp.miaotoolbox.com/mcp

No auth detected

Connect to this endpoint to inspect the live schema for calculate_date and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent server

miaotoolbox.com

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.miaotoolbox-mcp]
url = "https://mcp.miaotoolbox.com/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "miaotoolbox-mcp": {
      "type": "http",
      "url": "https://mcp.miaotoolbox.com/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: miaotoolbox-mcp
Remote MCP URL: https://mcp.miaotoolbox.com/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "miaotoolbox-mcp": {
      "url": "https://mcp.miaotoolbox.com/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "miaotoolbox-mcp": {
      "type": "http",
      "url": "https://mcp.miaotoolbox.com/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "miaotoolbox-mcp",
  "transport": "streamable-http",
  "url": "https://mcp.miaotoolbox.com/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • convert_units — 高精度确定性单位换算,支持长度(length: mm/cm/m/km/inch/foot/mile)、面积(area: mm2/cm2/m2/km2/ha)、体积(volume: ml/l/cm3/m3)、质量(mass: mg/g/kg/tonne/pound)、温度(temperature: c/f/k)、速度(speed: ms/kmh/mph)。使用 50 位十进制精度计算,返回精确结果与网页链接。
  • calculate_mortgage — 固定名义年利率、整月期末还款模型房贷试算。支持等额本息(annuity)、等额本金(principal)及两者对比(both)。默认仅返回汇总结果,避免占用过多上下文;如需逐月明细可设置 includeSchedule=true 并分页(每次最多 24 期)。
  • calculate_mortgage_plus — 支持两大场景:1) scenario="combined" 商业贷款+公积金贷款组合试算(各自支持独立本金/期限/利率/等额本息或等额本金);2) scenario="prepayment" 一次性提前还本对比“缩短年限”与“减少月供”的省息与缩期效果。默认仅返回汇总,可选分页明细(单次最多 24 期)。
  • convert_timezone — 确定性 IANA 时区换算与跨国会议工作时段规划。1) mode="convert" 将基准时间从 sourceTimeZone 转换至 1–12 个 targetTimeZones,自动识别夏令时跳空与重叠消歧;2) mode="meeting" 评估 2–12 位参与者指定日期的工作时段重合度,默认仅返回推荐黄金/可协调窗口以节省上下文(如需全天逐时段明细可设 includeSlots=true)。
  • calculate_interest — 使用 50 位十进制精度试算四种理财与投资模型:simple(单利)、compound(复利与有效年利率 EAR)、sip(定期定投)、irr(现金流内部收益率,支持 2–120 期)。默认仅返回汇总结果;compound/sip 如需分期明细可设 includeSchedule=true 并分页(每次最多 24 期)。
  • convert_rmb_and_invoice_tax — 按《会计基础工作规范》将金额转换为规范人民币中文大写(无漏零、不出现亿万,精确到分),并支持增值税含税↔不含税分位减法平账拆算(1%/3%/5%/6%/9%/13% 或 0–50% 自定义税率)。
  • calculate_cn_income_tax — 按现行中国大陆个人所得税政策(月基本减除 5,000 元、7 级综合所得超额累进税率)试算:1) mode="monthly_withholding" 1–12 月累计预扣明细、退税预警与汇算汇总;2) mode="bonus_compare" 年终奖单独计税 vs 并入综合所得省税对比,并检测 6 大年终奖缩水无效区及临界拆分建议。
  • convert_table_format — RFC 4180 CSV、JSON 对象数组与 Markdown GFM 表格双向转换。为适配 MCP 上下文预算,仅处理有界小段结构化数据(输入 ≤ 8,000 字符且 ≤ 12,000 字节、≤ 200 行、≤ 30 列);超限将返回网页版处理引导链接。