DayCount logo
DayCountMCP server by Dude Lemon

Business days calculator, and an MCP server that counts holidays too.

DayCount is a free business days calculator and holiday MCP server. It counts working days between dates, adds business days or business hours for deadlines, checks whether a date is a working day, and lists public holidays, upcoming holidays and long weekends for about 200 countries and their regions. It also plans recurring dates (the last working day of each month, say), shows working days month by month, and does exact calendar arithmetic. Dates can be written in words, several countries can count together for settlement, and finance tools adjust payment dates and give day count fractions.

Free. No account or API key. Nothing to install.

DayCount add_business_days: 3 business days after 22 December 2026 in Mauritius is Monday 28 December, skipping Christmas Day and the weekend
At a glanceMCP serverplugins.dudelemon.cloud/daycount/mcp16 toolsNothing to install

Free business days calculator

Business days calculator, for any weekend.

Count the working days between two dates, or add business days to a date, with the weekend your country uses. DayCount, the MCP server below, also takes public holidays off for about 200 countries.

Counted from the start date up to but not including the end date. Public holidays are not taken off here; DayCount, the MCP server below, takes them off for about 200 countries.

See it work

DayCount, in real use.

5 screens from real calls to DayCount. Every value shown is what the tool returned; click a screen to open it full size.

DayCount add_business_days: 3 business days after 22 December 2026 in Mauritius is Monday 28 December, skipping Christmas Day and the weekend
Business days added exactly, with every holiday it skipped

How it works

Dates done by counting, not by guessing.

Language models predict text; they do not count days. DayCount walks the calendar one day at a time, skips the country's weekend and holidays, and says what it skipped. Three business days after Tuesday 22 December 2026 in Mauritius:

  1. Tue22Start
  2. Wed23Day 1
  3. Thu24Day 2
  4. Fri25Christmas Day
  5. Sat26Weekend
  6. Sun27Weekend
  7. Mon28Day 3, the answer

Weekends

Weekends around the world.

Saturday and Sunday is the most common weekend, not the only one. DayCount uses each country's usual weekend; the United Arab Emirates moved to Saturday and Sunday in 2022, while Saudi Arabia keeps Friday and Saturday. You can always pass your own.

MonTueWedThuFriSatSun
Saturday and SundayMost countries, including the United States, the United Kingdom, the United Arab Emirates and MauritiusDays off: Saturday and SundayOffOff
Friday and SaturdaySaudi Arabia, Qatar, Kuwait, Bahrain, Oman, Egypt, Jordan, Iraq, Israel, Algeria, Bangladesh and othersDays off: Friday and SaturdayOffOff
Thursday and FridayAfghanistanDays off: Thursday and FridayOffOff
Friday and SundayBruneiDays off: Friday and SundayOffOff
Friday onlyIran and DjiboutiDays off: FridayOff

Working days

How many working days there are in 2027.

From count_business_days for the whole of 2027 in each country, public holidays only. Pass a region for state and provincial holidays, or holiday_types to count bank or school holidays too.

CountryWorking days in 2027Weekend daysPublic holidays on working days
India2581043
Germany2561045
Australia2551046
Singapore2551046
United Kingdom2541047
France2541047
Mauritius2521049
United Arab Emirates2521049
Saudi Arabia252105 (Friday and Saturday)8
United States24910412

For developers

A public holidays API your assistant can call.

DayCount is an MCP server, so assistants call it directly. It is also a plain JSON-RPC endpoint over HTTPS, so you can try a call from a terminal. This one is real; the reply is cut after the first holidays.

Request
curl https://plugins.dudelemon.cloud/daycount/mcp \
  -H 'Content-Type: application/json' \
  -H 'MCP-Protocol-Version: 2025-06-18' \
  -d '{"jsonrpc": "2.0", "id": 1,
       "method": "tools/call",
       "params": {
         "name": "list_holidays",
         "arguments": { "country": "MU",
                        "year": 2027 } } }'
Reply, structuredContent
{
  "country": "MU",
  "place": "Mauritius",
  "year": 2027,
  "count": 15,
  "holidays": [
    { "date": "2027-01-01", "weekday": "Friday",
      "name": "New Year’s Day", "type": "public" },
    { "date": "2027-01-02", "weekday": "Saturday",
      "name": "New Year Holiday", "type": "public" },
    { "date": "2027-01-20", "weekday": "Wednesday",
      "name": "Thaipoosam Cavadee", "type": "public" },
    ...

Install

Install DayCount.

DayCount runs on our servers, so there is nothing to download. Add its address to your assistant, and its 16 tools appear the next time you start a conversation.

Terminal
claude mcp add --transport http daycount https://plugins.dudelemon.cloud/daycount/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Its tools, and what each returns.

count_business_days
Working days between two dates, with the holidays and weekends it skipped.
add_business_days
A deadline a number of working days ahead or back.
add_business_hours
An SLA deadline in business hours, in a time zone, across nights, weekends and holidays.
count_business_hours
Business hours between two moments.
is_business_day
Whether a date is a working day, and if not, why and the next one.
list_holidays
Public holidays for a country and region in a year, with observed dates.
upcoming_holidays
The next holidays from a date.
find_long_weekends
Long weekends in a year, and the days off that make bridges.
working_days_by_month
Working days in each month of a year, for payroll and planning.
list_recurring_dates
Recurring dates such as the 15th or the last working day of each month, moved off holidays.
date_info
Weekday, ISO week, day of year, quarter and whether the year is a leap year.
date_difference
The exact gap between two dates in years, months, weeks and days.
add_calendar_time
A date plus or minus years, months, weeks and days, handling month ends.
find_country
The country and region codes DayCount accepts.
adjust_date
Settlement and payment dates: T+2, 6M and other tenors with modified following and the end-of-month rule, on one or several calendars.
day_count_fraction
Year fractions under ACT/360, ACT/365F, ACT/ACT ISDA and the 30/360 family, with interest.

Ask in your own words

Say what you need. DayCount does the exact part.

You do not call DayCount’s tools by name. Ask your assistant, and it calls them when the question needs live, exact data.

  • What date is 10 business days from today in Germany?
  • Which holidays are coming up for our teams in the US, India and Mauritius?
  • Where are the best bridge days in the UK next year?
  • How many working days are there in March in Mauritius?
  • Is 27 November a working day in the UAE?
  • List the bank holidays in Scotland next year.

FAQ

DayCount, answered

Anything we have not answered here, ask us directly. A senior engineer replies.

Contact us
Where does the holiday data come from?

From the open date-holidays project (data under CC BY-SA 4.0), which covers about 200 countries and their states and provinces. Holidays set by the moon or announced each year can move by a day, so check the official notice for legal deadlines.

Can I count bank holidays or school holidays?

Yes. By default only public holidays count as days off; pass holiday_types to add bank, school, optional or observance days.

What if our weekend is different?

Each country uses its usual weekend, and you can pass your own, for example Friday only or Saturday only.

Is DayCount free?

Yes. DayCount is free and needs no account or API key.

How do I install DayCount?

Add https://plugins.dudelemon.cloud/daycount/mcp to your assistant as a remote MCP server. In Claude Code run claude mcp add --transport http daycount https://plugins.dudelemon.cloud/daycount/mcp; in the Claude apps add it as a custom connector with no sign-in; in Cursor or VS Code add it to mcp.json.

Does DayCount know regional holidays?

Yes. Pass a region code, such as SCT for Scotland, BY for Bavaria or CA for California, and the regional holidays are added to the national ones.