Business-Day Oracle

Working days, ISDA conventions and deadlines for 250 countries and 30 financial markets.

我該用這個嗎

品質與安全性

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

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

上下文成本

~5,884Token(工具定義)
~6.0 KB典型回應大小
顯著的注意力影響(128k 上下文的 4.60%)

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

安裝

一鍵安裝

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

{
  "mcpServers": {
    "business-day-oracle": {
      "url": "https://bizday.noahsarch.tech/mcp"
    }
  }
}

遠端端點

https://bizday.noahsarch.tech/mcpstreamable-http

它能做什麼

工具清單

工具(8)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢is_working_day(country, market, subdivision, categories, weekend, ...)

Say whether a date is a working day in a country/subdivision or market, and why not (weekend, holiday name, holiday observed, projected lunar holiday). Example: date '2027-03-10', country 'SA'. Calendar selection: country (ISO 3166-1 alpha-2, e.g. 'SA', 'DE', 'US') or market (MIC, e.g. 'XNYS', 'XLON'); optional subdivision (state/province/emirate code from list_calendars), categories (e.g. ['public','bank']), weekend override (['FRI','SAT']), extra_holidays (company/contract dates). Weekend defaults to the country's legal weekend. Response: result plus data_confidence (high = fixed-date calendar; medium = a lunar/moon-sighted or projected holiday is involved, or the caller overrode the weekend), estimated_items[] naming each projected date, sources[] (public references behind the calendar), data_version and warnings[].

輸入結構描述

{
  "type": "object",
  "properties": {
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ISO 3166-1 alpha-2 country code. Required unless market is given.",
      "title": "Country"
    },
    "market": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Financial market MIC (XNYS, XLON, XETR, XHKG, XJPX, XSAU…) — trading/settlement calendar instead of a country.",
      "title": "Market"
    },
    "subdivision": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Sub-national code (US 'CA', DE 'BY', AE 'DU', CA 'ON', AU 'NSW', IN 'KA'…). See list_calendars.",
      "title": "Subdivision"
    },
    "categories": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Holiday categories to count as non-working; default ['public']. Others per country: bank, government, school, optional, half_day, catholic…",
      "title": "Categories"
    },
    "weekend": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Override the weekend, e.g. ['FRI','SAT'] or ['SUN']. Default: the country's legal weekend.",
      "title": "Weekend"
    },
    "extra_holidays": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Additional non-working ISO dates (company closures, contract-specific days).",
      "title": "Extra Holidays"
    },
    "include_estimated_holidays": {
      "default": true,
      "description": "Count projected lunar/moon-sighted holidays as non-working (true) or ignore them until announced (false).",
      "title": "Include Estimated Holidays",
      "type": "boolean"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Language for holiday names where available (e.g. 'ar', 'de', 'en_US'). Default: the country's own.",
      "title": "Language"
    },
    "date": {
      "description": "ISO date YYYY-MM-DD.",
      "title": "Date",
      "type": "string"
    }
  },
  "required": [
    "date"
  ],
  "title": "is_working_dayArguments"
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true,
  "title": "is_working_dayDictOutput"
}
🟢add_working_days(country, market, subdivision, categories, weekend, ...)

Move N working days from a date, skipping weekends and holidays; returns the end date and every skipped day with its reason. Delivery promises, SLA clocks, payment terms in business days. Example: start_date '2026-12-23', days 5, country 'DE', subdivision 'BY'. Calendar selection: country (ISO 3166-1 alpha-2, e.g. 'SA', 'DE', 'US') or market (MIC, e.g. 'XNYS', 'XLON'); optional subdivision (state/province/emirate code from list_calendars), categories (e.g. ['public','bank']), weekend override (['FRI','SAT']), extra_holidays (company/contract dates). Weekend defaults to the country's legal weekend. Response: result plus data_confidence (high = fixed-date calendar; medium = a lunar/moon-sighted or projected holiday is involved, or the caller overrode the weekend), estimated_items[] naming each projected date, sources[] (public references behind the calendar), data_version and warnings[].

輸入結構描述

{
  "type": "object",
  "properties": {
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ISO 3166-1 alpha-2 country code. Required unless market is given.",
      "title": "Country"
    },
    "market": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Financial market MIC (XNYS, XLON, XETR, XHKG, XJPX, XSAU…) — trading/settlement calendar instead of a country.",
      "title": "Market"
    },
    "subdivision": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Sub-national code (US 'CA', DE 'BY', AE 'DU', CA 'ON', AU 'NSW', IN 'KA'…). See list_calendars.",
      "title": "Subdivision"
    },
    "categories": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Holiday categories to count as non-working; default ['public']. Others per country: bank, government, school, optional, half_day, catholic…",
      "title": "Categories"
    },
    "weekend": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Override the weekend, e.g. ['FRI','SAT'] or ['SUN']. Default: the country's legal weekend.",
      "title": "Weekend"
    },
    "extra_holidays": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Additional non-working ISO dates (company closures, contract-specific days).",
      "title": "Extra Holidays"
    },
    "include_estimated_holidays": {
      "default": true,
      "description": "Count projected lunar/moon-sighted holidays as non-working (true) or ignore them until announced (false).",
      "title": "Include Estimated Holidays",
      "type": "boolean"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Language for holiday names where available (e.g. 'ar', 'de', 'en_US'). Default: the country's own.",
      "title": "Language"
    },
    "start_date": {
      "description": "ISO date to count from.",
      "title": "Start Date",
      "type": "string"
    },
    "days": {
      "description": "Working days to add; negative counts backwards.",
      "title": "Days",
      "type": "integer"
    },
    "count_start_day": {
      "default": false,
      "description": "If true and start_date is a working day it counts as day 1. Default false (start the day after).",
      "title": "Count Start Day",
      "type": "boolean"
    }
  },
  "required": [
    "start_date",
    "days"
  ],
  "title": "add_working_daysArguments"
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true,
  "title": "add_working_daysDictOutput"
}
🟢working_days_between(country, market, subdivision, categories, weekend, ...)

Count working days between two dates with endpoint control; lists the non-working days. Leave cost, lateness, elapsed business days. Example: '2026-05-18' → '2026-06-05', country 'AE', inclusive 'both'. Calendar selection: country (ISO 3166-1 alpha-2, e.g. 'SA', 'DE', 'US') or market (MIC, e.g. 'XNYS', 'XLON'); optional subdivision (state/province/emirate code from list_calendars), categories (e.g. ['public','bank']), weekend override (['FRI','SAT']), extra_holidays (company/contract dates). Weekend defaults to the country's legal weekend. Response: result plus data_confidence (high = fixed-date calendar; medium = a lunar/moon-sighted or projected holiday is involved, or the caller overrode the weekend), estimated_items[] naming each projected date, sources[] (public references behind the calendar), data_version and warnings[].

輸入結構描述

{
  "type": "object",
  "properties": {
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ISO 3166-1 alpha-2 country code. Required unless market is given.",
      "title": "Country"
    },
    "market": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Financial market MIC (XNYS, XLON, XETR, XHKG, XJPX, XSAU…) — trading/settlement calendar instead of a country.",
      "title": "Market"
    },
    "subdivision": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Sub-national code (US 'CA', DE 'BY', AE 'DU', CA 'ON', AU 'NSW', IN 'KA'…). See list_calendars.",
      "title": "Subdivision"
    },
    "categories": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Holiday categories to count as non-working; default ['public']. Others per country: bank, government, school, optional, half_day, catholic…",
      "title": "Categories"
    },
    "weekend": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Override the weekend, e.g. ['FRI','SAT'] or ['SUN']. Default: the country's legal weekend.",
      "title": "Weekend"
    },
    "extra_holidays": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Additional non-working ISO dates (company closures, contract-specific days).",
      "title": "Extra Holidays"
    },
    "include_estimated_holidays": {
      "default": true,
      "description": "Count projected lunar/moon-sighted holidays as non-working (true) or ignore them until announced (false).",
      "title": "Include Estimated Holidays",
      "type": "boolean"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Language for holiday names where available (e.g. 'ar', 'de', 'en_US'). Default: the country's own.",
      "title": "Language"
    },
    "start_date": {
      "description": "ISO date.",
      "title": "Start Date",
      "type": "string"
    },
    "end_date": {
      "description": "ISO date; may be before start_date (negative result).",
      "title": "End Date",
      "type": "string"
    },
    "inclusive": {
      "default": "both",
      "description": "Which endpoints count: both (default) | start | end | none.",
      "enum": [
        "both",
        "start",
        "end",
        "none"
      ],
      "title": "Inclusive",
      "type": "string"
    }
  },
  "required": [
    "start_date",
    "end_date"
  ],
  "title": "working_days_betweenArguments"
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true,
  "title": "working_days_betweenDictOutput"
}
🟢roll_date(country, market, subdivision, categories, weekend, ...)

Apply a business-day convention (following, modified following, preceding, modified preceding) to a date on a country or market calendar — payment dates, coupon dates, settlement, SLA due dates. Example: date '2026-05-31', convention 'modified_following', market 'XLON'. Calendar selection: country (ISO 3166-1 alpha-2, e.g. 'SA', 'DE', 'US') or market (MIC, e.g. 'XNYS', 'XLON'); optional subdivision (state/province/emirate code from list_calendars), categories (e.g. ['public','bank']), weekend override (['FRI','SAT']), extra_holidays (company/contract dates). Weekend defaults to the country's legal weekend. Response: result plus data_confidence (high = fixed-date calendar; medium = a lunar/moon-sighted or projected holiday is involved, or the caller overrode the weekend), estimated_items[] naming each projected date, sources[] (public references behind the calendar), data_version and warnings[].

輸入結構描述

{
  "type": "object",
  "properties": {
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ISO 3166-1 alpha-2 country code. Required unless market is given.",
      "title": "Country"
    },
    "market": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Financial market MIC (XNYS, XLON, XETR, XHKG, XJPX, XSAU…) — trading/settlement calendar instead of a country.",
      "title": "Market"
    },
    "subdivision": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Sub-national code (US 'CA', DE 'BY', AE 'DU', CA 'ON', AU 'NSW', IN 'KA'…). See list_calendars.",
      "title": "Subdivision"
    },
    "categories": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Holiday categories to count as non-working; default ['public']. Others per country: bank, government, school, optional, half_day, catholic…",
      "title": "Categories"
    },
    "weekend": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Override the weekend, e.g. ['FRI','SAT'] or ['SUN']. Default: the country's legal weekend.",
      "title": "Weekend"
    },
    "extra_holidays": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Additional non-working ISO dates (company closures, contract-specific days).",
      "title": "Extra Holidays"
    },
    "include_estimated_holidays": {
      "default": true,
      "description": "Count projected lunar/moon-sighted holidays as non-working (true) or ignore them until announced (false).",
      "title": "Include Estimated Holidays",
      "type": "boolean"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Language for holiday names where available (e.g. 'ar', 'de', 'en_US'). Default: the country's own.",
      "title": "Language"
    },
    "date": {
      "description": "ISO date to adjust.",
      "title": "Date",
      "type": "string"
    },
    "convention": {
      "default": "following",
      "description": "Business-day convention: following | modified_following (ISDA: forward unless it crosses month end, then back) | preceding | modified_preceding.",
      "enum": [
        "following",
        "modified_following",
        "preceding",
        "modified_preceding"
      ],
      "title": "Convention",
      "type": "string"
    }
  },
  "required": [
    "date"
  ],
  "title": "roll_dateArguments"
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true,
  "title": "roll_dateDictOutput"
}
🟢compute_deadline(country, market, subdivision, categories, weekend, ...)

Compute the end of a period ('within 30 calendar days', '10 working days', '3 months') from a start date under explicit counting rules, roll it by the chosen convention when it lands on a non-working day, and return raw vs final deadline, skipped days and a step-by-step explanation plus a disclaimer. Pass the rules the contract/law states; defaults are the common ones. Example: start_date '2026-11-26', period 7, unit 'calendar_days', country 'GB'. Calendar selection: country (ISO 3166-1 alpha-2, e.g. 'SA', 'DE', 'US') or market (MIC, e.g. 'XNYS', 'XLON'); optional subdivision (state/province/emirate code from list_calendars), categories (e.g. ['public','bank']), weekend override (['FRI','SAT']), extra_holidays (company/contract dates). Weekend defaults to the country's legal weekend. Response: result plus data_confidence (high = fixed-date calendar; medium = a lunar/moon-sighted or projected holiday is involved, or the caller overrode the weekend), estimated_items[] naming each projected date, sources[] (public references behind the calendar), data_version and warnings[].

輸入結構描述

{
  "type": "object",
  "properties": {
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ISO 3166-1 alpha-2 country code. Required unless market is given.",
      "title": "Country"
    },
    "market": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Financial market MIC (XNYS, XLON, XETR, XHKG, XJPX, XSAU…) — trading/settlement calendar instead of a country.",
      "title": "Market"
    },
    "subdivision": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Sub-national code (US 'CA', DE 'BY', AE 'DU', CA 'ON', AU 'NSW', IN 'KA'…). See list_calendars.",
      "title": "Subdivision"
    },
    "categories": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Holiday categories to count as non-working; default ['public']. Others per country: bank, government, school, optional, half_day, catholic…",
      "title": "Categories"
    },
    "weekend": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Override the weekend, e.g. ['FRI','SAT'] or ['SUN']. Default: the country's legal weekend.",
      "title": "Weekend"
    },
    "extra_holidays": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Additional non-working ISO dates (company closures, contract-specific days).",
      "title": "Extra Holidays"
    },
    "include_estimated_holidays": {
      "default": true,
      "description": "Count projected lunar/moon-sighted holidays as non-working (true) or ignore them until announced (false).",
      "title": "Include Estimated Holidays",
      "type": "boolean"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Language for holiday names where available (e.g. 'ar', 'de', 'en_US'). Default: the country's own.",
      "title": "Language"
    },
    "start_date": {
      "description": "ISO date the period runs from (service, invoice, filing date…).",
      "title": "Start Date",
      "type": "string"
    },
    "period": {
      "description": "Length of the period; negative counts backwards.",
      "title": "Period",
      "type": "integer"
    },
    "unit": {
      "description": "calendar_days | working_days | months.",
      "enum": [
        "calendar_days",
        "working_days",
        "months"
      ],
      "title": "Unit",
      "type": "string"
    },
    "exclude_start_day": {
      "default": true,
      "description": "Day 1 is the day after start_date (true, the common convention) or start_date itself (false).",
      "title": "Exclude Start Day",
      "type": "boolean"
    },
    "convention": {
      "default": "following",
      "description": "What to do when the raw deadline lands on a non-working day. Default following (roll to the next working day); 'none' leaves it.",
      "enum": [
        "following",
        "modified_following",
        "preceding",
        "modified_preceding",
        "none"
      ],
      "title": "Convention",
      "type": "string"
    },
    "month_end_clamp": {
      "default": true,
      "description": "For months: clamp 31 Jan + 1 month to 28/29 Feb (true) or overflow into March (false).",
      "title": "Month End Clamp",
      "type": "boolean"
    }
  },
  "required": [
    "start_date",
    "period",
    "unit"
  ],
  "title": "compute_deadlineArguments"
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true,
  "title": "compute_deadlineDictOutput"
}
🟢list_holidays(country, market, subdivision, categories, weekend, ...)

All holidays of a year for a country/subdivision/categories or a market, each with local and English names, whether it is observed/shifted, projected (lunar), on a weekend, and whether it counts as non-working. Example: year 2027, country 'IN', subdivision 'KA'. Calendar selection: country (ISO 3166-1 alpha-2, e.g. 'SA', 'DE', 'US') or market (MIC, e.g. 'XNYS', 'XLON'); optional subdivision (state/province/emirate code from list_calendars), categories (e.g. ['public','bank']), weekend override (['FRI','SAT']), extra_holidays (company/contract dates). Weekend defaults to the country's legal weekend. Response: result plus data_confidence (high = fixed-date calendar; medium = a lunar/moon-sighted or projected holiday is involved, or the caller overrode the weekend), estimated_items[] naming each projected date, sources[] (public references behind the calendar), data_version and warnings[].

輸入結構描述

{
  "type": "object",
  "properties": {
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ISO 3166-1 alpha-2 country code. Required unless market is given.",
      "title": "Country"
    },
    "market": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Financial market MIC (XNYS, XLON, XETR, XHKG, XJPX, XSAU…) — trading/settlement calendar instead of a country.",
      "title": "Market"
    },
    "subdivision": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Sub-national code (US 'CA', DE 'BY', AE 'DU', CA 'ON', AU 'NSW', IN 'KA'…). See list_calendars.",
      "title": "Subdivision"
    },
    "categories": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Holiday categories to count as non-working; default ['public']. Others per country: bank, government, school, optional, half_day, catholic…",
      "title": "Categories"
    },
    "weekend": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Override the weekend, e.g. ['FRI','SAT'] or ['SUN']. Default: the country's legal weekend.",
      "title": "Weekend"
    },
    "extra_holidays": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Additional non-working ISO dates (company closures, contract-specific days).",
      "title": "Extra Holidays"
    },
    "include_estimated_holidays": {
      "default": true,
      "description": "Count projected lunar/moon-sighted holidays as non-working (true) or ignore them until announced (false).",
      "title": "Include Estimated Holidays",
      "type": "boolean"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Language for holiday names where available (e.g. 'ar', 'de', 'en_US'). Default: the country's own.",
      "title": "Language"
    },
    "year": {
      "description": "Calendar year.",
      "title": "Year",
      "type": "integer"
    }
  },
  "required": [
    "year"
  ],
  "title": "list_holidaysArguments"
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true,
  "title": "list_holidaysDictOutput"
}
🟢next_holiday(country, market, subdivision, categories, weekend, ...)

The next N holidays on or after a date with days_until and projection flags. Example: from_date '2026-11-01', country 'JP', count 3. Calendar selection: country (ISO 3166-1 alpha-2, e.g. 'SA', 'DE', 'US') or market (MIC, e.g. 'XNYS', 'XLON'); optional subdivision (state/province/emirate code from list_calendars), categories (e.g. ['public','bank']), weekend override (['FRI','SAT']), extra_holidays (company/contract dates). Weekend defaults to the country's legal weekend. Response: result plus data_confidence (high = fixed-date calendar; medium = a lunar/moon-sighted or projected holiday is involved, or the caller overrode the weekend), estimated_items[] naming each projected date, sources[] (public references behind the calendar), data_version and warnings[].

輸入結構描述

{
  "type": "object",
  "properties": {
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ISO 3166-1 alpha-2 country code. Required unless market is given.",
      "title": "Country"
    },
    "market": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Financial market MIC (XNYS, XLON, XETR, XHKG, XJPX, XSAU…) — trading/settlement calendar instead of a country.",
      "title": "Market"
    },
    "subdivision": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Sub-national code (US 'CA', DE 'BY', AE 'DU', CA 'ON', AU 'NSW', IN 'KA'…). See list_calendars.",
      "title": "Subdivision"
    },
    "categories": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Holiday categories to count as non-working; default ['public']. Others per country: bank, government, school, optional, half_day, catholic…",
      "title": "Categories"
    },
    "weekend": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Override the weekend, e.g. ['FRI','SAT'] or ['SUN']. Default: the country's legal weekend.",
      "title": "Weekend"
    },
    "extra_holidays": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Additional non-working ISO dates (company closures, contract-specific days).",
      "title": "Extra Holidays"
    },
    "include_estimated_holidays": {
      "default": true,
      "description": "Count projected lunar/moon-sighted holidays as non-working (true) or ignore them until announced (false).",
      "title": "Include Estimated Holidays",
      "type": "boolean"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Language for holiday names where available (e.g. 'ar', 'de', 'en_US'). Default: the country's own.",
      "title": "Language"
    },
    "from_date": {
      "description": "ISO date to search from (inclusive).",
      "title": "From Date",
      "type": "string"
    },
    "count": {
      "default": 1,
      "description": "How many upcoming holidays to return.",
      "title": "Count",
      "type": "integer"
    }
  },
  "required": [
    "from_date"
  ],
  "title": "next_holidayArguments"
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true,
  "title": "next_holidayDictOutput"
}
🟢list_calendars(country)

Discover calendars: without arguments, all 250 countries and 30 markets; with a country code, its legal weekend, subdivision codes, holiday categories, languages, year range and public sources. Free. Example: country 'US'. Response: result plus data_confidence (high = fixed-date calendar; medium = a lunar/moon-sighted or projected holiday is involved, or the caller overrode the weekend), estimated_items[] naming each projected date, sources[] (public references behind the calendar), data_version and warnings[].

輸入結構描述

{
  "type": "object",
  "properties": {
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Country code or market MIC for details (weekend, subdivisions, categories, languages, sources). Omit to list all 250 countries and 30 markets.",
      "title": "Country"
    }
  },
  "title": "list_calendarsArguments"
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true,
  "title": "list_calendarsDictOutput"
}

社群

為此伺服器評分

證據

近期觀測

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