Business Day Calendars

NYSE, Federal Reserve, TARGET2 and UK business days, holidays and T+N settlement dates.

我該用這個嗎

品質與安全性

A
說明品質
97%
結構描述完整度
100%
命名品質
90%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,399Token(工具定義)
~1.3 KB典型回應大小
中等的注意力影響(128k 上下文的 1.09%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "business-days": {
      "url": "https://business-days.quietworklabs.workers.dev/mcp"
    }
  }
}

遠端端點

https://business-days.quietworklabs.workers.dev/mcpstreamable-http

它能做什麼

工具清單

工具(6)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢is_business_day(date, calendars)

Whether a date is a business day on one or more settlement calendars (NYSE, Fedwire/FedACH, TARGET2, UK), which holiday closes it, NYSE early closes, and the previous/next business day. Deterministic, no AI. Price: $0.001 USDC per call via x402 (Base); the first 5 calls per day per client are free.

輸入結構描述

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "Date YYYY-MM-DD",
      "examples": [
        "2026-11-27"
      ]
    },
    "calendars": {
      "type": "string",
      "description": "Comma list of calendars; a day is a business day only if open in all. XNYS (NYSE), FED (Fedwire/FedACH), TARGET2 (EUR), UK-ENG. Aliases: NYSE, US, ACH, EUR, UK. Default FED.",
      "examples": [
        "XNYS,FED"
      ]
    }
  },
  "required": [
    "date"
  ]
}
🟢add_business_days(date, days, calendars)

Adds (or with negative days subtracts) N business days to a date on a joint calendar (NYSE, Fedwire/FedACH, TARGET2, UK) and lists the holidays skipped. Deterministic, no AI. Price: $0.001 USDC per call via x402 (Base); the first 5 calls per day per client are free.

輸入結構描述

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "Start date YYYY-MM-DD",
      "examples": [
        "2026-12-23"
      ]
    },
    "days": {
      "type": "string",
      "description": "Business days to add, -2000..2000",
      "examples": [
        "2"
      ]
    },
    "calendars": {
      "type": "string",
      "description": "Comma list of calendars; a day is a business day only if open in all. XNYS (NYSE), FED (Fedwire/FedACH), TARGET2 (EUR), UK-ENG. Aliases: NYSE, US, ACH, EUR, UK. Default FED.",
      "examples": [
        "XNYS,FED"
      ]
    }
  },
  "required": [
    "date",
    "days"
  ]
}
🟢settlement_date(trade_date, t, calendars)

Settlement date T+N for a trade date on a joint calendar. Default XNYS,FED with t=1 (US equities since 28 May 2024). If the trade date is not a business day it is first rolled to the next one. Deterministic, no AI. Price: $0.001 USDC per call via x402 (Base); the first 5 calls per day per client are free.

輸入結構描述

{
  "type": "object",
  "properties": {
    "trade_date": {
      "type": "string",
      "description": "Trade date YYYY-MM-DD",
      "examples": [
        "2026-12-24"
      ]
    },
    "t": {
      "type": "string",
      "description": "Settlement lag in business days (0-10). Default 1",
      "examples": [
        "1"
      ]
    },
    "calendars": {
      "type": "string",
      "description": "Calendars; default XNYS,FED",
      "examples": [
        "XNYS,FED"
      ]
    }
  },
  "required": [
    "trade_date"
  ]
}
🟢business_days_between(start, end, inclusive, calendars)

Counts business days between two dates on a joint calendar: days after start up to and including end (inclusive=true also counts start). Negative if end is before start. Lists weekday holidays in range. Max 10 years. Deterministic, no AI. Price: $0.001 USDC per call via x402 (Base); the first 5 calls per day per client are free.

輸入結構描述

{
  "type": "object",
  "properties": {
    "start": {
      "type": "string",
      "description": "Start date YYYY-MM-DD",
      "examples": [
        "2026-01-01"
      ]
    },
    "end": {
      "type": "string",
      "description": "End date YYYY-MM-DD",
      "examples": [
        "2026-12-31"
      ]
    },
    "inclusive": {
      "type": "string",
      "description": "true to count the start date too",
      "examples": [
        "false"
      ]
    },
    "calendars": {
      "type": "string",
      "description": "Comma list of calendars; a day is a business day only if open in all. XNYS (NYSE), FED (Fedwire/FedACH), TARGET2 (EUR), UK-ENG. Aliases: NYSE, US, ACH, EUR, UK. Default FED.",
      "examples": [
        "XNYS,FED"
      ]
    }
  },
  "required": [
    "start",
    "end"
  ]
}
🟢adjust_date(date, convention, calendars)

Rolls a date that falls on a weekend or holiday using a business-day convention: following, modified_following, preceding, modified_preceding. Typical for payment, coupon and invoice due dates. Deterministic, no AI. Price: $0.001 USDC per call via x402 (Base); the first 5 calls per day per client are free.

輸入結構描述

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "Date YYYY-MM-DD",
      "examples": [
        "2027-12-25"
      ]
    },
    "convention": {
      "type": "string",
      "description": "following | modified_following | preceding | modified_preceding. Default modified_following",
      "examples": [
        "modified_following"
      ]
    },
    "calendars": {
      "type": "string",
      "description": "Comma list of calendars; a day is a business day only if open in all. XNYS (NYSE), FED (Fedwire/FedACH), TARGET2 (EUR), UK-ENG. Aliases: NYSE, US, ACH, EUR, UK. Default FED.",
      "examples": [
        "TARGET2"
      ]
    }
  },
  "required": [
    "date"
  ]
}
🟢list_holidays(calendar, year)

Lists closing days for one calendar and year (2000-2099): NYSE full closures and 1 pm early closes, Federal Reserve (Fedwire/FedACH) holidays with Saturday/Sunday observance rules, TARGET2 closing days, UK England & Wales bank holidays with substitute days. Weekend-only holidays with no weekday closure are omitted. Deterministic, no AI. Price: $0.001 USDC per call via x402 (Base); the first 5 calls per day per client are free.

輸入結構描述

{
  "type": "object",
  "properties": {
    "calendar": {
      "type": "string",
      "description": "XNYS, FED, TARGET2 or UK-ENG",
      "examples": [
        "XNYS"
      ]
    },
    "year": {
      "type": "string",
      "description": "Year 2000-2099",
      "examples": [
        "2027"
      ]
    }
  },
  "required": [
    "calendar",
    "year"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本6 個工具