# Date & Business Day Calculator AI Agent Connect

> Date & Business Day Calculator MCP handles the heavy lifting for temporal math. It lets your AI agent calculate exact business days, account for custom holiday calendars, and determine how partial workdays impact your timelines. Instead of guessing how many working days are left in a month, your agent gets the exact number instantly.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_bAJgq7ISVzOIH4tulyCQzlOptcygPIobYnVOXLeS/ai-agent-connect
- **Tags:** date, duration, business-days, holidays, temporal

## Description

You shouldn't have to worry about your AI agent hallucinating date math. This MCP gives your agent a reliable way to handle time. Whether you are calculating project timelines or checking if a specific date falls on a weekend, this tool provides the precision you need. You can use it to find the exact number of working days between two dates while automatically skipping weekends and holidays. If your workflow involves partial workdays, you can adjust counts based on specific hourly rules to see how they change your total duration. It also lets your agent inspect any specific date to see if it is a holiday or a weekend. It is a straightforward way to bring mathematical certainty to scheduling and time-based logic in your agent workflows.

## Tools

### calculate_calendar_duration
This tool finds the total number of calendar days between two specific dates.

### calculate_partial_day_impact
Use this to see how specific time-of-day rules for partial working days change your total duration.

### calculate_business_duration
This tool calculates working days between two dates by automatically accounting for weekends and holidays.

### get_date_details
This tool checks a specific date to see if it is a weekend, a holiday, or a standard business day.

## Prompt Examples

**Prompt:** 
```
How many business days are between 2024-01-01 and 2024-01-10, assuming 2024-01-01 is a holiday?
```

**Response:** 
```
There are 7 business days between those dates.
```

**Prompt:** 
```
Is 2024-12-25 a business day if it is in my holiday calendar?
```

**Response:** 
```
No, 2024-12-25 is a holiday.
```

**Prompt:** 
```
Calculate the total calendar days from 2024-05-01 to 2024-05-05 inclusive.
```

**Response:** 
```
There are 5 calendar days.
```

## Capabilities

### Business Day Logic
Your agent calculates working days while skipping weekends and holidays.

### Holiday Awareness
Your agent checks specific dates against holiday calendars to avoid scheduling errors.

### Partial Day Adjustments
Your agent modifies duration counts based on specific hourly requirements.

### Date Inspection
Your agent identifies if a date is a weekend or a holiday.

### Calendar Math
Your agent finds the total number of days between any two dates.

## Use Cases

### Project Timeline Estimation
An agent calculates how many actual working days a task will take by skipping weekends.

### SLA Tracking
Your agent checks if a response was sent within the required business day window.

### Holiday Scheduling
Your agent identifies upcoming holidays to prevent scheduling meetings on non-working days.

### Resource Planning
You use your agent to calculate the impact of partial workdays on total project duration.

## Benefits

- Eliminates date math errors in AI responses.
- Automates the exclusion of weekends and holidays from work counts.
- Provides granular control over partial day impacts.
- Removes the need for manual calendar checking.

## How It Works

Connecting this MCP to your AI client gives your agent immediate access to temporal math tools.

1. Connect your AI client to Vinkius.
2. Select the Date & Business Day Calculator MCP.
3. Your agent receives the tool definitions.
4. Ask your agent to perform a date or duration calculation.
5. Your agent executes the specific tool to get a precise answer.

## Frequently Asked Questions

**How does this MCP handle holidays?**
Your agent uses the business duration tool to skip holidays defined in the calendar logic.

**Can I use this with Claude or Cursor?**
Yes, this MCP works with any MCP-compatible client including Claude, Cursor, and Windsurf.

**Does it calculate weekends?**
Yes, the business duration tool automatically accounts for weekends when calculating working days.

**What is a partial day impact?**
It is a calculation that adjusts the total duration based on specific hourly rules for working days.

**Do I need to host this myself?**
No, Vinkius hosts and manages the MCP so it is ready to use immediately after you connect.

**How are holidays handled?**
The server does not assume any specific jurisdiction's holidays. You must provide a list of holiday dates via the `holidayCalendar` parameter in tools like `calculate_business_duration`.

**Can I calculate partial working days?**
Yes, you can use `calculate_partial_day_impact` to determine how many days meet a specific minimum hour requirement.

**What is the difference between inclusive and exclusive endpoints?**
Inclusive endpoints include both the start and end dates in the count, whereas exclusive endpoints only count the days between them.
